summaryrefslogtreecommitdiff
path: root/manifests/nrpe
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2011-07-28 13:33:58 -0400
committerGabriel Filion <lelutin@gmail.com>2012-04-10 00:09:15 -0400
commite335357ad435c3bd9648d1763a229fd3a6077a8f (patch)
tree4e5bf36737897d1b814117173b409abe13f48d3a /manifests/nrpe
parentc2391b7a83d8be4343622458b852bf90bd3919b6 (diff)
make the nrpe service depend on the package
Diffstat (limited to 'manifests/nrpe')
-rw-r--r--manifests/nrpe/base.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/nrpe/base.pp b/manifests/nrpe/base.pp
index f0c76b1..f1809d7 100644
--- a/manifests/nrpe/base.pp
+++ b/manifests/nrpe/base.pp
@@ -44,6 +44,7 @@ class nagios::nrpe::base {
ensure => running,
enable => true,
pattern => "nrpe",
- subscribe => File["$nagios_nrpe_cfgdir/nrpe.cfg"]
+ subscribe => File["$nagios_nrpe_cfgdir/nrpe.cfg"],
+ require => Package["nagios-nrpe-server"],
}
}