An open API service indexing awesome lists of open source software.

https://github.com/softlayer/chef-swftp


https://github.com/softlayer/chef-swftp

Last synced: 5 months ago
JSON representation

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)