Commit 7cec18d4352d1a8d2a301c591bb779a303414f3e

Authored by Jacob Vosmaer
1 parent 1feb98d2

Bring back the bootstrap attribute

files/gitlab-cookbooks/gitlab/attributes/default.rb
... ... @@ -15,6 +15,8 @@
15 15 # limitations under the License.
16 16 #
17 17  
  18 +default['gitlab']['bootstrap']['enable'] = true
  19 +
18 20 ###
19 21 # PostgreSQL
20 22 ###
... ...
files/gitlab-cookbooks/gitlab/libraries/chef_server.rb
... ... @@ -24,6 +24,7 @@ require 'securerandom'
24 24 module GitLab
25 25 extend(Mixlib::Config)
26 26  
  27 + bootstrap Mash.new
27 28 postgresql Mash.new
28 29 node nil
29 30  
... ... @@ -66,6 +67,7 @@ module GitLab
66 67 def generate_hash
67 68 results = { "gitlab" => {} }
68 69 [
  70 + "bootstrap",
69 71 "postgresql"
70 72 ].each do |key|
71 73 rkey = key.gsub('_', '-')
... ...