On Mon, Mar 19, 2012 at 2:58 PM, Guy Matz <[email protected]> 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 [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.
