From e335357ad435c3bd9648d1763a229fd3a6077a8f Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Thu, 28 Jul 2011 13:33:58 -0400 Subject: make the nrpe service depend on the package --- manifests/nrpe/base.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/nrpe') 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"], } } -- cgit v1.2.3