Sounds like you changed nsswitch.conf but haven't restarted puppet daemon. So puppet has no idea how to see those users. VFAQ ;-)
On May 29, 2012, at 2:06 AM, pattryn wrote: > I have this problem I can't figure out. I have a very simple define to deploy > SSH keys to certain LDAP users: > > define sshkeys::install () { > file{"/home/${title}": > ensure => directory, > owner => "${title}", > group => "ldapgroup", > } > } > > which I then call using: > > sshkeys::install{["user1","user2","user3"]:} > > When I run puppet from the command line works just fine. It creates the home > directories and and deploys the ssh keys (not shown in the example). However, > puppet also runs as a deamon every 30 minutes and this time it always fails > with "Could not find user XXXX". Can you think on any cause for this? > > I'm using puppet 2.7.5 on RH 5.6 with nss_ldap > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/Sm_12va2_aAJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.