Last active
October 23, 2015 08:55
-
-
Save SafeAF/14967dc899e2c5a4288c to your computer and use it in GitHub Desktop.
chef recipes
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
#For example, to use the default recipe in a role named "base", use 'ruby' in the run list and set the node[:languages[:ruby][:default_version] attribute: | |
{ | |
"name": "base", | |
"description": "Base role is applied to all systems", | |
"json_class": "Chef::Role", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"languages": { | |
"ruby": { | |
"default_version": "1.8" | |
} | |
} | |
}, | |
"chef_type": "role", | |
"run_list": [ | |
"recipe[ruby]" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment