From: Peter Palfrader Date: Wed, 30 Aug 2017 08:47:02 +0000 (+0000) Subject: install irqbalance on multi-cpu systems X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1c3ee9aeff0a4f334803eaf9e2a8a03c78710ac9;p=mirror%2Fdsa-puppet.git install irqbalance on multi-cpu systems --- diff --git a/modules/debian_org/manifests/init.pp b/modules/debian_org/manifests/init.pp index eb0c4255e..3861d7183 100644 --- a/modules/debian_org/manifests/init.pp +++ b/modules/debian_org/manifests/init.pp @@ -313,4 +313,10 @@ class debian_org { file { '/root/.vimrc': source => 'puppet:///modules/debian_org/root-dotfiles/vimrc', } + + if versioncmp($::lsbmajdistrelease, '9') >= 0 { # older puppets do facts as strings. + if $::processorcount > 1 { + package { 'irqbalance': ensure => installed } + } + } }