Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 6, 2014 20:30
Show Gist options
  • Save guitarrapc/1da7d92a160e085507ee to your computer and use it in GitHub Desktop.
Save guitarrapc/1da7d92a160e085507ee to your computer and use it in GitHub Desktop.
# Chef Recipe rule
[cookbook] 'Nae' do
[Key_name] "[key_value]"
[value_name] "[value_value]"
end
# Chef DSC call EnvironemtResource with : https://github.com/opscode-cookbooks/dsc
env 'editor' do
key_name "EDITOR"
value "vim"
end
# DSC Configuration Sample
environment editor
{
Name = "EDITOR"
Value = "vim"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment