Commit 4b192c3f694f10bfe14ad5b9c3b4df912b96a531

Authored by Jacob Vosmaer
1 parent 8f9bde8f

Adapt show_config to GitLab

files/gitlab-cookbooks/gitlab/recipes/show_config.rb
... ... @@ -15,9 +15,9 @@
15 15 # limitations under the License.
16 16 #
17 17  
18   -if File.exists?("/etc/chef-server/chef-server.rb")
  18 +if File.exists?("/etc/gitlab/gitlab.rb")
19 19 ChefServer[:node] = node
20   - ChefServer.from_file("/etc/chef-server/chef-server.rb")
  20 + ChefServer.from_file("/etc/gitlab/gitlab.rb")
21 21 end
22 22 config = ChefServer.generate_config(node['fqdn'])
23 23  
... ...
files/gitlab-cookbooks/show-config.json
1 1 {
2   - "run_list": [ "recipe[chef-server::show_config]" ]
  2 + "run_list": [ "recipe[gitlab::show_config]" ]
3 3 }
... ...