summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBipin Bachhao <bipinbachhao@gmail.com>2020-05-27 18:49:38 -0400
committerGitHub <noreply@github.com>2020-05-27 18:49:38 -0400
commit0919bd46bbd1b12158c369569ec1298bb000dd8a (patch)
tree99a19ed0e42070678aabbed65ab2bf39cab81188 /templates
parenta99c8bcea597c17d83d90bf1e09c9a5b68c3dc22 (diff)
downloadvyos-cloud-init-0919bd46bbd1b12158c369569ec1298bb000dd8a.tar.gz
vyos-cloud-init-0919bd46bbd1b12158c369569ec1298bb000dd8a.zip
Enable chef_license support for chef infra client (#389)
Co-authored-by: Daniel Watkins <oddbloke@ubuntu.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/chef_client.rb.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/chef_client.rb.tmpl b/templates/chef_client.rb.tmpl
index 99978d3b..0a759b04 100644
--- a/templates/chef_client.rb.tmpl
+++ b/templates/chef_client.rb.tmpl
@@ -14,6 +14,9 @@ you need to add the following to config:
The reason these are not in quotes is because they are ruby
symbols that will be placed inside here, and not actual strings...
#}
+{% if chef_license %}
+chef_license "{{chef_license}}"
+{% endif%}
{% if log_level %}
log_level {{log_level}}
{% endif %}