cookbook 'swftp', '~> 1.0.0', :supermarket
swftp (1) Versions 1.0.0 Follow0
Installs/Configures swftp
cookbook 'swftp', '~> 1.0.0'
knife supermarket install swftp
knife supermarket download swftp
swftp Cookbook
Install and configure swftp the chef way.
Requirements
No addional recipe requirements are needed
Attributes
TODO: List you cookbook attributes here.
e.g.
swftp::default
<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['swftp']['ftp']['enabled']</tt></td> <td>Boolean</td> <td>whether to run the FTP</td> <td><tt>false</tt></td> </tr> <tr> <td><tt>['swftp']['ftp']['port']</tt></td> <td>Integer</td> <td>Port for FTP to listen on</td> <td><tt>5021</tt></td> </tr> <tr> <td><tt>['swftp']['sftp']['enabled']</tt></td> <td>Boolean</td> <td>whether to run the sFTP</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>['swftp']['sftp']['port']</tt></td> <td>Integer</td> <td>Port for sFTP to listen on</td> <td><tt>5022</tt></td> </tr> <tr> <td><tt>['swftp']['auth_url']</tt></td> <td>String</td> <td>Swift auth url</td> <td><tt>http://127.0.0.1:8080/auth/v1.0</tt></td> </tr> <tr> <td><tt>['swftp']['session_connections']</tt></td> <td>Integer</td> <td>Maximum number of connections a session can consume</td> <td><tt>10</tt></td> </tr> <tr> <td><tt>['swftp']['max_connections']</tt></td> <td>Integer</td> <td>Number of swift persistent backend connections to pool request across</td> <td><tt>20</tt></td> </tr> <tr> <td><tt>['swftp']['connection_timeout']</tt></td> <td>Integer</td> <td>timeout for the persistent connections</td> <td><tt>240</tt></td> </tr> <tr> <td><tt>['swftp']['statsd']['enabled']</tt></td> <td>Boolean</td> <td>Enable statsd support</td> <td><tt>false</tt></td> </tr> <tr> <td><tt>['swftp']['statsd']['host']</tt></td> <td>String</td> <td>Host to pumble with stats</td> <td><tt>127.0.0.1</tt></td> </tr> <tr> <td><tt>['swftp']['statsd']['port']</tt></td> <td>Integer</td> <td>Port to pumble with stats</td> <td><tt>8125</tt></td> </tr> </table>
Usage
swftp::default
Just include swftp
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[swftp]"
]
}
Contributing
- 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
License and Authors
Authors: Kevin Landreth License: MIT
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
License Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
swftp should declare what platform(s) it supports.
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
License Metric
1.0.0 passed this metric
Publish Metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
swftp should declare what platform(s) it supports.
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric
1.0.0 passed this metric
Supported Platforms Metric
1.0.0 failed this metric
swftp should declare what platform(s) it supports.
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 passed this metric
1.0.0 passed this metric