[Pkg-puppet-devel] pid path inconsistent between /etc/init.d/puppet and "puppetd --genconfig" and no /etc/puppet/puppet.conf to override it

Tom H tom at limepepper.co.uk
Thu Sep 2 10:53:17 UTC 2010


Oh, I think that might be because I had not realised that the 
/etc/puppet/puppet.conf is in the puppet-common package and not puppet.

Tom

Tom H wrote:
>
> HI
>
> it looks like package 2.6.0 from squeeze has a different pid path
> specified in the init.d script and the defaults that are in use, this
> appears to prevent the service being restarted using the /sbin/service
> command
>
> the init script is using;
> $ cat /etc/init.d/puppet | grep -i pid
> PIDFILE="/var/run/puppet/${NAME}.pid"
>
> # puppetd --genconfig | grep pid
>     # The pid file
>     # The default value is '$rundir/$name.pid'.
>     pidfile = /var/lib/puppet/run/agent.pid
>
> So the init.d script can't kill puppet.
>
> Cheers,
>
> Tom
>
>
> _______________________________________________
> Pkg-puppet-devel mailing list
> Pkg-puppet-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-puppet-devel




More information about the Pkg-puppet-devel mailing list