summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2010-10-23 16:28:19 +0200
committerLeap devs <sysdev@leap.se>2012-09-19 16:06:22 +0000
commite412a2f09450c2ed19034619ae7d75c32d58b436 (patch)
treefcf05a592a019c3a55d1b9b6cacc79c47b27e6f9
parent124754b2fe6cfcc88b4f4c02ca690f141511bae2 (diff)
possibility to deploy a custom pnp4nagios apache config
-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'],
+ }
+
+
}