summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-22 15:24:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-22 15:24:56 -0300
commit3673e3872846a5d1d99d875091204e33d844e046 (patch)
tree6558c978ae1b87bc3637295d825b548f8af1e7c4
parent6c402ff7740e0ebf190415a003f17ee83c021804 (diff)
Specifying 'modules' in file path
-rw-r--r--manifests/base.pp2
-rw-r--r--manifests/nsca/server.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 8dd3955..6bf2533 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -55,7 +55,7 @@ class nagios::base {
file { 'nagios_private_resource_cfg':
path => "${nagios_cfgdir}/private/resource.cfg",
- source => "puppet://$server/nagios/configs/${operatingsystem}/private/resource.cfg.${architecture}",
+ source => "puppet://$server/modules/nagios/configs/${operatingsystem}/private/resource.cfg.${architecture}",
notify => Service['nagios'],
owner => root, group => nagios, mode => '0640';
}
diff --git a/manifests/nsca/server.pp b/manifests/nsca/server.pp
index c682e24..8cdfe75 100644
--- a/manifests/nsca/server.pp
+++ b/manifests/nsca/server.pp
@@ -11,7 +11,7 @@ class nagios::nsca::server {
file { '/etc/nsca.cfg':
source => [ "puppet://${server}/site-nagios/nsca/{$fqdn}/nsca.cfg",
"puppet://${server}/site-nagios/nsca/nsca.cfg",
- "puppet://${server}/nagios/nsca/nsca.cfg" ],
+ "puppet://${server}/modules/nagios/nsca/nsca.cfg" ],
owner => 'nagios',
group => 'nogroup',
mode => '400',