Update the firewall cookbook to the latest version
This gives us comments from the named resources
This commit is contained in:
@@ -67,8 +67,8 @@ module FirewallCookbook
|
||||
end
|
||||
end
|
||||
|
||||
def ubuntu?(current_node)
|
||||
current_node['platform'] == 'ubuntu'
|
||||
def debian?(current_node)
|
||||
current_node['platform_family'] == 'debian'
|
||||
end
|
||||
|
||||
def build_rule_file(rules)
|
||||
@@ -96,5 +96,10 @@ module FirewallCookbook
|
||||
|
||||
false
|
||||
end
|
||||
|
||||
def default_description(new_resource)
|
||||
new_resource.description ||
|
||||
"Generated by chef from #{cookbook_name}[#{recipe_name}] by #{new_resource}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user