diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-03-05 15:05:59 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-03-05 15:05:59 -0800 |
commit | cc79c859115ceb520877c0afaece4c28d6031499 (patch) | |
tree | 1deb6b7613faa9d150519222556e9a0c5991bf3f /templates/chef_client.rb.tmpl | |
parent | 3f3450660f5f7118ac0583de5d137120c1ae4abd (diff) | |
download | vyos-cloud-init-cc79c859115ceb520877c0afaece4c28d6031499.tar.gz vyos-cloud-init-cc79c859115ceb520877c0afaece4c28d6031499.zip |
Switch to jinja & adjust tpls
Diffstat (limited to 'templates/chef_client.rb.tmpl')
-rw-r--r-- | templates/chef_client.rb.tmpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/chef_client.rb.tmpl b/templates/chef_client.rb.tmpl index 7981cba7..538850ca 100644 --- a/templates/chef_client.rb.tmpl +++ b/templates/chef_client.rb.tmpl @@ -1,25 +1,25 @@ -#* - 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 -*# +## 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_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" +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 - |