diff options
author | nadir <nadir-technik@nadir.org> | 2010-10-23 16:28:19 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-09-17 16:01:37 +0200 |
commit | 74e742e31d48c5ce85d8d16596c15e108e065d2c (patch) | |
tree | 86b5ebd4e470508a42ccc12058061842db4cca33 | |
parent | d34da8424e8b35022f6d5f2ee9a68bc6cedccad6 (diff) |
possibility to deploy a custom pnp4nagios apache config
-rw-r--r-- | manifests/pnp4nagios.pp | 10 |
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'], + } + + } |