X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster-per-node.pp;h=1d8864e2a680aef4f0b26a7dd4413286dea3157a;hb=9803f153f851bc88fd2ae5d4b0fb6f3eab85175e;hp=5f8dee9b05363e7017faa0a0137f895813bd6d1f;hpb=996a1160f23dbaf10a537e6502f75a0dd1dbc0b2;p=dsa-puppet.git diff --git a/modules/munin/manifests/master-per-node.pp b/modules/munin/manifests/master-per-node.pp index 5f8dee9b..1d8864e2 100644 --- a/modules/munin/manifests/master-per-node.pp +++ b/modules/munin/manifests/master-per-node.pp @@ -1,4 +1,8 @@ -define munin::master-per-node() { +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'), }