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

Select Status

RSS

ipset (4) Versions 0.2.0

Installs/Configures ipset on Linux

Policyfile
Berkshelf
Knife
cookbook 'ipset', '= 0.2.0', :supermarket
cookbook 'ipset', '= 0.2.0'
knife supermarket install ipset
knife supermarket download ipset
README
Dependencies
Changelog
Quality 0%

Description

Installs and configures ipset on
Linux. Based on the iptables cookbook from Opscode.

Supported Platforms

Debian / Ubuntu only at the moment.

Usage

Include ipset in your node's run_list to ensure ipset is
installed and the rebuild-ipset script is on the system. The
ipset LWRP will then be available:

ipset "some-nets" do
  type "hash:net"
  action :create
  entries(
    "127.1.0.0/16" => {
      comment: "local-net",
      nomatch: true,
    },

    "127.2.0.0/16" => {
      comment: "other-net",
      nomatch: false,
    },
  )
end

ipset 'custom-set' do
  source 'my_set.erb'
  cookbook 'ipset_test'
  options maxelem: 4096
  action :create
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.2.0

Remove ipset_entry LWRP. Entries are now passed in a hash directly
to the ipset resource.

0.1.0

Initial release of ipset

Foodcritic Metric
            

0.2.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/f2a7783443424203f4f69576/ipset/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/f2a7783443424203f4f69576/ipset/metadata.rb:1