batch mode with --failhard doesn't work #44256
Labels
Pending-Discussion
The issue or pull request needs more discussion before it can be closed or merged
stale
Milestone
Hi,
in salt 2017.7.2 in batch mode the --failhard option doesn't work. Execution is not stopped when retcode from server is non zero:
It works when I use cmd.run_all instead of cmd.run.
I have found that the issue was resolved once, by applying the following changes: https://github.com/saltstack/salt/pull/33048/files
With the patch the command works perfectly.
Could you verify that and apply the patch to next salt release version ?
Salt version report from test environment:
The text was updated successfully, but these errors were encountered: