Commit e679e22184ef443b805fa674e5a54516bacde1e7
Committed by
Paulo Tada
1 parent
dc5aa601
Exists in
mezuro_cookbook
Adds upgrade task for gitlab
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
| @@ -4,7 +4,11 @@ if node['platform'] == 'centos' | @@ -4,7 +4,11 @@ if node['platform'] == 'centos' | ||
| 4 | end | 4 | end |
| 5 | end | 5 | end |
| 6 | 6 | ||
| 7 | -package 'gitlab' | 7 | +package 'gitlab' do |
| 8 | + action :upgrade | ||
| 9 | + notifies :restart, 'service[gitlab]' | ||
| 10 | +end | ||
| 11 | + | ||
| 8 | 12 | ||
| 9 | template '/etc/gitlab/database.yml' do | 13 | template '/etc/gitlab/database.yml' do |
| 10 | owner 'root' | 14 | owner 'root' |