Commit 4696545fa53dde4340d6b6d0ac8af9a1af68db18
1 parent
4b192c3f
Exists in
master
and in
17 other branches
Also change ChefServer to Gitlab in show_config.rb
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/show_config.rb
| ... | ... | @@ -16,10 +16,10 @@ |
| 16 | 16 | # |
| 17 | 17 | |
| 18 | 18 | if File.exists?("/etc/gitlab/gitlab.rb") |
| 19 | - ChefServer[:node] = node | |
| 20 | - ChefServer.from_file("/etc/gitlab/gitlab.rb") | |
| 19 | + Gitlab[:node] = node | |
| 20 | + Gitlab.from_file("/etc/gitlab/gitlab.rb") | |
| 21 | 21 | end |
| 22 | -config = ChefServer.generate_config(node['fqdn']) | |
| 22 | +config = Gitlab.generate_config(node['fqdn']) | |
| 23 | 23 | |
| 24 | 24 | puts Chef::JSONCompat.to_json_pretty(config) |
| 25 | 25 | return | ... | ... |