summaryrefslogtreecommitdiff
path: root/templates/chef_client.rb.tmpl
blob: 538850ca3de95be8caea6e98c3421794d2285a5b (plain)
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
## template:jinja
{#
This file is only utilized if the module 'cc_chef' is enabled in 
cloud-config. Specifically, in order to enable it
you need to add the following to config:
  chef:
    validation_key: XYZ
    validation_cert: XYZ
    validation_name: XYZ
    server_url: XYZ
-#}
log_level              :info
log_location           "/var/log/chef/client.log"
ssl_verify_mode        :verify_none
validation_client_name "{{validation_name}}"
validation_key         "/etc/chef/validation.pem"
client_key             "/etc/chef/client.pem"
chef_server_url        "{{server_url}}"
environment            "{{environment}}"
node_name              "{{node_name}}"
json_attribs           "/etc/chef/firstboot.json"
file_cache_path        "/var/cache/chef"
file_backup_path       "/var/backups/chef"
pid_file               "/var/run/chef/client.pid"
Chef::Log::Formatter.show_time = true