From 9d24e193aae0b06459267f6099b9be7fe49afb94 Mon Sep 17 00:00:00 2001 From: David Carlos Date: Mon, 7 Dec 2015 16:53:30 -0200 Subject: [PATCH] Adds upgrade task for gitlab --- cookbooks/gitlab/recipes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/gitlab/recipes/default.rb b/cookbooks/gitlab/recipes/default.rb index 0d65e08..7da1b86 100644 --- a/cookbooks/gitlab/recipes/default.rb +++ b/cookbooks/gitlab/recipes/default.rb @@ -4,7 +4,11 @@ if node['platform'] == 'centos' end end -package 'gitlab' +package 'gitlab' do + action :upgrade + notifies :restart, 'service[gitlab]' +end + template '/etc/gitlab/database.yml' do owner 'root' -- libgit2 0.21.2