service top parameter seems to be ignored

9 views
Skip to first unread message

Vincent Louviaux

unread,
Feb 25, 2009, 6:52:29 AM2/25/09
to puppet...@googlegroups.com
Hello,

I am trying to disable a process , but the stop parameter seems to be ignored
from the output of puppetd -tv :
..
err: /:main/sastools/Service[cfexecd]/ensure: change from running to stopped failed: Execution of '/sbin/service cfexecd stop' returned 1: cfexecd: unrecognized service
..

from the manifests :
    service  { cfexecd:
         stop=>"/usr/bin/killall cfexecd",
         ensure => stopped,
    }




# puppetd --version
0.24.7
on  Red Hat Enterprise Linux ES release 4 (Nahant Update 6)




A bug ?

Vincent



Bruce Richardson

unread,
Feb 25, 2009, 7:03:12 AM2/25/09
to puppet...@googlegroups.com
On Wed, Feb 25, 2009 at 12:52:29PM +0100, Vincent Louviaux wrote:
> Hello,
>
> I am trying to disable a process , but the stop parameter seems to be
> ignored
> from the output of puppetd -tv :
> ..
> err: /:main/sastools/Service[cfexecd]/ensure: change from running to stopped
> failed: Execution of '*/sbin/service cfexecd stop*' returned 1: cfexecd:

> unrecognized service
> ..
>
> from the manifests :
> service { cfexecd:
> stop=>"*/usr/bin/killall cfexecd*",
> ensure => stopped,
> }
>

Do you really have those asterisks in there, or did you add them for
emphasis?

--
Bruce

Remember you're a Womble.

Trevor Vaughan

unread,
Feb 25, 2009, 7:11:36 AM2/25/09
to puppet...@googlegroups.com
I ran into this problem as well.

I ended up having to set my 'provider' to 'base' and then specify
everything manually.

Trevor

Vincent Louviaux

unread,
Feb 25, 2009, 8:11:46 AM2/25/09
to puppet...@googlegroups.com
Ok I have add
provider=>"base",

Thanks for the tips !


but I think a bug with the redhat provider

Vincent

Vincent Louviaux

unread,
Feb 25, 2009, 8:14:24 AM2/25/09
to puppet...@googlegroups.com
the asterisks was comming because I have write in html and put theses line on bold :(

Vincent

Peter Meier

unread,
Feb 25, 2009, 9:59:02 AM2/25/09
to Vincent Louviaux, puppet...@googlegroups.com
> but I think a bug with the redhat provider

you're right.

I verified it and filed a bug: http://projects.reductivelabs.com/issues/2026
So wen can track it.

cheers Pete

Reply all
Reply to author
Forward
0 new messages