From 31acd746192491bedb20ad9f13c5bcc8cdbfc18b Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 19 Mar 2020 16:08:39 +0000 Subject: [PATCH] No longer set default irqbalance config --- cookbooks/hardware/recipes/default.rb | 8 ------ .../hardware/templates/default/irqbalance.erb | 26 ------------------- 2 files changed, 34 deletions(-) delete mode 100644 cookbooks/hardware/templates/default/irqbalance.erb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index dd2f905ca..66fedff1a 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -181,17 +181,9 @@ package "ipmitool" if node[:kernel][:modules].include?("ipmi_si") package "irqbalance" -template "/etc/default/irqbalance" do - source "irqbalance.erb" - owner "root" - group "root" - mode 0o644 -end - service "irqbalance" do action [:start, :enable] supports :status => false, :restart => true, :reload => false - subscribes :restart, "template[/etc/default/irqbalance]" end # Link Layer Discovery Protocol Daemon diff --git a/cookbooks/hardware/templates/default/irqbalance.erb b/cookbooks/hardware/templates/default/irqbalance.erb deleted file mode 100644 index bd87e3dac..000000000 --- a/cookbooks/hardware/templates/default/irqbalance.erb +++ /dev/null @@ -1,26 +0,0 @@ -# irqbalance is a daemon process that distributes interrupts across -# CPUS on SMP systems. The default is to rebalance once every 10 -# seconds. This is the environment file that is specified to systemd via the -# EnvironmentFile key in the service unit file (or via whatever method the init -# system you're using has. -# -# ONESHOT=yes -# after starting, wait for a minute, then look at the interrupt -# load and balance it once; after balancing exit and do not change -# it again. -#IRQBALANCE_ONESHOT= - -# -# IRQBALANCE_BANNED_CPUS -# 64 bit bitmask which allows you to indicate which cpu's should -# be skipped when reblancing irqs. Cpu numbers which have their -# corresponding bits set to one in this mask will not have any -# irq's assigned to them on rebalance -# -#IRQBALANCE_BANNED_CPUS= - -# -# IRQBALANCE_ARGS -# append any args here to the irqbalance daemon as documented in the man page -# -#IRQBALANCE_ARGS= -- 2.43.2