Re: [Puppet Users] service status doing strange stuff

2011-11-10 Thread Adrian Casajús
Hi, Thanks for the info. I found why the service was returning 0 when status was stopped. But the /sbin/service ypbind status is still getting puppet stuck. If I run it by hand it works perfectly. But puppet gets stuck after doing it. Cheers, Adri On 10 November 2011 13:04, Dick Davies wrot

Re: [Puppet Users] service status doing strange stuff

2011-11-10 Thread Dick Davies
Is yum-updatesd status returning true? That would act as you describe. If so, you could either push out a fixed init script or set 'hasstatus => false' and use the pattern parameter instead. (I prefer the former myself, since I have other things (monit etc.) that I want to use service scripts wit

[Puppet Users] service status doing strange stuff

2011-11-10 Thread Adrian Casajús
Hi all,   Puppet gets stuck in one machine after the line debug: Service[nis](provider=redhat): Executing '/sbin/service ypbind status' if I run by hand '/sbin/service ypbind status' it works properly: [root@host ~]# /sbin/service ypbind status ypbind (pid  12605) is running... [root@host ~]# e