Vincent Louviaux
2009-Feb-25 11:52 UTC
[Puppet Users] service top parameter seems to be ignored
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 --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Bruce Richardson
2009-Feb-25 12:03 UTC
[Puppet Users] Re: service top parameter seems to be ignored
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. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Trevor Vaughan
2009-Feb-25 12:11 UTC
[Puppet Users] Re: service top parameter seems to be ignored
I ran into this problem as well. I ended up having to set my ''provider'' to ''base'' and then specify everything manually. Trevor On Wed, Feb 25, 2009 at 06:52, Vincent Louviaux <vincent@louviaux.com> 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, > } > > > > > # puppetd --version > 0.24.7 > on Red Hat Enterprise Linux ES release 4 (Nahant Update 6) > > > > > A bug ? > > Vincent > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Vincent Louviaux
2009-Feb-25 13:11 UTC
[Puppet Users] Re: service top parameter seems to be ignored
Ok I have add provider=>"base", Thanks for the tips ! but I think a bug with the redhat provider Vincent On Wed, Feb 25, 2009 at 1:11 PM, Trevor Vaughan <peiriannydd@gmail.com>wrote:> > I ran into this problem as well. > > I ended up having to set my ''provider'' to ''base'' and then specify > everything manually. > > Trevor > > On Wed, Feb 25, 2009 at 06:52, Vincent Louviaux <vincent@louviaux.com> > 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, > > } > > > > > > > > > > # puppetd --version > > 0.24.7 > > on Red Hat Enterprise Linux ES release 4 (Nahant Update 6) > > > > > > > > > > A bug ? > > > > Vincent > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Vincent Louviaux
2009-Feb-25 13:14 UTC
[Puppet Users] Re: service top parameter seems to be ignored
the asterisks was comming because I have write in html and put theses line on bold :( Vincent On Wed, Feb 25, 2009 at 1:03 PM, Bruce Richardson <itsbruce@workshy.org>wrote:> > 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. > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Peter Meier
2009-Feb-25 14:59 UTC
[Puppet Users] Re: service top parameter seems to be ignored
> but I think a bug with the redhat provideryou''re right. I verified it and filed a bug: http://projects.reductivelabs.com/issues/2026 So wen can track it. cheers Pete --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---