munin/master_per_node: try to be backwards compatible
authorPeter Palfrader <peter@palfrader.org>
Sun, 22 Sep 2019 13:26:33 +0000 (15:26 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 22 Sep 2019 13:26:33 +0000 (15:26 +0200)
modules/munin/manifests/master_per_node.pp

index 8ae1ee3..eb1b5ca 100644 (file)
@@ -1,6 +1,9 @@
 # entry per-node to be collected on the master
-define munin::master_per_node() {
-  $client_fqdn               = $name
+define munin::master_per_node(
+  $client_fqdn               = $name,
+  $client_ipaddress          = undef,
+  $client_munin_async        = undef,
+) {
 
   file { "/etc/munin/munin-conf.d/${name}.conf":
     content => template('munin/munin.conf_per_node.erb'),