2009/4/4 Marcin Owsiany <mar...@owsiany.pl>

>
> On Fri, Apr 03, 2009 at 05:58:45PM +0100, Gary Law wrote:
> > g...@dv01:/ $ sudo /etc/init.d/puppet stop
> [...]
> > I can't see any obvious reason why this isn't working
>
> sudo bash -x /etc/init.d/puppet stop
>
> might be enlightening..


Hi Marcin  :)

Here you go....

g...@dv01:~ $ ps -ef | grep [p]uppet
root      6774     1  0 Apr04 ?        00:06:49 ruby /usr/sbin/puppetd -w 5
g...@dv01:~ $ sudo bash -x /etc/init.d/puppet stop
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/puppetd
+ DAEMON_OPTS=
+ NAME=puppetd
+ DESC='puppet configuration management tool'
+ test -x /usr/sbin/puppetd
+ '[' -r /etc/default/puppet ']'
+ . /etc/default/puppet
++ START=yes
++ DAEMON_OPTS='-w 5'
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ '[' '!' -d /var/run/puppet ']'
+ chown puppet:puppet /var/run/puppet
+ case "$1" in
+ log_begin_msg 'Stopping puppet configuration management tool'
+ '[' -z 'Stopping puppet configuration management tool' ']'
+ echo -n 'Stopping puppet configuration management tool'
Stopping puppet configuration management tool+ stop_puppet
+ start-stop-daemon --stop --quiet --pidfile /var/run/puppet/puppetd.pid
+ log_end_msg 0
+ '[' -z 0 ']'
+ retval=0
+ log_end_msg_pre 0
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm-color '!=' '' ']'
+ '[' xxterm-color '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ case "$FANCYTTY" in
+ false
+ RED=
+ YELLOW=
+ NORMAL=
+ '[' 0 -eq 0 ']'
+ echo .
.
+ log_end_msg_post 0
+ :
+ return 0
+ exit 0
g...@dv01:~ $
g...@dv01:~ $ ps -ef | grep [p]uppet
root      6774     1  0 Apr04 ?        00:06:49 ruby /usr/sbin/puppetd -w 5


Hope you can make sense of that...

Gary

-- 
Gary Law
Email: gary...@garylaw.net
Chat googletalk/messenger: gary....@gmail.com
iChat/jabber/AIM: gary....@mac.com

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to