From: Peter Palfrader Date: Wed, 2 Mar 2011 14:59:25 +0000 (+0100) Subject: Maybe the other calls say function_$foo for a reason X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5c56891f20ce485f48ccbd9221b2f35e9d423ad1;p=mirror%2Fdsa-puppet.git Maybe the other calls say function_$foo for a reason --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb index 947caf70a..f08405080 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb @@ -12,7 +12,7 @@ module Puppet::Parser::Functions unless results['ldap']['ipHostNumber'] raise Puppet::ParseError, "Host #{host} does not have ipHostNumber values in ldap" end - results['hoster'] = whohosts(results['ldap']['ipHostNumber'], "/etc/puppet/modules/debian-org/misc/hoster.yaml") + results['hoster'] = function_whohosts(results['ldap']['ipHostNumber'], "/etc/puppet/modules/debian-org/misc/hoster.yaml") results['misc'] = {} fqdn = lookupvar('fqdn')