btw: I'm running puppet 0.25.5

On Sep 14, 3:53 pm, CraftyTech <[email protected]> wrote:
> Hello All,
>
>      I've been battling with issue all day to no avail.  I'm exporting
> all host entries this way:
> class basics::host_export  { @@host{ "$fqdn":
>                       ip => $ipaddress,
>                       host_aliases => $hostname,
>                       tag => $group
>                       }}
> and I'm collecting them this way:
> class basics::host_collect { Host <<|tag==$group |>> }
>
> The values for $group is obviously defined.  The thing is that
> specifying the tag=>$group doesn't work for me, I always get (from
> debug mode):
>
> debug: Scope(Class[basics::basics::host_collect]): Collected 0 Host
> resources in 0.01 seconds..
>
> It doesn't collect any nodes even though I've defined a couple.  If I
> do the same thing without the tag definition, it works fine; i.e:
>
> class basics::host_export  { @@host{ "$fqdn":
>                       ip => $ipaddress,
>                       host_aliases => $hostname
>                       }}
> class basics::host_collect { Host <<| |>> }
>
> The thing is that I don't want to get all hosts, I want to filter per
> group.  Can anyone share how they're doing this?  Thanks,

-- 
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