Skip to content

Instantly share code, notes, and snippets.

@densone
Created October 27, 2010 02:50
Show Gist options
  • Save densone/648330 to your computer and use it in GitHub Desktop.
Save densone/648330 to your computer and use it in GitHub Desktop.
shorewall-role
name "appserver"
description "this is a sample chef role for an app server"
default_attributes "config" => {
"firewall" => {
"rules" => ["ACCEPT net fw tcp 80","ACCEPT net fw tcp 8080",ACCEPT net fw tcp 22"]
}
}
run_list(
"recipe[ror]",
"recipe[shorewall]"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment