summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2008-04-22 17:48:10 +0200
committerMarcel Haerry <haerry@puzzle.ch>2008-04-22 17:48:10 +0200
commite85b733cb91b1987b38caec793ccce51dff88550 (patch)
tree26fd255bdb4eabfdde6e85fd353238a4b4fc5aa8
parent35a0cd69d1ecb7fdd2e77545d79f8e685a226f96 (diff)
initialised server var
-rw-r--r--manifests/host.pp2
-rw-r--r--manifests/plugin.pp6
2 files changed, 4 insertions, 4 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 74492b1..cdd7773 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -27,7 +27,7 @@ class munin::snmp_collector
file {
"/var/lib/puppet/modules/munin/create_snmp_links":
- source => "puppet://$servername/munin/create_snmp_links.sh",
+ source => "puppet://$server/munin/create_snmp_links.sh",
mode => 755, owner => root, group => 0;
}
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index aec1951..ec025f5 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -101,7 +101,7 @@ define munin::plugin::deploy ($source = '', $ensure = 'present', $config = '') {
debug ( "munin_plugin_${name}: name=$name, source=$source, script_path=$munin::plugin::scriptpaths::script_path" )
file { "munin_plugin_${name}":
path => "$munin::plugin::scriptpaths::script_path/${name}",
- source => "puppet://$servername/$real_source",
+ source => "puppet://$server/$real_source",
ensure => file,
mode => 0755, owner => root, group => 0;
}
@@ -116,7 +116,7 @@ class munin::plugins::base {
centos: {
file {
[ "/etc/munin/plugins", "/etc/munin/plugin-conf.d" ]:
- source => "puppet://$servername/munin/empty",
+ source => "puppet://$server/munin/empty",
ensure => directory, checksum => mtime,
recurse => true, purge => true, force => true,
mode => 0755, owner => root, group => 0;
@@ -129,7 +129,7 @@ class munin::plugins::base {
default: {
file {
[ "/etc/munin/plugins", "/etc/munin/plugin-conf.d" ]:
- source => "puppet://$servername/munin/empty",
+ source => "puppet://$server/munin/empty",
ensure => directory, checksum => mtime,
recurse => true, purge => true, force => true,
mode => 0755, owner => root, group => 0,