summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2010-10-23 16:28:19 +0200
committervarac <varacanero@zeromail.org>2012-09-17 16:01:37 +0200
commit74e742e31d48c5ce85d8d16596c15e108e065d2c (patch)
tree86b5ebd4e470508a42ccc12058061842db4cca33 /manifests
parentd34da8424e8b35022f6d5f2ee9a68bc6cedccad6 (diff)
possibility to deploy a custom pnp4nagios apache config
Diffstat (limited to 'manifests')
-rw-r--r--manifests/pnp4nagios.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index 051bad8..9fa4d63 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -14,4 +14,14 @@ class nagios::pnp4nagios {
source => [ "puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-templates.cfg",
"puppet:///modules/nagios/pnp4nagios/pnp4nagios-templates.cfg" ]
}
+
+ file { 'apache.conf':
+ path => "/etc/pnp4nagios/apache.conf",
+ source => [ "puppet:///modules/site-nagios/pnp4nagios/apache.conf",
+ "puppet:///modules/nagios/configs/apache.conf"
+ ],
+ notify => Service['apache'],
+ }
+
+
}