]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(#11443) simple fix of the error message for allowed values of the jump property
authorDaniel Black <grooverdan@users.sourceforge.net>
Thu, 29 Dec 2011 05:11:50 +0000 (16:11 +1100)
committerDaniel Black <grooverdan@users.sourceforge.net>
Thu, 29 Dec 2011 05:11:50 +0000 (16:11 +1100)
The condition on jump says its allowed accept, reject and drop. Update
the error message to say the same thing

lib/puppet/type/firewall.rb

index de3889819ee711ac761d571e89cb66f368f6ea53..40e3be41cb66566520b4ee36dead7e6852dc5a3c 100644 (file)
@@ -264,7 +264,7 @@ Puppet::Type.newtype(:firewall) do
 
       if ["accept","reject","drop"].include?(value.downcase)
         raise ArgumentError, <<-EOS
-          Jump destination should not be one of ACCEPT, REJECT or DENY. Use
+          Jump destination should not be one of ACCEPT, REJECT or DROP. Use
           the action property instead.
         EOS
       end