From 30e19317e07b69ba1ccaabd9d90e6003f04aad2c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Mar 2011 18:55:34 +0100 Subject: [PATCH] I wonder if we can call functions in arguments --- manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index aff54f9e4..2f4f1291b 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -17,7 +17,7 @@ node default { $localinfo = yamlinfo('*', "/etc/puppet/modules/debian-org/misc/local.yaml") $nodeinfo = nodeinfo($fqdn, "/etc/puppet/modules/debian-org/misc/local.yaml") $allnodeinfo = allnodeinfo("sshRSAHostKey ipHostNumber", "purpose mXRecord") - notice( sprintf("hoster for %s is %s", $fqdn, $nodeinfo) ) + notice( sprintf("hoster for %s is %s", $fqdn, getfromhash($nodeinfo, 'hoster', 'name') ) include munin-node include syslog-ng -- 2.20.1