Chef : invalid number of arguments in “server_name” directive in

Автор | 06.07.2015

Edit /etc/chef-server/chef-server.rb and add these lines (create the file if it doesn’t exist):

server_name = "THE PUBLIC IP OF YOUR INSTANCE"
api_fqdn server_name
nginx['url'] = "https://#{server_name}"
nginx['server_name'] = server_name
lb['fqdn'] = server_name
bookshelf['vip'] = server_name

After:

chef-server-ctl reconfigure

Залишити відповідь