projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Install ipmitool on machines with the ipmi_si module loaded
[chef.git]
/
cookbooks
/
hardware
/
recipes
/
default.rb
diff --git
a/cookbooks/hardware/recipes/default.rb
b/cookbooks/hardware/recipes/default.rb
index 9fa225d2669d00145d9fd2e1f451f3f0225f9428..b10eff2dbddbc9796451ff81bbd3def45846fd8e 100644
(file)
--- 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 = {}