summaryrefslogtreecommitdiff
path: root/manifests/nsca
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-11 15:58:07 +0200
committermh <mh@immerda.ch>2010-08-11 15:58:07 +0200
commit25e0862d29da6b99b1195942cc994780fbbf68ab (patch)
treed056aaf6ce7301a296fc0476ec04704da0278c3d /manifests/nsca
parent01bb8dfee9c3981994d1697fc96470798445a050 (diff)
remove unnecessary fileserver variable (#2460) round II
Diffstat (limited to 'manifests/nsca')
-rw-r--r--manifests/nsca/client.pp6
-rw-r--r--manifests/nsca/server.pp6
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/nsca/client.pp b/manifests/nsca/client.pp
index 5314b3d..6e2c472 100644
--- a/manifests/nsca/client.pp
+++ b/manifests/nsca/client.pp
@@ -3,9 +3,9 @@ class nagios::nsca::client {
package { 'nsca': ensure => installed }
file { '/etc/send_nsca.cfg':
- source => [ "puppet://${server}/modules/site-nagios/nsca/{$fqdn}/send_nsca.cfg",
- "puppet://${server}/modules/site-nagios/nsca/send_nsca.cfg",
- "puppet://${server}/modules/nagios/nsca/send_nsca.cfg" ],
+ source => [ "puppet:///modules/site-nagios/nsca/{$fqdn}/send_nsca.cfg",
+ "puppet:///modules/site-nagios/nsca/send_nsca.cfg",
+ "puppet:///modules/nagios/nsca/send_nsca.cfg" ],
owner => 'nagios',
group => 'nogroup',
mode => '400',
diff --git a/manifests/nsca/server.pp b/manifests/nsca/server.pp
index e1cb83c..9239f21 100644
--- a/manifests/nsca/server.pp
+++ b/manifests/nsca/server.pp
@@ -9,9 +9,9 @@ class nagios::nsca::server {
}
file { '/etc/nsca.cfg':
- source => [ "puppet://${server}/modules/site-nagios/nsca/{$fqdn}/nsca.cfg",
- "puppet://${server}/modules/site-nagios/nsca/nsca.cfg",
- "puppet://${server}/modules/nagios/nsca/nsca.cfg" ],
+ source => [ "puppet:///modules/site-nagios/nsca/{$fqdn}/nsca.cfg",
+ "puppet:///modules/site-nagios/nsca/nsca.cfg",
+ "puppet:///modules/nagios/nsca/nsca.cfg" ],
owner => 'nagios',
group => 'nogroup',
mode => '400',