cookbook 'ipset', '= 0.1.0'
ipset (4) Versions 0.1.0 Follow1
Installs/Configures ipset on Linux
cookbook 'ipset', '= 0.1.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 rebuild-ipset
script is on the system. The ipset
and ipset_entry
LWRPs will then be available:
ipset "some-hosts" do type "hash:ip" options netmask: 30, maxelem: 512, timeout: 86400 action :create end ipset_entry "local-host" do set "some-hosts" entry "127.0.0.2" options nomatch: false, timeout: 43200 end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of ipset
Foodcritic Metric
0.1.0 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/c3b80bbe44e8d62fe6ec724e/ipset/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/c3b80bbe44e8d62fe6ec724e/ipset/metadata.rb:1
0.1.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/c3b80bbe44e8d62fe6ec724e/ipset/metadata.rb:1