Commit fd7095f8 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[BUGFIX] Add the apt crash prevention workaround at the beginning of the recipe

parent 707f1ca3
......@@ -24,6 +24,19 @@
data_bag = data_bag_item('apps', 'global')
#########################
### Update the system ###
#########################
# apt-get crashes if the directory isn't created before it's execution
# can be removed maybe later on
directory '/var/www/html' do
recursive true
action :create
end
execute 'apt-get -y upgrade'
###################################
### Add some additional recipes ###
###################################
......@@ -47,19 +60,6 @@ include_recipe 'rsync'
end
end
#########################
### Update the system ###
#########################
# apt-get crashes if the directory isn't created before it's execution
# can be removed maybe later on
directory '/var/www/html' do
recursive true
action :create
end
execute 'apt-get -y upgrade'
#################################################
### Fix the user/group id of the vagrant user ###
#################################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment