projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286882d
)
I wonder if we can call functions in arguments
author
Peter Palfrader
<peter@palfrader.org>
Wed, 2 Mar 2011 17:55:34 +0000
(18:55 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 2 Mar 2011 17:55:34 +0000
(18:55 +0100)
manifests/site.pp
patch
|
blob
|
history
diff --git
a/manifests/site.pp
b/manifests/site.pp
index
aff54f9
..
2f4f129
100644
(file)
--- 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