On 04/26/2011 10:16 PM, ncdirtbag wrote:> hey all, I am running puppet and running into a conflict with nis when
> trying to add a local group to this particular server.
>
> [root@old-neon]$ ${PUPPET_TREE}/scripts/run-puppet
> err: /Stage[main]/Disco::Group/Group[mygroup]/ensure: change from
> absent to present failed: Could not create group mygroup: Execution of
> ''/usr/sbin/groupadd -g 25 mygroup'' returned 4: groupadd:
GID 25 is not
> unique
>
> [root@old-neon]$
>
> the group 25 exists in NIS maps on the server to which this server is
> currently bound..
>
> any suggestions/thoughts on how to override/avoid this?
Hi,
I''m not sure where you''re going with this question.
If you need to be able to create group 25 on arbitrary hosts, remove it
from NIS.
If you want to create arbitrary groups and evade GID collisions,
well...don''t specify static GIDs in your manifest.
HTH,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.