summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBen Hughes <bmhughes@bmhughes.co.uk>2021-04-26 21:19:26 +0100
committerGitHub <noreply@github.com>2021-04-26 15:19:26 -0500
commit02db2c3ecf29924690d4c4adf6ec059f36f31103 (patch)
tree6fd159e13f1f6d3d1d0887e279bb9277a48be92c /templates
parentb2311664fa73ec85c3f85ec6ff6b092765e07975 (diff)
downloadvyos-cloud-init-02db2c3ecf29924690d4c4adf6ec059f36f31103.tar.gz
vyos-cloud-init-02db2c3ecf29924690d4c4adf6ec059f36f31103.zip
Fix chef module run failure when chef_license is set (#868)
Move chef_license from TPL_PATH_KEYS to TPL_KEYS as the chef license setting is not a path but must be added to the client config template. Fixes file or folder not found exception raised from ensure_dirs.
Diffstat (limited to 'templates')
-rw-r--r--templates/chef_client.rb.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/chef_client.rb.tmpl b/templates/chef_client.rb.tmpl
index 0a759b04..b9d58172 100644
--- a/templates/chef_client.rb.tmpl
+++ b/templates/chef_client.rb.tmpl
@@ -15,7 +15,7 @@ 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}}"
+chef_license "{{chef_license}}"
{% endif%}
{% if log_level %}
log_level {{log_level}}