Install and configure swftp the Chef way.
- python cookbook
| 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 |
Just include swftp in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[swftp]"
]
}- Fork the repository on GitHub
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using GitHub
Authors: Kevin Landreth
License: MIT (See LICENSE file)