Initial Chef repository
This commit is contained in:
10
cookbooks/firewall/libraries/resource_firewall.rb
Normal file
10
cookbooks/firewall/libraries/resource_firewall.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
require 'poise'
|
||||
|
||||
class Chef
|
||||
class Resource::Firewall < Resource
|
||||
include Poise(:container => true)
|
||||
|
||||
actions(:enable, :disable, :flush, :save)
|
||||
attribute(:log_level, :kind_of => [Symbol, String], :equal_to => [:low, :medium, :high, :full, 'low', 'medium', 'high', 'full'], :default => :low)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user