Initial problems with new install of Chef Server 11.0.6

I’ve installed Chef Server 11.0.6 and Chef 11.4.0 onto Ubuntu 12.04.2 and
am now trying to get things configured. The server has a DNS CNAME I’d like
to associate with all chef related tasks, lets call it chef.cname.domain.org.
When I run ‘chef-server-ctl show-config’ I see that I have my host’s
generic FQDN listed in the lb/api_fqdn lb/web_ui_fqdn, nginx/server_name
and nginx/url keys. Obviously that needs to be fixed and I need to
reconfigure to use chef.cname.domain.org, however according to:
http://docs.opscode.com/server/ctl_chef_server.html the reconfigure
reconfigures the system according to /etc/chef-server/chef-server.rb Not
only does that file not exist at that path, but according to ‘find’,
chef-server.rb doesn’t exist anywhere at all on my filesystem. I obviously
can use the ‘show-config’ command, but that dumps json. I don’t know the
syntax of the chef-server.rb file though.

– William

The Opscode chef-server cookbook has a template for chef-server.rb;
this may be useful:
https://github.com/opscode-cookbooks/chef-server/blob/master/templates/default/chef-server.rb.erb

We use this template to configure our chef-servers.

Cheers,

AJ

On 3 April 2013 11:27, William McVey wam-chef@wamber.net wrote:

I've installed Chef Server 11.0.6 and Chef 11.4.0 onto Ubuntu 12.04.2 and am
now trying to get things configured. The server has a DNS CNAME I'd like to
associate with all chef related tasks, lets call it chef.cname.domain.org.
When I run 'chef-server-ctl show-config' I see that I have my host's generic
FQDN listed in the lb/api_fqdn lb/web_ui_fqdn, nginx/server_name and
nginx/url keys. Obviously that needs to be fixed and I need to reconfigure
to use chef.cname.domain.org, however according to:
chef-server-ctl (executable) the reconfigure
reconfigures the system according to /etc/chef-server/chef-server.rb Not
only does that file not exist at that path, but according to 'find',
chef-server.rb doesn't exist anywhere at all on my filesystem. I obviously
can use the 'show-config' command, but that dumps json. I don't know the
syntax of the chef-server.rb file though.

-- William

Take a look here:

http://docs.opscode.com/config_rb_chef_server.html

--
Daniel DeLeo

On Tuesday, April 2, 2013 at 3:37 PM, AJ Christensen wrote:

The Opscode chef-server cookbook has a template for chef-server.rb;
this may be useful:
https://github.com/opscode-cookbooks/chef-server/blob/master/templates/default/chef-server.rb.erb

We use this template to configure our chef-servers.

Cheers,

AJ

On 3 April 2013 11:27, William McVey <wam-chef@wamber.net (mailto:wam-chef@wamber.net)> wrote:

I've installed Chef Server 11.0.6 and Chef 11.4.0 onto Ubuntu 12.04.2 and am
now trying to get things configured. The server has a DNS CNAME I'd like to
associate with all chef related tasks, lets call it chef.cname.domain.org (http://chef.cname.domain.org).
When I run 'chef-server-ctl show-config' I see that I have my host's generic
FQDN listed in the lb/api_fqdn lb/web_ui_fqdn, nginx/server_name and
nginx/url keys. Obviously that needs to be fixed and I need to reconfigure
to use chef.cname.domain.org (http://chef.cname.domain.org), however according to:
chef-server-ctl (executable) the reconfigure
reconfigures the system according to /etc/chef-server/chef-server.rb Not
only does that file not exist at that path, but according to 'find',
chef-server.rb doesn't exist anywhere at all on my filesystem. I obviously
can use the 'show-config' command, but that dumps json. I don't know the
syntax of the chef-server.rb file though.

-- William

this is awesome. do we need to run only chef-server-ctl reload after
changing these values? or chef-server-ctl reconfigure?

On Tue, Apr 2, 2013 at 3:58 PM, Daniel DeLeo dan@kallistec.com wrote:

Take a look here:

http://docs.opscode.com/config_rb_chef_server.html

--
Daniel DeLeo

On Tuesday, April 2, 2013 at 3:37 PM, AJ Christensen wrote:

The Opscode chef-server cookbook has a template for chef-server.rb;
this may be useful:

https://github.com/opscode-cookbooks/chef-server/blob/master/templates/default/chef-server.rb.erb

We use this template to configure our chef-servers.

Cheers,

AJ

On 3 April 2013 11:27, William McVey wam-chef@wamber.net wrote:

I've installed Chef Server 11.0.6 and Chef 11.4.0 onto Ubuntu 12.04.2 and
am
now trying to get things configured. The server has a DNS CNAME I'd like to
associate with all chef related tasks, lets call it chef.cname.domain.org.
When I run 'chef-server-ctl show-config' I see that I have my host's
generic
FQDN listed in the lb/api_fqdn lb/web_ui_fqdn, nginx/server_name and
nginx/url keys. Obviously that needs to be fixed and I need to reconfigure
to use chef.cname.domain.org, however according to:
chef-server-ctl (executable) the reconfigure
reconfigures the system according to /etc/chef-server/chef-server.rb Not
only does that file not exist at that path, but according to 'find',
chef-server.rb doesn't exist anywhere at all on my filesystem. I obviously
can use the 'show-config' command, but that dumps json. I don't know the
syntax of the chef-server.rb file though.

-- William

On Tuesday, April 2, 2013 at 4:11 PM, Ranjib Dey wrote:

this is awesome. do we need to run only chef-server-ctl reload after changing these values? or chef-server-ctl reconfigure?

reconfigure is the one you want here--it writes out config files for component services and restarts them.

--
Daniel DeLeo

On Tue, Apr 2, 2013 at 3:58 PM, Daniel DeLeo <dan@kallistec.com (mailto:dan@kallistec.com)> wrote:

Take a look here:

http://docs.opscode.com/config_rb_chef_server.html

--
Daniel DeLeo

On Tuesday, April 2, 2013 at 3:37 PM, AJ Christensen wrote:

The Opscode chef-server cookbook has a template for chef-server.rb;
this may be useful:
https://github.com/opscode-cookbooks/chef-server/blob/master/templates/default/chef-server.rb.erb

We use this template to configure our chef-servers.

Cheers,

AJ

On 3 April 2013 11:27, William McVey <wam-chef@wamber.net (mailto:wam-chef@wamber.net)> wrote:

I've installed Chef Server 11.0.6 and Chef 11.4.0 onto Ubuntu 12.04.2 and am
now trying to get things configured. The server has a DNS CNAME I'd like to
associate with all chef related tasks, lets call it chef.cname.domain.org (http://chef.cname.domain.org).
When I run 'chef-server-ctl show-config' I see that I have my host's generic
FQDN listed in the lb/api_fqdn lb/web_ui_fqdn, nginx/server_name and
nginx/url keys. Obviously that needs to be fixed and I need to reconfigure
to use chef.cname.domain.org (http://chef.cname.domain.org), however according to:
chef-server-ctl (executable) the reconfigure
reconfigures the system according to /etc/chef-server/chef-server.rb Not
only does that file not exist at that path, but according to 'find',
chef-server.rb doesn't exist anywhere at all on my filesystem. I obviously
can use the 'show-config' command, but that dumps json. I don't know the
syntax of the chef-server.rb file though.

-- William