From: Grant Slater Date: Sat, 18 Apr 2020 14:34:05 +0000 (+0100) Subject: Do not install RAID monitor on container environments X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ca266d181b37d2e2c3180e07a6ba801060a8ec1f Do not install RAID monitor on container environments --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 77c4356c3..021cc1da5 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -197,7 +197,9 @@ tools_packages = [] status_packages = {} if node[:virtualization][:role] != "guest" || - node[:virtualization][:system] != "lxd" + (node[:virtualization][:system] != "lxc" && + node[:virtualization][:system] != "lxd" && + node[:virtualization][:system] != "openvz") node[:kernel][:modules].each_key do |modname| case modname