https://github.com/softlayer/chef-swftp
https://github.com/softlayer/chef-swftp
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/softlayer/chef-swftp
- Owner: softlayer
- License: mit
- Created: 2013-04-25T15:12:47.000Z (almost 13 years ago)
- Default Branch: stable
- Last Pushed: 2018-10-30T16:10:05.000Z (over 7 years ago)
- Last Synced: 2024-05-09T17:09:57.059Z (almost 2 years ago)
- Language: Ruby
- Size: 173 KB
- Stars: 2
- Watchers: 16
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
swftp Cookbook
==============
Install and configure [swftp](https://github.com/softlayer/swftp) the Chef way.
Requirements
------------
- [python](https://github.com/opscode-cookbooks/python) cookbook
Attributes
----------
#### swftp::default
Key
Type
Description
Default
['swftp']['ftp']['enabled']
Boolean
Whether to run the FTP
false
['swftp']['ftp']['port']
Integer
Port for FTP to listen on
5021
['swftp']['sftp']['enabled']
Boolean
Whether to run the sFTP
true
['swftp']['sftp']['port']
Integer
Port for sFTP to listen on
5022
['swftp']['auth_url']
String
Swift auth url
http://127.0.0.1:8080/auth/v1.0
['swftp']['session_connections']
Integer
Maximum number of connections a session can consume
10
['swftp']['max_connections']
Integer
Number of swift persistent backend connections to pool request across
20
['swftp']['connection_timeout']
Integer
Timeout for the persistent connections
240
['swftp']['statsd']['enabled']
Boolean
Enable statsd support
false
['swftp']['statsd']['host']
String
Host to pumble with stats
127.0.0.1
['swftp']['statsd']['port']
Integer
Port to pumble with stats
8125
Usage
-----
#### swftp::default
Just include `swftp` in your node's `run_list`:
```json
{
"name":"my_node",
"run_list": [
"recipe[swftp]"
]
}
```
Contributing
------------
1. Fork the repository on GitHub
2. Create a named feature branch (like `add_component_x`)
3. Write your change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using GitHub
License and Authors
-------------------
Authors: Kevin Landreth
License: MIT (See LICENSE file)