Skip to content

Instantly share code, notes, and snippets.

@ctdk
Created March 27, 2012 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctdk/2218099 to your computer and use it in GitHub Desktop.
Save ctdk/2218099 to your computer and use it in GitHub Desktop.
firewall role json
{
"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