cookbook 'ipset', '= 0.2.0'
ipset (4) Versions 0.2.0 Follow1
Installs/Configures ipset on Linux
cookbook 'ipset', '= 0.2.0', :supermarket
knife supermarket install ipset
knife supermarket download ipset
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
0.2.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/f2a7783443424203f4f69576/ipset/metadata.rb:1