X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/df083ed13f74574e55a679e7748cc3e937821cda..7dea747820c21c7d45070bff703d58534aada3ba:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 633edcb19..7f1431320 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -547,6 +547,13 @@ end node[:hardware][:modules].each do |module_name| kernel_module module_name do action :install + not_if { kitchen? } + end +end + +node[:hardware][:blacklisted_modules].each do |module_name| + kernel_module module_name do + action :blacklist end end