Skip to content

Instantly share code, notes, and snippets.

@roberto
Created November 6, 2012 22:07
Show Gist options
  • Save roberto/4027929 to your computer and use it in GitHub Desktop.
Save roberto/4027929 to your computer and use it in GitHub Desktop.
Meet Chef Part 1
# file: nginx/attributes/nginx.rb
default.nginx.dir = "/etc/nginx"
# file: rails/recipes/default.rb
directory common[:app_root] do
owner "vagrant"
recursive true # <<-- add this line
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment