]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
Firewall wasn't acknowledging new properties, only ones that were created at
authorKen Barber <ken@bob.sh>
Wed, 15 Jun 2011 15:14:10 +0000 (17:14 +0200)
committerKen Barber <ken@bob.sh>
Wed, 15 Jun 2011 15:14:10 +0000 (17:14 +0200)
commit34b7c997d325abca72a98043052832ab6513ee14
tree4b1e8879183f74a1cba0793c7ab61bc365301eeb
parent0273e4a8e31a7bd94e4cf640447ad8d8138af22e
Firewall wasn't acknowledging new properties, only ones that were created at
resource creation time. This patch fixes that by analyzing the resource_map
hash.

The proto property needs to be defaulted to 'all' when it doesn't exist as well
to stop the provider from trying to change it each time.
README.markdown [moved from README.md with 100% similarity]
lib/puppet/provider/firewall.rb
lib/puppet/provider/firewall/iptables.rb
lib/puppet/type/firewall.rb