diff options
author | Tim Smith <tsmith@chef.io> | 2021-07-01 13:02:51 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-09-16 18:33:45 -0700 |
commit | 22285e26d8233f9919e98913b69dfaab38b3380e (patch) | |
tree | 0c2e083210c2f4785ee07b27790744e8de268ddf /kitchen-tests | |
parent | 72bb57cc2afe956e83727b99831cf10336db596c (diff) | |
download | chef-22285e26d8233f9919e98913b69dfaab38b3380e.tar.gz |
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 <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_chef_client_config.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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' |