X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster-per-node.pp;h=1d8864e2a680aef4f0b26a7dd4413286dea3157a;hb=d55193d32bcface5935ae2a6acc2cdc6eed71a80;hp=5f8dee9b05363e7017faa0a0137f895813bd6d1f;hpb=996a1160f23dbaf10a537e6502f75a0dd1dbc0b2;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/manifests/master-per-node.pp b/modules/munin/manifests/master-per-node.pp index 5f8dee9b0..1d8864e2a 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'), }