From: Aron Parsons Date: Mon, 29 Sep 2014 00:17:07 +0000 (-0400) Subject: fix bridge value validation X-Git-Tag: 1.4.0~12^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9b70d0bb5a009f94e5d4ab8734c3ad139b98c522;p=puppet-modules%2Fpuppetlabs-firewall.git fix bridge value validation --- diff --git a/lib/puppet/type/firewall.rb b/lib/puppet/type/firewall.rb index 67060c3..ebfc3b8 100644 --- a/lib/puppet/type/firewall.rb +++ b/lib/puppet/type/firewall.rb @@ -1204,9 +1204,9 @@ Puppet::Type.newtype(:firewall) do self.fail "Parameter 'stat_probability' requires 'stat_mode' to be set to 'random'" end - if value(:bridged) + if value(:bridge) unless value(:chain).to_s =~ /FORWARD/ - self.fail "Parameter isbridged only applies to the FORWARD chain" + self.fail "Parameter bridge only applies to the FORWARD chain" end end