sundry cleanup after offline work
authorroot <root@puppetmaster.black.co.at>
Tue, 9 Oct 2007 12:32:47 +0000 (14:32 +0200)
committerroot <root@puppetmaster.black.co.at>
Tue, 9 Oct 2007 12:32:47 +0000 (14:32 +0200)
manifests/client.pp
templates/defaultclient.erb

index 8ee1552..5b78186 100644 (file)
@@ -53,7 +53,7 @@ define munin::register()
                default => $munin_host
        }
 
-       @@file { "munin_node_${name}_${port}": path => "${NODESDIR}/${name}_${munin_port}",
+       @@file { "${NODESDIR}/${name}_${munin_port_real}":
                ensure => present,
                content => template("munin/defaultclient.erb"),
        }
index 0f7fc2e..954a0cb 100644 (file)
@@ -3,7 +3,6 @@
        dom = domain.downcase
        host = hostname.downcase
        fhost = name.downcase
-       ip = Facter['ip']
 %>
 ### This syntax can be extended, it might get better ...
 #+<%= dom %>