<commit_before>#
# 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
chef_server_url    "http://<%= @node[:chef][:server_fqdn] %>:<%= @node[:chef][:server_port] %>"

couchdb_database   'chef'

cookbook_path      [ "<%= @node[:chef][:serve_path] %>/cookbooks", "<%= @node[:chef][:serve_path] %>/site-cookbooks" ]
cookbook_tarball_path "<%= @node[:chef][:cache_path] %>/cookbook-tarballs"

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"

validation_client_name "<%= @node[:chef][:validation_client_name] %>"
validation_key         "/etc/chef/validation.pem"
client_key             "/etc/chef/client.pem"
web_ui_client_name     "chef-webui"
web_ui_key             "/etc/chef/webui.pem"

<% if @node[:chef][:webui_enabled] -%>
web_ui_admin_user_name "admin"

<% end -%>
supportdir = "<%= @node[:chef][:path] %>/support"
solr_jetty_path File.join(supportdir, "solr", "jetty")
solr_data_path  File.join(supportdir, "solr", "data")
solr_home_path  File.join(supportdir, "solr", "home")
solr_heap_size  "256M"

umask "<%= @node[:chef][:umask] %>"

signing_ca_cert    "/etc/chef/certificates/cert.pem"
signing_ca_key     "/etc/chef/certificates/key.pem"
signing_ca_user    "chef"
signing_ca_group   "chef"

Mixlib::Log::Formatter.show_time = <%= @show_time %><commit_msg>we're not adding the chef user in the recipe (yet)<commit_after>#
# 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
chef_server_url    "http://<%= @node[:chef][:server_fqdn] %>:<%= @node[:chef][:server_port] %>"

couchdb_database   'chef'

cookbook_path      [ "<%= @node[:chef][:serve_path] %>/cookbooks", "<%= @node[:chef][:serve_path] %>/site-cookbooks" ]
cookbook_tarball_path "<%= @node[:chef][:cache_path] %>/cookbook-tarballs"

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"

validation_client_name "<%= @node[:chef][:validation_client_name] %>"
validation_key         "/etc/chef/validation.pem"
client_key             "/etc/chef/client.pem"
web_ui_client_name     "chef-webui"
web_ui_key             "/etc/chef/webui.pem"

<% if @node[:chef][:webui_enabled] -%>
web_ui_admin_user_name "admin"

<% end -%>
supportdir = "<%= @node[:chef][:path] %>/support"
solr_jetty_path File.join(supportdir, "solr", "jetty")
solr_data_path  File.join(supportdir, "solr", "data")
solr_home_path  File.join(supportdir, "solr", "home")
solr_heap_size  "256M"

umask <%= @node[:chef][:umask] %>

signing_ca_cert    "/etc/chef/certificates/cert.pem"
signing_ca_key     "/etc/chef/certificates/key.pem"
signing_ca_user    "root"
signing_ca_group   "root"

Mixlib::Log::Formatter.show_time = <%= @show_time %>
{'fraction_non_alphanumeric': 0.19180847995385059, 'fraction_numerical': 0.0017306028266512836, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '949003', 'n_tokens_mistral': 1408, 'n_tokens_neox': 1359, 'n_words': 199}