]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
remove rulenum param
authorJonathan Boyett <jonathan@failingservers.com>
Fri, 13 May 2011 20:40:37 +0000 (13:40 -0700)
committerJonathan Boyett <jonathan@failingservers.com>
Fri, 13 May 2011 20:40:37 +0000 (13:40 -0700)
lib/puppet/type/firewall.rb

index 1a74280df6e81a2fcc99fb47621bae2db88b452d..2defbbcd0f211883c8c049cf4d4e9a45f7467512 100644 (file)
@@ -52,15 +52,6 @@ Puppet::Type.newtype(:firewall) do
     end
   end
 
-  newproperty(:rulenum) do
-    desc "A read only parameter which indicates the row number for this
-      rule."
-
-    validate do
-      fail "rulenum is read-only"
-    end
-  end
-
   newproperty(:chain) do
     desc "The value for the iptables -A parameter.
       Possible values are: 'INPUT', 'FORWARD', 'OUTPUT', 'PREROUTING', 'POSTROUTING'.