puppetlabs/puppet-community-debian — pull request #13 by vrthra (2012-07-11 00:56:30+00:00)
Title: 12465 : Fix puppet service status behavior

changes:
Dont let puppet fork to background --no-daemonize
Get service functions to maintain pid file for us --make-pid --background
Dont look in the ps output if pid is not found.
Change the PIDFILE from /var/run/agent.pid to /var/run/pe-puppet.pid
Change the return code from 1 to 3 if the pid file does not exist