66log_level :info
77log_location <%= @server_log %>
88ssl_verify_mode :verify_none
9- registration_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
10- openid_url "http://<%= @node[:chef][:server_fqdn] %> :4001"
11- template_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
12- remotefile_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
13- search_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
14- role_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
15- client_url "http://<%= @node[:chef][:server_fqdn] %> :4000"
9+ chef_server_url "<%= @node[:chef][:url_type] %> ://<%= @node[:chef][:server_fqdn] %> :<%= @node[:chef][:server_port] %> "
1610
17- validation_token "<%= @node[:chef][:server_token] %> "
11+ signing_ca_path "<%= @node[:chef][:path] %> /ca"
12+ couchdb_database 'chef'
1813
19- cookbook_path [ "<%= @node[:chef][:serve_path] %> /site- cookbooks", "<%= @node[:chef][:serve_path] %> /cookbooks" ]
14+ cookbook_path [ "<%= @node[:chef][:serve_path] %> /cookbooks", "<%= @node[:chef][:serve_path] %> /site- cookbooks" ]
2015
2116file_cache_path "<%= @node[:chef][:cache_path] %> "
2217node_path "<%= @node[:chef][:serve_path] %> /nodes"
@@ -25,11 +20,23 @@ openid_cstore_path "<%= @node[:chef][:path] %>/openid/cstore"
2520search_index_path "<%= @node[:chef][:path] %> /search_index"
2621role_path "<%= @node[:chef][:serve_path] %> /roles"
2722
28- umask <%= @node[:chef][:umask] %>
23+ validation_client_name "validator"
24+ validation_key "/etc/chef/validation.pem"
25+ client_key "/etc/chef/client.pem"
26+ web_ui_client_name "chef-webui"
27+ web_ui_key "/etc/chef/webui.pem"
28+
29+ <% if @node[:chef][:webui_enabled] -%>
30+ web_ui_admin_user_name "admin"
31+ web_ui_admin_default_password "<%= @node[:chef][:webui_admin_password] %> "
2932
30- # See http://wiki.opscode.com/display/chef/Securing+Chef+Server
31- # For more information on these settings.
32- #authorized_openid_providers [ "https://<%= @node[:chef][:server_fqdn]%> ", "https://chef", "myopenid.com" ]
33- #authorized_openid_identifiers [ "" ]
33+ <% end -%>
34+ supportdir = "<%= @node[:chef][:path] %> /support"
35+ solr_jetty_path File.join(supportdir, "solr", "jetty")
36+ solr_data_path File.join(supportdir, "solr", "data")
37+ solr_home_path File.join(supportdir, "solr", "home")
38+ solr_heap_size "256M"
39+
40+ umask <%= @node[:chef][:umask] %>
3441
35- Chef ::Log::Formatter.show_time = <%= @show_time %>
42+ Mixlib ::Log::Formatter.show_time = <%= @show_time %>
0 commit comments