From: Peter Palfrader Date: Wed, 2 Mar 2011 17:49:28 +0000 (+0100) Subject: I wonder if sprintf works X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ea7491ae46c186bb3d70c5af5e0527da78e3d8a8;p=mirror%2Fdsa-puppet.git I wonder if sprintf works --- diff --git a/manifests/site.pp b/manifests/site.pp index f0699a9e4..f72232fc9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -17,6 +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['hoster']['name']) ) include munin-node include syslog-ng