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 /tests | |
parent | a99c8bcea597c17d83d90bf1e09c9a5b68c3dc22 (diff) | |
download | vyos-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 'tests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_chef.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/test_handler/test_handler_chef.py b/tests/unittests/test_handler/test_handler_chef.py index 513c18b5..8c476418 100644 --- a/tests/unittests/test_handler/test_handler_chef.py +++ b/tests/unittests/test_handler/test_handler_chef.py @@ -130,6 +130,7 @@ class TestChef(FilesystemMockingTestCase): # This should create a file of the format... # Created by cloud-init v. 0.7.6 on Sat, 11 Oct 2014 23:57:21 +0000 + chef_license "accept" log_level :info ssl_verify_mode :verify_none log_location "/var/log/chef/client.log" @@ -153,6 +154,7 @@ class TestChef(FilesystemMockingTestCase): util.write_file('/etc/cloud/templates/chef_client.rb.tmpl', tpl_file) cfg = { 'chef': { + 'chef_license': "accept", 'server_url': 'localhost', 'validation_name': 'bob', 'validation_key': "/etc/chef/vkey.pem", |