From: Stephen Gran Date: Mon, 16 Apr 2012 19:09:58 +0000 (+0100) Subject: Revert "make this explode" X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=222170d9353a0274b20d04d61028a794efb78d59;p=mirror%2Fdsa-puppet.git Revert "make this explode" This reverts commit 1fb1e088994c071cb659b10b8d4aaafbda70fbf6. --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb index 6d465520d..74dcd892b 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb @@ -13,7 +13,6 @@ module Puppet::Parser::Functions raise Puppet::ParseError, "Host #{host} does not have ipHostNumber values in ldap" end nodeinfo['hoster'] = function_whohosts(nodeinfo['ldap']['ipHostNumber'], "/etc/puppet/modules/debian-org/misc/hoster.yaml") - raise Puppet::ParseError, "#{nodeinfo['ldap']['purpose']}" nodeinfo['buildd'] = nodeinfo['ldap']['purpose'].include?('buildd') nodeinfo['misc'] = {}