From 0181c597552b6e5855224c37a3583a2c0ec1aa59 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 1 Jul 2021 13:02:51 -0700 Subject: Fix handling of ohai properties in chef_client_config These 2 properties don't match the config format so the existing logic didn't work. Signed-off-by: Tim Smith --- kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kitchen-tests') diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb index 0e68582af0..c2a6e4254b 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb @@ -1,6 +1,8 @@ chef_client_config "Create chef-client's client.rb" do chef_server_url "https://localhost" chef_license "accept" + ohai_optional_plugins %i{Passwd Lspci Sysctl} + ohai_disabled_plugins %i{Sessions Interrupts} additional_config <<~CONFIG begin require 'aws-sdk' -- cgit v1.2.1