X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster_per_node.pp;h=8ae1ee3be832935bfcb267116471fc8f43b6ce7b;hb=fd26356c64527a14c8aeffa7195947c9f41016f4;hp=cdb1dec0c95efeec8015ba520d757e2149df4880;hpb=6f2e5fc86e49c12b12eef39fc69e0e810a32c318;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/manifests/master_per_node.pp b/modules/munin/manifests/master_per_node.pp index cdb1dec0c..8ae1ee3be 100644 --- a/modules/munin/manifests/master_per_node.pp +++ b/modules/munin/manifests/master_per_node.pp @@ -1,9 +1,8 @@ -define munin::master_per_node($ipaddress, $munin_async) { - $client_fqdn = $name - $client_ipaddress = $ipaddress - $client_munin_async = $munin_async +# entry per-node to be collected on the master +define munin::master_per_node() { + $client_fqdn = $name - file { "/etc/munin/munin-conf.d/${name}.conf": - content => template('munin/munin.conf_per_node.erb'), - } + file { "/etc/munin/munin-conf.d/${name}.conf": + content => template('munin/munin.conf_per_node.erb'), + } }