Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chef Cookbooks
ubuntu_base
Commits
fd7095f8
Commit
fd7095f8
authored
Apr 25, 2015
by
Stefan Galinski
🎮
Browse files
[BUGFIX] Add the apt crash prevention workaround at the beginning of the recipe
parent
707f1ca3
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/default.rb
View file @
fd7095f8
...
...
@@ -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 ###
#################################################
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment