On Friday 02 October 2009 13:41:44 Michael Gliwinski wrote:
> On Friday 02 October 2009 07:35:57 Erling wrote:
> > On 28 Sep, 19:44, Eric Gerlach wrote:
> > > You might be able to do something like:
> > >
> > > realize User[kenneth]
> > >
> > > User[kenneth] {
> > > groups => $server_type
On Friday 02 October 2009 07:35:57 Erling wrote:
> On 28 Sep, 19:44, Eric Gerlach wrote:
> > You might be able to do something like:
> >
> > realize User[kenneth]
> >
> > User[kenneth] {
> > groups => $server_type ? {
> > typeA => "wheel",
> > default => un
On 28 Sep, 19:44, Eric Gerlach wrote:
> You might be able to do something like:
>
> realize User[kenneth]
>
> User[kenneth] {
> groups => $server_type ? {
> typeA => "wheel",
> default => undef,
> }
>
> }
>
> to realize it the way you want. Haven't
Hi, there
Im looking into the same thing. Did you come up with a decent solution?
Regards
Bjørn Dyresen
2009/9/28 Eric Gerlach
>
> On Fri, Sep 18, 2009 at 09:08:37AM +0200, Kenneth Holter wrote:
> > Hi.
> >
> >
> > I've defined a virtual user "kenneth", and depending on a variable in the
> > n
On Fri, Sep 18, 2009 at 09:08:37AM +0200, Kenneth Holter wrote:
> Hi.
>
>
> I've defined a virtual user "kenneth", and depending on a variable in the
> node definiton I'd like to add the users to different groups. Consider this
> example:
>
> ## Code start
>
> node "server.example.com" {