summaryrefslogtreecommitdiff
path: root/templates/chef_client.rb.tmpl
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-10-11 16:59:50 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-10-11 16:59:50 -0700
commitd87e89d9c674bac7e87d483037850a9ee4fc984a (patch)
treead30f34179a8d8aa64552357a1808cffe863d736 /templates/chef_client.rb.tmpl
parent9452f1247f69c2a8e8dedaac804f3c95bff0821b (diff)
downloadvyos-cloud-init-d87e89d9c674bac7e87d483037850a9ee4fc984a.tar.gz
vyos-cloud-init-d87e89d9c674bac7e87d483037850a9ee4fc984a.zip
More adjustments
- Use the generated_by() utility function to give the ruby template a better header comment - Set special parameters after selecting the basic chef parameters.
Diffstat (limited to 'templates/chef_client.rb.tmpl')
-rw-r--r--templates/chef_client.rb.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/chef_client.rb.tmpl b/templates/chef_client.rb.tmpl
index 7b9e6298..c4069d22 100644
--- a/templates/chef_client.rb.tmpl
+++ b/templates/chef_client.rb.tmpl
@@ -9,12 +9,11 @@ you need to add the following to config:
validation_name: XYZ
server_url: XYZ
-#}
-
+{{generated_by}}
{#
The reason these are not in quotes is because they are ruby
symbols that will be placed inside here, and not actual strings...
#}
-# This is a generated file, created on {{generated_on}}.
{% if log_level %}
log_level {{log_level}}
{% endif %}