From: Stephen Gran Date: Mon, 16 Apr 2012 09:31:17 +0000 (+0100) Subject: make printf debug prettier X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=39b1f47c9704e1f143714bec6800a26a27911572;p=mirror%2Fdsa-puppet.git make printf debug prettier Signed-off-by: Stephen Gran --- diff --git a/modules/site/manifests/init.pp b/modules/site/manifests/init.pp index 6ed7fc51d..21f9576f0 100644 --- a/modules/site/manifests/init.pp +++ b/modules/site/manifests/init.pp @@ -5,7 +5,7 @@ class site { $allnodeinfo = allnodeinfo('sshRSAHostKey ipHostNumber', 'purpose mXRecord physicalHost purpose') notice( sprintf('hoster for %s is %s', $::fqdn, getfromhash($nodeinfo, 'hoster', 'name') ) ) notice( sprintf('facter hoster for %s is %s', $::fqdn, $::hoster) ) - notice( sprintf('hiera resolver for %s is %s', $::fqdn, hiera('nameservers') ) ) + notice( sprintf('hiera resolver for %s is %s', $::fqdn, join_spc(hiera('nameservers') ) ) ) service { 'procps': hasstatus => false,