diff options
author | Bipin Bachhao <bipinbachhao@gmail.com> | 2020-05-27 18:49:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 18:49:38 -0400 |
commit | 0919bd46bbd1b12158c369569ec1298bb000dd8a (patch) | |
tree | 99a19ed0e42070678aabbed65ab2bf39cab81188 /templates | |
parent | a99c8bcea597c17d83d90bf1e09c9a5b68c3dc22 (diff) | |
download | cloud-init-git-0919bd46bbd1b12158c369569ec1298bb000dd8a.tar.gz |
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.tmpl | 3 |
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 %} |