~smoser/cloud-init/lp-1077700

578 by Scott Moser
add header/explanation to templates/chef_client.rb.tmpl
1
#*
2
     This file is only utilized if the module 'cc_chef' is enabled in 
3
     cloud-config. Specifically, in order to enable it
4
     you need to add the following to config:
5
       chef:
6
         validation_key: XYZ
7
         validation_cert: XYZ
8
         validation_name: XYZ
9
         server_url: XYZ
10
*#
445.1.1 by Mike Moulton
Modifications to properly support both 'gems' and 'packages' install types.
11
log_level              :info
12
log_location           "/var/log/chef/client.log"
13
ssl_verify_mode        :verify_none
577 by Joshua Harlow
Revert back to using cheetah + adjust resultant code + templates
14
validation_client_name "$validation_name"
390.2.2 by Avishai Ish-Shalom
Added Chef plugin
15
validation_key         "/etc/chef/validation.pem"
445.1.1 by Mike Moulton
Modifications to properly support both 'gems' and 'packages' install types.
16
client_key             "/etc/chef/client.pem"
577 by Joshua Harlow
Revert back to using cheetah + adjust resultant code + templates
17
chef_server_url        "$server_url"
18
environment            "$environment"
19
node_name              "$node_name"
445.1.1 by Mike Moulton
Modifications to properly support both 'gems' and 'packages' install types.
20
json_attribs           "/etc/chef/firstboot.json"
21
file_cache_path        "/var/cache/chef"
22
file_backup_path       "/var/backups/chef"
23
pid_file               "/var/run/chef/client.pid"
390.2.2 by Avishai Ish-Shalom
Added Chef plugin
24
Chef::Log::Formatter.show_time = true
25