forked from chef-boneyard/cookbooks
/
server.rb.erb
34 lines (27 loc) · 1.44 KB
/
server.rb.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Chef Server Config File
#
# Dynamically generated by Chef - local modifications will be replaced
log_level :info
log_location <%= @server_log %>
ssl_verify_mode :verify_none
registration_url "http://<%= @node[:chef][:server_fqdn] %>:4000"
openid_url "http://<%= @node[:chef][:server_fqdn] %>:4001"
template_url "http://<%= @node[:chef][:server_fqdn] %>:4000"
remotefile_url "http://<%= @node[:chef][:server_fqdn] %>:4000"
search_url "http://<%= @node[:chef][:server_fqdn] %>:4000"
role_url "http://<%= @node[:chef][:server_fqdn] %>:4000"
validation_token "<%= @node[:chef][:server_token] %>"
cookbook_path [ "<%= @node[:chef][:serve_path] %>/site-cookbooks", "<%= @node[:chef][:serve_path] %>/cookbooks" ]
file_cache_path "<%= @node[:chef][:cache_path] %>"
node_path "<%= @node[:chef][:serve_path] %>/nodes"
openid_store_path "<%= @node[:chef][:path] %>/openid/store"
openid_cstore_path "<%= @node[:chef][:path] %>/openid/cstore"
search_index_path "<%= @node[:chef][:path] %>/search_index"
role_path "<%= @node[:chef][:serve_path] %>/roles"
umask <%= @node[:chef][:umask] %>
# See http://wiki.opscode.com/display/chef/Securing+Chef+Server
# For more information on these settings.
#authorized_openid_providers [ "https://<%= @node[:chef][:server_fqdn]%>", "https://chef", "myopenid.com" ]
#authorized_openid_identifiers [ "" ]
Chef::Log::Formatter.show_time = <%= @show_time %>