]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(#10162) add firewallchain type and iptables_chain provider
authorDaniel Black <daniel.black@openquery.com>
Thu, 1 Mar 2012 01:46:02 +0000 (12:46 +1100)
committerKen Barber <ken@bob.sh>
Mon, 12 Mar 2012 06:25:04 +0000 (23:25 -0700)
commit005b8be88abc613b8a5b021c781efd6637451d5f
tree88a36b158f75d1a3a794b92ef72f2bc285805bf4
parent184d77ad5faa38e61c7cf0aca62b5fea7b9e506f
(#10162) add firewallchain type and iptables_chain provider

Add firewallchain type and iptables_chain provider. This is required
to support the firewall class and it is envisaged that an autorequire
will be used to automatically require the user chain. This type can also set
policies on inbuilt chains.

Provider covers ebtables (optional), iptables, ip6tables.
lib/puppet/provider/firewallchain/iptables_chain.rb [new file with mode: 0644]
lib/puppet/type/firewallchain.rb [new file with mode: 0644]
spec/unit/puppet/provider/iptables_chain_spec.rb [new file with mode: 0755]
spec/unit/puppet/type/firewallchain_spec.rb [new file with mode: 0755]