From 09771eeecb61394bcd78bccbbaaf5c8d1400fa4e Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 24 Apr 2008 12:26:34 +0000 Subject: unified fileserver location, in the future the fileserver should only be accessed by $server --- manifests/init.pp | 10 +++++----- 1 file 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]; # } -- cgit v1.2.3