Add names to the execute resources
This commit is contained in:
parent
81192f7277
commit
7271065c5b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue