diff --git a/resources/policy.rb b/resources/policy.rb index 0c988f1..cca880c 100644 --- a/resources/policy.rb +++ b/resources/policy.rb @@ -1,6 +1,6 @@ actions :set -attribute :chain, :name_attribute => true, :equal_to => ["INPUT", "FORWARD", "OUTPUT", "PREROUTING", "POSTROUTING"], :default => "INPUT" +attribute :chain, :name_attribute => true, :equal_to => ["INPUT", "FORWARD", "OUTPUT", "PREROUTING", "POSTROUTING"] attribute :table, :equal_to => ["filter", "nat", "mangle", "raw"], :default => "filter" attribute :policy, :equal_to => ["ACCEPT", "DROP"], :required => true attribute :ip_version, :equal_to => [:ipv4, :ipv6, :both], :default => :ipv4