From 69fe12220b19ef59d2ed6f13c39a4e8a6375f9ee Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 3 Feb 2014 17:19:29 +0100 Subject: [PATCH] Set bootstrap status during reconfigure --- files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb | 2 +- files/gitlab-cookbooks/gitlab/recipes/default.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb b/files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb index 61c7741..228d1c5 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb @@ -15,7 +15,7 @@ # limitations under the License. # -bootstrap_status_file = "/var/opt/chef-server/bootstrapped" +bootstrap_status_file = "/var/opt/gitlab/bootstrapped" file bootstrap_status_file do owner "root" diff --git a/files/gitlab-cookbooks/gitlab/recipes/default.rb b/files/gitlab-cookbooks/gitlab/recipes/default.rb index 6a7ee19..686c0bc 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/default.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/default.rb @@ -53,6 +53,7 @@ include_recipe "runit" [ "postgresql", "redis", + "bootstrap", ].each do |service| if node["gitlab"][service]["enable"] include_recipe "gitlab::#{service}" -- libgit2 0.21.2