X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster_per_node.pp;h=9a9bb06e60f0115f294acb7c71d83309b75a582a;hb=fa67a3c70b0ad6f46691ee1495dfa7f249143d52;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..9a9bb06e6 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 - - file { "/etc/munin/munin-conf.d/${name}.conf": - content => template('munin/munin.conf_per_node.erb'), - } +# 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'), + } }