On Oct 11, 4:38 am, Stephan <[email protected]> wrote:
>      User<| title == $app-admin |> {
>           groups +> "$title",
>      }

Stephan, I think you might want an "in" expression:

http://docs.puppetlabs.com/guides/language_guide.html#in-expressions

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?

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