HomePhorge

(#17447) Stop puppet before returning in debian init script
5a23d8b95bf0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#17447) Stop puppet before returning in debian init script

Without the retry flag, the stop call in the debian init script isn't
guaranteed to stop the puppet agent or master. This commit adds a 2 step
timeout to the init scripts. A TERM signal is sent first, and after 10 seconds
if the process is still running a KILL signal is sent. The unneccessary sleep
call is also removed from the restart case. This affects both agent and
master init scripts.

Details

Provenance
Matthaus Owens <matthaus@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd94831916060: (maint) Remove trailing whitespace, retab puppet.init
Branches
Unknown
Tags
Unknown

Event Timeline

Matthaus Owens <matthaus@puppetlabs.com> committed rPU5a23d8b95bf0: (#17447) Stop puppet before returning in debian init script (authored by Matthaus Owens <matthaus@puppetlabs.com>).Nov 6 2012, 9:00 PM