summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/config/cc_chef.py2
-rw-r--r--templates/chef_client.rb.tmpl2
-rw-r--r--tools/.github-cla-signers1
3 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py
index aaf71366..7b20222e 100644
--- a/cloudinit/config/cc_chef.py
+++ b/cloudinit/config/cc_chef.py
@@ -70,7 +70,6 @@ CHEF_RB_TPL_PATH_KEYS = frozenset([
'json_attribs',
'pid_file',
'encrypted_data_bag_secret',
- 'chef_license',
])
CHEF_RB_TPL_KEYS = list(CHEF_RB_TPL_DEFAULTS.keys())
CHEF_RB_TPL_KEYS.extend(CHEF_RB_TPL_BOOL_KEYS)
@@ -80,6 +79,7 @@ CHEF_RB_TPL_KEYS.extend([
'node_name',
'environment',
'validation_name',
+ 'chef_license',
])
CHEF_RB_TPL_KEYS = frozenset(CHEF_RB_TPL_KEYS)
CHEF_RB_PATH = '/etc/chef/client.rb'
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}}
diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers
index 38e1ad74..d7151a59 100644
--- a/tools/.github-cla-signers
+++ b/tools/.github-cla-signers
@@ -51,3 +51,4 @@ WebSpider
xiachen-rh
xnox
hamalq
+bmhughes