It seems that it works if "nscd" is running. It'll do me for now...

On Tuesday, 29 May 2012 10:06:24 UTC+1, pattryn wrote:

> Hi all,
>  
> 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/-/9S4LfxBwz8sJ.
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.

Reply via email to