From: Tom Hughes Date: Wed, 10 Nov 2021 22:22:23 +0000 (+0000) Subject: Don't try and install kernel modules when running tests X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/dbd5db4e3cc2af55aaafe4f154d5e5260ee9c80e Don't try and install kernel modules when running tests --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 7736cd507..7f1431320 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -547,6 +547,7 @@ end node[:hardware][:modules].each do |module_name| kernel_module module_name do action :install + not_if { kitchen? } end end