Skip to content

Instantly share code, notes, and snippets.

@jasongrimes
Created June 5, 2012 21:14
Show Gist options
  • Save jasongrimes/2878005 to your computer and use it in GitHub Desktop.
Save jasongrimes/2878005 to your computer and use it in GitHub Desktop.
Sample Chef role description for a base Ubuntu server.
name "base"
description "Base role applied to all nodes."
run_list(
"recipe[users::sysadmins]",
"recipe[sudo]",
"recipe[apt]",
"recipe[git]",
"recipe[build-essential]",
"recipe[vim]"
)
override_attributes(
:authorization => {
:sudo => {
:users => ["ubuntu", "vagrant"],
:passwordless => true
}
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment