On Tue, Oct 11, 2011 at 5:48 PM, Nick Fagerlund <
[email protected]> wrote:

> I've never tried these with the collection operator, but it would look
> something like:
>
> User<| title in $app-admin |> {
>  groups +> "$title",
> }
>
> Does that work?
>

I wish it did.  However, what you proposed results in an error.  I think the
collection is expecting a attribute name on the left.

Error 400 on SERVER: Could not parse for environment production: Syntax
error at 'in'; expected '|>'

Jeremy

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