On Mon, Mar 19, 2012 at 2:58 PM, Guy Matz <gm...@matz.org> wrote:
> Hi!  Anyone knoe if it's possible to realize resources with the spaceship
> operator checking for regex equality?
>
> Something like:
>
> User<| group =~ /(qa|prod)/ |>
>
> If not, anyone know of another way to do this sort of thing?

No regex support, but I think you can do User <| (group == 'qa' or
group == 'prod') |>.

HTH,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to