From: Peter Palfrader Date: Wed, 2 Mar 2011 17:57:04 +0000 (+0100) Subject: unless all it really wants is as many ) as ( X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8e07fe0746eede00b88441660d30af08d621e623;p=mirror%2Fdsa-puppet.git unless all it really wants is as many ) as ( --- diff --git a/manifests/site.pp b/manifests/site.pp index cef0b874c..c31385cf9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -17,8 +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") - $tmp = getfromhash($nodeinfo, 'hoster', 'name') - notice( sprintf("hoster for %s is %s", $fqdn, $tmp ) + notice( sprintf("hoster for %s is %s", $fqdn, getfromhash($nodeinfo, 'hoster', 'name') ) ) include munin-node include syslog-ng