summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-24 12:26:34 +0000
committermh <mh@immerda.ch>2008-04-24 12:26:34 +0000
commit09771eeecb61394bcd78bccbbaaf5c8d1400fa4e (patch)
treeb2097652b646c15d2b209299706905b5a61b425f /manifests/init.pp
parent303aaaf3e9335c0cc0f38b66c9ad4d9a62114538 (diff)
unified fileserver location, in the future the fileserver should only be accessed by $server
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1657f8c..6504736 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -124,8 +124,8 @@ class nagios::base {
file {
"$etc_nagios_path/htpasswd.users":
source => [
- "puppet://$servername/files/nagios/htpasswd.users",
- "puppet://$servername/nagios/htpasswd.users"
+ "puppet://$server/files/nagios/htpasswd.users",
+ "puppet://$server/nagios/htpasswd.users"
],
mode => 0640, owner => root, group => apache;
}
@@ -206,8 +206,8 @@ class nagios::base {
file {
"$etc_nagios_path/hosts.cfg":
source => [
- "puppet://$servername/files/nagios/hosts.cfg",
- "puppet://$servername/nagios/hosts.cfg"
+ "puppet://$server/files/nagios/hosts.cfg",
+ "puppet://$server/nagios/hosts.cfg"
],
mode => 0644, owner => nagios, group => nagios;
}
@@ -232,7 +232,7 @@ class nagios::base {
#
# file {
# "/etc/nagios2/conf.d/hostgroups_nagios2.cfg":
-# source => "puppet://$servername/nagios/hostgroups_nagios2.cfg",
+# source => "puppet://$server/nagios/hostgroups_nagios2.cfg",
# mode => 0644, owner => root, group => www-data,
# notify => Service[nagios2];
# }