From e85c72adcbee777243a5bebc2d7591ed105dd7fb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Mar 2011 18:56:16 +0100 Subject: [PATCH] nope, we cannot call functions in arguments --- manifests/site.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index 2f4f1291b..cef0b874c 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -17,7 +17,8 @@ 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, getfromhash($nodeinfo, 'hoster', 'name') ) + $tmp = getfromhash($nodeinfo, 'hoster', 'name') + notice( sprintf("hoster for %s is %s", $fqdn, $tmp ) include munin-node include syslog-ng -- 2.20.1