Chef Server Name Not Resolved During Cookbook Upload [fix]

By polfilm,

  Filed under: Chef
  Comments: None

Occurs when FQDN of the server is not resolvable on local network.
On chef server, create file called /etc/chef-server/chef-server.rb, and added below lines…

server_name = ""
api_fqdn server_name
nginx['url'] = "https://#{server_name}"
nginx['server_name'] = server_name
lb['fqdn'] = server_name
bookshelf['vip'] = server_name

Then, run chef-server-ctl reconfigure.

Be the first to write a comment.

Your feedback

You must be logged in to post a comment.