[BUG] inconsistent behaviour between supervisord.running and supervisord.dead for process groups #60307
Labels
Milestone
Comments
|
@jouve |
|
Hi, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Description
let's say I have an
apacheprocess group I want to control.supervisord.running, thenamemust beapache:*(which is the same notation used by supervisor)supervisord.dead, thenamemust beapache:(without the*)As both states mirror each other, I expect them to use the same convention for
name, the one fromrunningsince it's the convention from supervisor.The difference is that the final
*is stripped inrunning: https://github.com/saltstack/salt/blob/master/salt/states/supervisord.py#L83 but not indead: https://github.com/saltstack/salt/blob/master/salt/states/supervisord.py#L278Implementing the same behaviour from
runningindeadis backward compatibleSetup
Steps to Reproduce the behavior
setup a supervisor with an apache config group & run the sls from previous section
Expected behavior
running/dead use the same parameters.
Screenshots
Versions Report
salt 3001.1 (both master/minion)
Additional context
The text was updated successfully, but these errors were encountered: