[Puppet Users] Adding users by using 'spaceship' syntax

2011-11-15 Thread Justin Spies
::define_ssh {'jspies': name => 'Justin Spies', email => 'jus...@gmail.com', userid => 1001 } users::define_ssh {'jdoe': name => 'John Doe, email => 'j...@doe.com', userid => 1002 }

[Puppet Users] Re: Adding users by using 'spaceship' syntax

2011-11-15 Thread Justin Spies
On Nov 15, 12:27 pm, Stephan wrote: > Hi Justin, > > > So I'd like to avoid having to type the user titles in the call to > > users::create. Is there a way to do this using the 'User <| group == > > 'ssh' |>' syntax to select what I want? > > Unfortunately the spaceship operator can't contain an

[Puppet Users] Re: Adding users by using 'spaceship' syntax

2011-11-16 Thread Justin Spies
ight be overkill. > > So I agree that for you the spaceship makes sense. But am afraid won't > be of much help. Am still struggling myself to get my head around it, > and must admit, am not really overly impressed by it so far. But rule > 1 with open source: "contribute noth