[chef] Proper hostname configuration for chef server 11


Chronological Thread 
  • From: İşbaran Akçayır < >
  • To:
  • Subject: [chef] Proper hostname configuration for chef server 11
  • Date: Thu, 30 May 2013 12:06:47 +0300

Hello,

Trying to configure chef server 11 on EC2 and i think i hit that internal redirect problem [0] also mentioned here [1]
( Can update roles, environments, but can't upload cookbooks )

I would like to know what are the dependencies for chef server 11 to just work.

My steps:
Boot ec2 instance
Point chef.example.com to public ip of that instance
Put "public_ip chef.example.com" to /etc/hosts ( can resolve chef.example.com anyway )
/etc/init.d/hostname start ( even reboot )
Get 11.0.8 and install
chef-server-ctl reconfigure
And problem starts

As suggested, tried overwriting it with chef-server.rb:

server_name = "chef.example.com"
api_fqdn server_name

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

bookshelf['vip'] = server_name

reconfigured with no luck.

Thanks






Archive powered by MHonArc 2.6.16.

§