From 1ca3978ff3094c01a56feaee6c37fc82e3224d15 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 18 Jun 2012 15:40:22 -0300 Subject: if it's * it should be collected by fqdn otherwise directly by what is given to be listened on --- manifests/client/base.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/client/base.pp b/manifests/client/base.pp index 1cba47b..84ba9b2 100644 --- a/manifests/client/base.pp +++ b/manifests/client/base.pp @@ -15,7 +15,10 @@ class munin::client::base { mode => 0644, owner => root, group => 0, } munin::register { $::fqdn: - host => $munin::client::host, + host => $munin::client::host ? { + '*' => $::fqdn, + default => $munin::client::host + }, port => $munin::client::port, config => [ 'use_node_name yes', 'load.load.warning 5', 'load.load.critical 10'], } -- cgit v1.2.3