Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash "update database config with user/password" do
- cwd "/vagrant/goldstar/config"
- user "vagrant"
- code <<-EOH
- sed -i -e 's/WHATS_MY_NAME/root\n password: password/' #{config_dir}/database.yml
- EOH
- end
- bash "update database config with user/password" do
- cwd "/vagrant/goldstar/config"
- user "vagrant"
- code <<-EOH
- sed -i -e '/host/i \
- port: 3306' #{config_dir}/database.yml
- EOH
- end
Add Comment
Please, Sign In to add comment