Issue #6650 has been updated by Luke Kanies.

Status changed from Unreviewed to Duplicate

I didn't realize this ticket existed when I created #6851.  They're both fixed 
now.
----------------------------------------
Bug #6650: resource type indirector should return all resources per 
environment, not manifest
https://projects.puppetlabs.com/issues/6650

Author: Dan Bode
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


The search methods resource_type indirector seems to only work for a single 
manifest

<pre>
irb(main):001:0> require 'puppet'
=> true
irb(main):002:0> Puppet::Resource::Type.search('*').each do |x| puts x.to_s end
</pre>

The above command only returns resources specified in Puppet[:manifest]

search('*') should return all resources in the modulepath

for bonus points, the ability to just search for hostclasses or nodes would be 
ideal.

I believe this needs to be implemented for #3503


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to