summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2011-07-28 13:23:52 -0400
committerGabriel Filion <lelutin@gmail.com>2012-04-10 00:09:15 -0400
commitc2391b7a83d8be4343622458b852bf90bd3919b6 (patch)
treec66009986f72d6e0cc6963aad82877e27a658177
parentd0b45ed20e2d13e70d13dbd53a8a8ba8650298c9 (diff)
default processorcount to 1 if it is not present
-rw-r--r--manifests/nrpe/base.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/nrpe/base.pp b/manifests/nrpe/base.pp
index c14692e..f0c76b1 100644
--- a/manifests/nrpe/base.pp
+++ b/manifests/nrpe/base.pp
@@ -1,6 +1,7 @@
class nagios::nrpe::base {
if $nagios_nrpe_cfgdir == '' { $nagios_nrpe_cfgdir = '/etc/nagios' }
+ if $processorcount == '' { $processorcount = 1 }
package { "nagios-nrpe-server": ensure => present;
"nagios-plugins-basic": ensure => present;