mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
ede4c28887
Fixes #38683 When two states combine the `require`, `failhard`, and `order` options, the `order` option should be ignored because `require` is present. Then the `failhard` option should make the state run fail. The check for "failhard" in the `check_failhard` function in the state compiler was too broad. We want "failhard" to be true AND tag to be in the `running` dict. Without the parens around the first OR statement, we were bypassing the AND requirement because failhard was found. Since the second state's tag was not found in the running dict, the state run stacktraces on a KeyError. |
||
---|---|---|
.. | ||
cli | ||
client | ||
cloud | ||
files | ||
fileserver | ||
grains | ||
loader | ||
minion | ||
mockbin | ||
modules | ||
netapi | ||
output | ||
reactor | ||
renderers | ||
returners | ||
runners | ||
sdb | ||
shell | ||
ssh | ||
states | ||
utils | ||
wheel | ||
__init__.py |