summaryrefslogtreecommitdiff
path: root/cloudinit/config
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 /cloudinit/config
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 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_chef.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py
index 01d61fa1..03285ef0 100644
--- a/cloudinit/config/cc_chef.py
+++ b/cloudinit/config/cc_chef.py
@@ -50,6 +50,7 @@ file).
written to /etc/chef/client.rb)
chef:
+ chef_license:
client_key:
encrypted_data_bag_secret:
environment:
@@ -125,6 +126,7 @@ CHEF_RB_TPL_PATH_KEYS = frozenset([
'file_cache_path',
'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)