Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

firewall_rules (9) Versions 0.1.1

Configures firewall rules through attributes.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'firewall_rules', '= 0.1.1'
cookbook 'firewall_rules', '= 0.1.1', :supermarket
knife cookbook site install firewall_rules
knife cookbook site download firewall_rules
README
Dependencies
Quality

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"
        }
    }
  }
}

Dependent cookbooks

firewall ~> 2.5.4

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.1 passed this metric

License Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms 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 http://github.com/user/repo, and your repo must contain a TESTING.md file