Created
November 11, 2012 02:39
-
-
Save lazypower/4053456 to your computer and use it in GitHub Desktop.
Sample Chef configuration snippet
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
| execute "rake db:setup" do | |
| environment ({'RAILS_ENV' => 'production'}) | |
| command "cd #{node[:fatfree][:dir]}; rake db:setup; touch .db-created" | |
| creates "#{node[:fatfree][:dir]}/.db-created" | |
| action :run | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment