Created
July 29, 2012 23:25
-
-
Save Gurpartap/3202537 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ (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