On 03/04/2011 03:50 AM, Atha Kouroussis wrote:
> 
> Hi all,
> I'm trying to find a way to collect exported resources based not only on
> a tag but also based on the originating node. Currently exported
> resources can't collected using more than one criteria, but I can get
> around that by wrapping the resource in a define and exporting that. 
> 
> I can't seem to find a way though to use the host information in the
> resources table to collect the resources I want. This does nothing:
> 
> SomeResource <<| host == "some_host" |>>
> 
> Has anyone tried this before? Thanks in advance for all your help!

Hi,

maybe I'm being dense, but couldn't you tag the resources with the
respective hostname?

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to