summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-18 10:22:09 +0200
committerMicah Anderson <micah@riseup.net>2013-02-14 17:59:00 -0500
commit139e8fd42661848da4765b8c4f65fe85a54a2d9f (patch)
tree000cf7e9e68e6eb0bcad5e75d93ea14c7f622a1e
parent54695b64c2ac83962a461cefd91c79c2fd5775ab (diff)
require pnp4nagios package for config file
-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