When you remove a Supervisord program with param config_include_purge => true, the config file is removed but Supervisord isn't notified so the process is still running.
This change triggers supervisord::reload (reread and update) to remove the program.
When you remove a Supervisord program with param
config_include_purge => true
, the config file is removed but Supervisord isn't notified so the process is still running.This change triggers
supervisord::reload
(reread and update) to remove the program.Similar to PR https://github.com/ajcrowe/puppet-supervisord/pull/125, but does a supervisord::reload instead of a supervisors::service, which restarts the Supervisord daemon.