Commit 4b192c3f694f10bfe14ad5b9c3b4df912b96a531
1 parent
8f9bde8f
Exists in
master
and in
17 other branches
Adapt show_config to GitLab
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
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