Peter
2010-Jan-14 07:28 UTC
[Puppet Users] Making puppet only update /etc/users and /etc/groups on solaris
Hi, We use ldap in compatibility mode and I would like to ensure users ad groups for service accounts are in the local files database. Puppet uses getpwent etc all to access user and group information. I saw issue #708 but I don''t believe there is any progress on this. This Is what I did as a workaround: mkdir /puppetroot mount -F lofs / /puppetroot mount -F lofs /puppetroot/etc/nsswitch.files /puppetroot/etc/ nsswitch.conf mount -F lofs /puppetroot/dev/null /puppetroot/var/run/ name_service_door in "/opt/sfw/lib/svc/method/svc-puppetd" chroot /puppetroot /opt/sfw/sbin/puppetd now puppet isnt aware of ldap for users and groups I don''t know if this workaround would work for linux I will try that another day. I would love to help with a parsed files provider for users and groups as this seems far more sensible. I''m new to ruby so getting arround the source is a bit of a challenge at the moment though. Thanks Peter -- 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.