[Pkg-puppet-devel] Bug#491132: Bug#491132: PID file specified incorrectly in puppetd.conf

Micah Anderson micah at riseup.net
Thu Jul 17 03:11:35 UTC 2008


* Stefan Schlesinger <sts at ono.at> [2008-07-16 16:30-0400]:
> puppet uses the rundir variable in /etc/puppet/puppetd.conf to
> specify the directory where the PID file located at.

That is correct.

> stoping/restarting puppetd didn't work on my system (minimal etch 
> installation, updated to lenny), unless I changed 
> rundir=/var/run/ to rundir=/var/run/puppet. The init script 
> refers to /var/run/puppet/puppetd.pid as well.
> Once i changed the variable, stopping/restaring the daemon
> worked like a charme.

The /etc/puppet/puppetd.conf shipped in lenny contains
'rundir=/var/run/puppet', and the package wont change your old
puppetd.conf, as the NEWS.Debian says:

  * Handling of the rundir setting has been changed; we now store PID files
    in /var/run/puppet, and the initscripts have been modified to ensure
    that this directory exists on startup.  It is no longer necessary to set
    rundir explicitly in /etc/puppet/puppet.conf, and you should ensure that
    you have no explicit rundir setting in your puppet.conf unless you want
    to use a custom rundir setting for your own local purposes.

Micah





More information about the Pkg-puppet-devel mailing list