Sorry to be a thread-necromancer, but we're seeing the same problem on a 
tiny subset of our hosts. We saw the problem on a CentOS 5 x86_64 host, 
then it mysteriously went away, and now we're consistently seeing it on a 
CentOS 5 i386 host. As with pattryn, the resource applies successfully when 
run from the command line with *puppet apply*, but does not when Puppet is 
running with *puppet agent -t*. SELinux is in permissive mode. Things work 
fine when nscd is running, but like many CentOS 5 users, we'll never touch 
that thing in production.

We saw this behavior originally on the 2.7 client, upgraded to the 3.0 
client, and are still seeing the issue.

Anyone have any ideas?

-Jeff

On Wednesday, July 18, 2012 3:09:07 PM UTC-4, jcbollinger wrote:
>
>
>
> On Wednesday, July 18, 2012 9:09:12 AM UTC-5, krish wrote:
>>
>> On Wed, Jul 18, 2012 at 7:28 PM, pattryn <pat...@gmail.com <javascript:>> 
>> wrote: 
>> > Nope. 
>> > 
>> > Curiously it works if I enable the nscd daemon but it's not very 
>> reliable 
>> > and I would prefer not to use it. 
>> > 
>>
>>
>> nscd is kinda required to read your passwd database and such.
>
>
> Not so.  Nscd is an entirely optional service.  Many people don't use it.  
> Some Linux distros don't even install it by default.
>  
>
>> AFAIK, 
>> puppet relies on it to read if a user/group exist <-- Can someone 
>> re-confirm? :) 
>>
>
> No, because that's not true either.  How Puppet determines which users and 
> groups exist depends on which User and Group "providers" are chosen, which 
> depends on the OS and the available tools, but nscd is not relevant -- it 
> doesn't operate at the level of the system tools Puppet uses.
>
>
> John
>
>

-- 
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/-/fDItE2r_wA0J.
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.

Reply via email to