[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
apache
process group I want to control.supervisord.running
, thename
must beapache:*
(which is the same notation used by supervisor)supervisord.dead
, thename
must beapache:
(without the*
)As both states mirror each other, I expect them to use the same convention for
name
, the one fromrunning
since 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
running
indead
is 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: