summaryrefslogtreecommitdiff
path: root/manifests/pnp4nagios.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/pnp4nagios.pp')
-rw-r--r--manifests/pnp4nagios.pp9
1 files changed, 4 insertions, 5 deletions
diff --git a/manifests/pnp4nagios.pp b/manifests/pnp4nagios.pp
index bdeb9b4..a7e1c73 100644
--- a/manifests/pnp4nagios.pp
+++ b/manifests/pnp4nagios.pp
@@ -1,4 +1,4 @@
-# configure pnp4nagios
+# manage pnp4nagios
class nagios::pnp4nagios {
include nagios::defaults::pnp4nagios
@@ -11,7 +11,7 @@ class nagios::pnp4nagios {
# see http://projects.reductivelabs.com/issues/1180 for this limitation
file { 'pnp4nagios-templates.cfg':
- path => "${nagios::defaults::vars::int_cfgdir}/conf.d/pnp4nagios-templates.cfg",
+ path => "${nagios::defaults::vars::int_cfgdir}/pnp4nagios-templates.cfg",
source => [ 'puppet:///modules/site_nagios/pnp4nagios/pnp4nagios-templates.cfg',
'puppet:///modules/nagios/pnp4nagios/pnp4nagios-templates.cfg' ],
mode => '0644',
@@ -22,9 +22,8 @@ class nagios::pnp4nagios {
file { 'apache.conf':
path => '/etc/pnp4nagios/apache.conf',
- source => [
- 'puppet:///modules/site_nagios/pnp4nagios/apache.conf',
- 'puppet:///modules/nagios/pnp4nagios/apache.conf' ],
+ source => ['puppet:///modules/site_nagios/pnp4nagios/apache.conf',
+ 'puppet:///modules/nagios/pnp4nagios/apache.conf' ],
mode => '0644',
owner => root,
group => root,