From 6cc470f594f7cdf414ce249fce84c489f121d1e3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 3 Feb 2014 22:32:14 +0000 Subject: [PATCH] Install ipmitool on machines with the ipmi_si module loaded --- cookbooks/hardware/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 9fa225d26..b10eff2db 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -141,6 +141,10 @@ template "/etc/initramfs-tools/conf.d/mdadm" do notifies :run, "execute[update-initramfs]" end +if node[:kernel][:modules].include?("ipmi_si") + package "ipmitool" +end + tools_packages = [] status_packages = {} -- 2.39.5