cookbook 'shadowsocks', '~> 0.1.1'
shadowsocks (2) Versions 0.1.1 Follow0
Installs/Configures shadowsocks
cookbook 'shadowsocks', '~> 0.1.1', :supermarket
knife supermarket install shadowsocks
knife supermarket download shadowsocks
shadowsocks Cookbook
Install shadowsocks on your server.
This cookbook will create a system service "ssserver", while the configuration file is in /etc/shadowsocks.json
.
Requirements
Platforms
- Ubuntu
- Debian
Chef
- Chef 12.0 or later
Cookbooks
-
poise-service
- for create a system service
Attributes
shadowsocks::default
-
node['shadowsocks']['server_port']
- Shadowsocks server port. Default is8388
. -
node['shadowsocks']['method']
- Shadowsocks encrypt method. Default isaes-256-cfb
. -
node['shadowsocks']['password']
- Shadowsocks password. Default ispass
.
Usage
shadowsocks::default
Just include shadowsocks
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[shadowsocks]" ] }
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:: jccode
Dependent cookbooks
poise-service ~> 1.5.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
shadowsocks CHANGELOG
This file is used to list changes made in each version of the shadowsocks cookbook.
0.1.0
- [jccode] - Initial release of shadowsocks
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 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
Foodcritic Metric
0.1.1 failed this metric
FC008: Generated cookbook metadata needs updating: shadowsocks/metadata.rb:2
FC008: Generated cookbook metadata needs updating: shadowsocks/metadata.rb:3
FC066: Ensure chef_version is set in metadata: shadowsocks/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: shadowsocks/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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 include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 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
Foodcritic Metric
0.1.1 failed this metric
FC008: Generated cookbook metadata needs updating: shadowsocks/metadata.rb:2
FC008: Generated cookbook metadata needs updating: shadowsocks/metadata.rb:3
FC066: Ensure chef_version is set in metadata: shadowsocks/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: shadowsocks/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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 include a tag that matches this cookbook version number
0.1.1 failed this metric
FC008: Generated cookbook metadata needs updating: shadowsocks/metadata.rb:3
FC066: Ensure chef_version is set in metadata: shadowsocks/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: shadowsocks/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 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
0.1.1 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 include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 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 include a tag that matches this cookbook version number