Skip to content

Instantly share code, notes, and snippets.

@Gurpartap
Created July 29, 2012 23:25
Show Gist options
  • Save Gurpartap/3202537 to your computer and use it in GitHub Desktop.
Save Gurpartap/3202537 to your computer and use it in GitHub Desktop.
$ (cat <<'EOP'
name "base"
description "Base role applied to all nodes"
override_attributes(
"chef_client" => {
"server_url" => "https://api.opscode.com/organizations/ORGNAME",
"validation_client_name" => "ORGNAME-validator"
}
)
run_list(
"recipe[chef-client::config]",
"recipe[chef-client::service]",
"recipe[chef-client::delete_validation]"
)
EOP
) | sudo tee /var/chef-solo/roles/base.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment