Created
March 27, 2012 17:16
-
-
Save ctdk/2218099 to your computer and use it in GitHub Desktop.
firewall role json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "firewall-general", | |
"description": "General firewall rules", | |
"json_class": "Chef::Role", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"firewall": { | |
"rules": [ | |
{ | |
"internal": { | |
"action": "allow", | |
"interface": "eth1" | |
}, | |
"everything": { | |
"action": "deny" | |
} | |
} | |
] | |
} | |
}, | |
"chef_type": "role", | |
"run_list": [ | |
"role[basic]", | |
"recipe[firewall]", | |
"recipe[ufw]" | |
], | |
"env_run_lists": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment