]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Don't try and install kernel modules when running tests
[chef.git] / cookbooks / hardware / recipes / default.rb
index 7736cd507c7aa6a34a6bcfa9cc84a47768a11948..7f1431320dd389d532e6157db5852150965a720b 100644 (file)
@@ -547,6 +547,7 @@ end
 node[:hardware][:modules].each do |module_name|
   kernel_module module_name do
     action :install
+    not_if { kitchen? }
   end
 end