From 0919bd46bbd1b12158c369569ec1298bb000dd8a Mon Sep 17 00:00:00 2001 From: Bipin Bachhao Date: Wed, 27 May 2020 18:49:38 -0400 Subject: Enable chef_license support for chef infra client (#389) Co-authored-by: Daniel Watkins --- tests/unittests/test_handler/test_handler_chef.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/unittests/test_handler/test_handler_chef.py') 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", -- cgit v1.2.3