package "ipmitool"
end
+package "irqbalance"
+if node[:lsb][:release].to_f >= 12.10
+ template "/etc/default/irqbalance" do
+ source "irqbalance.erb"
+ owner "root"
+ group "root"
+ mode 0644
+ end
+
+ service "irqbalance" do
+ action [ :start, :enable ]
+ supports :status => false, :restart => true, :reload => false
+ subscribes :restart, "template[/etc/default/irqbalance]"
+ end
+end
+
tools_packages = []
status_packages = {}
--- /dev/null
+# DO NOT EDIT - This file is being maintained by Chef
+#Configuration for the irqbalance daemon
+
+#Should irqbalance be enabled?
+ENABLED="1"
+#Balance the IRQs only once?
+ONESHOT="0"
+
+#irqbalance maintainer recommends ignore hint policy
+#http://sourceforge.net/p/e1000/bugs/394/?page=1
+OPTIONS="--hintpolicy=ignore"