I have been tinkering off and on with this. 
Try setting up a few users with more than one entry in "groups" 

The double equal sign operator might work for this. 
If I get a chance to re-visit that sandbox, I will reply to this thread again. 

Using Puppet 3 helps. 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Kubes" <[email protected]> 
To: [email protected] 
Sent: Friday, February 15, 2013 12:12:59 AM 
Subject: [Puppet Users] Relize uses buy groups membership 

Hello, 


I have created my users via virtual definitions and hiera. Now I want to 
realize the virutal users by "groups". 


I have an trying the following syntax: 
User::Virtual <| groups == wheel |> 






BTW: This works fine: 
User::Virtual <| title == bsmith |> 


Is the there a comparison for "in" for the spaceship operator? As group is an 
array. 


Any other ideas how to realize a entire group of admins? 


Thanks 





-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group. 
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]. 
To post to this group, send email to [email protected]. 
Visit this group at http://groups.google.com/group/puppet-users?hl=en . 
For more options, visit https://groups.google.com/groups/opt_out . 


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to