From: Tom Hughes Date: Mon, 3 Feb 2014 22:32:14 +0000 (+0000) Subject: Install ipmitool on machines with the ipmi_si module loaded X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/6cc470f594f7cdf414ce249fce84c489f121d1e3?hp=d75d177c3903975baded0a013b893fe26fe577ae;ds=sidebyside Install ipmitool on machines with the ipmi_si module loaded --- 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 = {}