From 4fa73b169da9fad048bce0499b2595768bb4a261 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 21 Jul 2014 19:47:33 +0100 Subject: [PATCH] Fix indentation --- cookbooks/hardware/recipes/default.rb | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 0f3a77353..59a078894 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -152,20 +152,21 @@ if node[:kernel][:modules].include?("ipmi_si") 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 + package "irqbalance" - service "irqbalance" do - action [ :start, :enable ] - supports :status => false, :restart => true, :reload => false - subscribes :restart, "template[/etc/default/irqbalance]" - end + 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 = [] -- 2.39.5