Add names to the execute resources

This commit is contained in:
Greg 2019-05-08 16:58:31 +02:00
parent 81192f7277
commit 7271065c5b
1 changed files with 2 additions and 2 deletions

View File

@ -152,14 +152,14 @@ application mastodon_path do
db_pass: postgresql_data_bag_item['mastodon_user_password'] db_pass: postgresql_data_bag_item['mastodon_user_password']
end end
execute do execute "bundle install" do
environment "HOME" => mastodon_path environment "HOME" => mastodon_path
user mastodon_user user mastodon_user
cwd mastodon_path cwd mastodon_path
command "/opt/ruby_build/builds/#{ruby_version}/bin/bundle install --without development,test --deployment" command "/opt/ruby_build/builds/#{ruby_version}/bin/bundle install --without development,test --deployment"
end end
execute do execute "yarn install" do
environment "HOME" => mastodon_path environment "HOME" => mastodon_path
user mastodon_user user mastodon_user
cwd mastodon_path cwd mastodon_path