The main configuration file for the Chef Server in Chef 11 is
/etc/chef-server/chef-server.rb
. It uses a Ruby DSL similar to other
Chef configuration files, /etc/chef/client.rb
, ~/.chef/knife.rb
,
etc. We’re working on getting all the various settings documented. For
now, they’re all defined as
attributes in the cookbook
used by chef-server-ctl reconfigure
. An example will illustrate
this.
In the attributes file, we control whether the WebUI is enabled:
default[
'chef_server'
][
'chef-server-webui'
][
'enable'
] =
true
To modify this in /etc/chef-server/chef-server.rb
, for example to
disable it:
chef_server_webui[
'enable'
] =
false
Note Attributes that have a dash should have it replaced with
an underscore in the chef-server.rb
config file.
-lun
Hi All -I think there are important steps missing in the installation documentation.Following the instructions at http://docs.opscode.com/chef/install_server.html:At no point do the instructions mention the existence or the requirement of logging in to the web console. This means that:
- The continuation of the instructions in the workstation setup (http://docs.opscode.com/chef/install_workstation.html) make no sense when it says "Organizations page" and "Account Management"
- If the user continues without the web interface (using "knife client create, etc), the admin password is never set, meaning that anyone who stumbles over the web interface is able to set it, AFAIK.
In Chef 10, there was a documented option to not install the web interface at all, and there were instructions (such as "knife configure -i" IIRC) on how to SECURELY complete the installation.-Mike
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please note that any disclosure, copying or distribution of the content of this information is strictly forbidden. If you have received this email message in error, please destroy it immediately and notify its sender.
Archive powered by MHonArc 2.6.16.