cookbook 'ipset', '~> 0.2.2'
ipset (4) Versions 0.2.2 Follow1
Installs/Configures ipset on Linux
cookbook 'ipset', '~> 0.2.2', :supermarket
knife supermarket install ipset
knife supermarket download ipset
Description
WARNING This is a work-in-progress, and is pretty broken in terms
of updating sets currently. A fixed 1.0 version is coming soon.
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.1
Add flush
command to generated save file. Otherwise, the destroy
command can fail with nested lists. This is actually a more general
problem that needs to be fixed by creating temporary sets and swaping
them with the existing ones during an update.
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
Collaborator Number Metric
0.2.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.2 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.2.2 passed this metric
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 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.2.2 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 include a tag that matches this cookbook version number
0.2.2 failed this metric
0.2.2 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.2.2 passed this metric
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 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.2.2 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 include a tag that matches this cookbook version number
0.2.2 passed this metric
0.2.2 passed this metric
Testing File Metric
0.2.2 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.2.2 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 include a tag that matches this cookbook version number
0.2.2 failed this metric
0.2.2 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 include a tag that matches this cookbook version number