From: Stephen Gran Date: Sun, 24 May 2009 12:10:44 +0000 (+0100) Subject: Add packagesqamaster to the list that nodeinfo will return X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=96b6450c6e8d00239eba647fcd61f76844dbc051;p=mirror%2Fdsa-puppet.git Add packagesqamaster to the list that nodeinfo will return Signed-off-by: Stephen Gran --- diff --git a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb index 84e5bc996..e9c81327a 100644 --- a/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb +++ b/files/etc/puppet/lib/puppet/parser/functions/nodeinfo.rb @@ -22,7 +22,7 @@ module Puppet::Parser::Functions end if yaml.has_key?('services') - ['bugsmaster', 'qamaster', 'mailrelay', 'rtmaster', 'packagesmaster'].each do |service| + ['bugsmaster', 'qamaster', 'mailrelay', 'rtmaster', 'packagesmaster', 'packagesqamaster'].each do |service| if yaml['services'].has_key?(service) results[service] = host == yaml['services'][service] end