diff --git a/files/gitlab-cookbooks/gitlab/recipes/show_config.rb b/files/gitlab-cookbooks/gitlab/recipes/show_config.rb index a7851a5..1becb7e 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/show_config.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/show_config.rb @@ -15,9 +15,9 @@ # limitations under the License. # -if File.exists?("/etc/chef-server/chef-server.rb") +if File.exists?("/etc/gitlab/gitlab.rb") ChefServer[:node] = node - ChefServer.from_file("/etc/chef-server/chef-server.rb") + ChefServer.from_file("/etc/gitlab/gitlab.rb") end config = ChefServer.generate_config(node['fqdn']) diff --git a/files/gitlab-cookbooks/show-config.json b/files/gitlab-cookbooks/show-config.json index 3ab5a7a..5e5e54d 100644 --- a/files/gitlab-cookbooks/show-config.json +++ b/files/gitlab-cookbooks/show-config.json @@ -1,3 +1,3 @@ { - "run_list": [ "recipe[chef-server::show_config]" ] + "run_list": [ "recipe[gitlab::show_config]" ] } -- libgit2 0.21.2