Hi Tony
Thanks for the quick answer.
Yes the group is defined in the LDAP too with the same GID. And here
the definition:
@user { auser:
comment => 'Some user',
ensure => present,
gid => somegid,
uid => 300,
groups => 'agroup',
home => '/application/home/auser',
shell => '/bin/bash',
require => [ Group['auser'], Group['agroup'] ],
}
I have no idea what is going wrong.....
On Mar 2, 4:53 pm, "Tony G." <[email protected]> wrote:
> Hi Rene,
>
> Couple of things you might check:
>
> Do you have the agroup defined in LDAP too? If so that ldap group might
> have a differente gid as the local one.
>
> How looks the definition of the user in users::db?
>
>
>
> On Tue, Mar 2, 2010 at 8:44 AM, Rene <[email protected]> wrote:
> > On the System we have defined the user auser as:
> > /etc/passwd:
> > auser:x:300:300:auser User:/application/home/auser:/bin/bash
> > /etc/group:
> > agroup:x:126:auser
>
> > So id auser gives:
> > uid=300(auser) gid=300(auser) groups=126(agroup),300(auser)
>
> > In the LDAP we have:
> > #getent passwd auser
> > auser:x:300:300:auser User:/application/home/auser:/bin/bash
> > and
> > #getent group agroup
> > agroup:x:126:auser
>
> > Basically the same definition.
>
> > Now everytime I run puppet I get:
> > notice: //Node[default]/oracle/users::db/User[auser]/groups: groups
> > changed 'agroup,agroup' to 'agroup'
> > This is really strange.....
>
> > Does anybody know what the problem is here. Does Puppet Merge the
> > groups from local and ldap?
>
> > Any hint is appreciated.
>
> > BR, Rene
>
> > --
> > 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]<puppet-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.
>
> --
> Tony
--
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.