cookbook 'firewall_rules', '= 0.1.7'
firewall_rules (9) Versions 0.1.7 Follow5
Configures firewall rules through attributes.
cookbook 'firewall_rules', '= 0.1.7', :supermarket
knife supermarket install firewall_rules
knife supermarket download firewall_rules
Firewall Rules
Configures firewall rules through attributes. Wraps the firewall cookbook.
Supports:
- amazon
- centos
- debian
- fedora
- oracle
- redhat
- scientific
- ubuntu
- windows
Usage
firewall_rules::default
Just include firewall_rules
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[firewall_rules]" ] }
Attributes
Rules:
Define firewall rules.
Default Value:
[]
Ruby usage:
node['firewall']['rules'] = [ "http" => [ "port" => 80, "protocol" => "tcp", "command" => "allow" ], "https" => [ "port" => 443, "protocol" => "tcp", "command" => "allow" ], "nrpe" => [ "port" => 5666, "protocol" => "tcp", "command" => "allow" ] ]
JSON usage:
{ "firewall": { "rules": { "http": { "port": 80, "protocol": "tcp", "command": "allow" }, "https": { "port": 443, "protocol": "tcp", "command": "allow" }, "nrpe": { "port": 5666, "protocol": "tcp", "command": "allow" } } } }
Allow VRRP:
Allow the VRRP protocol.
Default Value:
false
Ruby usage:
node['firewall']['allow_vrrp'] = true
JSON usage:
{ "firewall": { "allow_vrrp": true } }
Dependent cookbooks
firewall ~> 2.5.4 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.7 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.7 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.7 passed this metric
License Metric
0.1.7 passed this metric
No Binaries Metric
0.1.7 passed this metric
Testing File Metric
0.1.7 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.7 passed this metric
0.1.7 failed this metric
0.1.7 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.7 passed this metric
License Metric
0.1.7 passed this metric
No Binaries Metric
0.1.7 passed this metric
Testing File Metric
0.1.7 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.7 passed this metric
0.1.7 passed this metric
0.1.7 passed this metric
No Binaries Metric
0.1.7 passed this metric
Testing File Metric
0.1.7 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.7 passed this metric
0.1.7 passed this metric
0.1.7 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.7 passed this metric
0.1.7 passed this metric