Commit 69fe12220b19ef59d2ed6f13c39a4e8a6375f9ee

Authored by Jacob Vosmaer
1 parent 36a95d82

Set bootstrap status during reconfigure

files/gitlab-cookbooks/gitlab/recipes/bootstrap.rb
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 # limitations under the License. 15 # limitations under the License.
16 # 16 #
17 17
18 -bootstrap_status_file = "/var/opt/chef-server/bootstrapped" 18 +bootstrap_status_file = "/var/opt/gitlab/bootstrapped"
19 19
20 file bootstrap_status_file do 20 file bootstrap_status_file do
21 owner "root" 21 owner "root"
files/gitlab-cookbooks/gitlab/recipes/default.rb
@@ -53,6 +53,7 @@ include_recipe "runit" @@ -53,6 +53,7 @@ include_recipe "runit"
53 [ 53 [
54 "postgresql", 54 "postgresql",
55 "redis", 55 "redis",
  56 + "bootstrap",
56 ].each do |service| 57 ].each do |service|
57 if node["gitlab"][service]["enable"] 58 if node["gitlab"][service]["enable"]
58 include_recipe "gitlab::#{service}" 59 include_recipe "gitlab::#{service}"