summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-18 10:22:09 +0200
committervarac <varacanero@zeromail.org>2012-09-18 10:22:09 +0200
commitda1d0b5869fe78481f372d2aaf7ba2afbec05394 (patch)
tree9438e01dceea0ce3f00e65d502283ffbd2dbbda8 /manifests
parentfae49587b5ba31fdab31dfca73ac59227aafff64 (diff)
require pnp4nagios package for config file
Diffstat (limited to 'manifests')
-rw-r--r--manifests/pnp4nagios.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index 1eb2bf7..0f86d2a 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -22,7 +22,8 @@ class nagios::pnp4nagios {
source => [ "puppet:///modules/site-nagios/pnp4nagios/apache.conf",
"puppet:///modules/nagios/pnp4nagios/apache.conf" ],
mode => 0644, owner => root, group => root,
- notify => Service['apache'];
+ notify => Service['apache'],
+ require => Package['pnp4nagios'],
}
# run npcd as daemon