forked from saltstack/salt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make salt-ssh more strict when handling unexpected situations
This commit ensures that output indicating failure is not passed off as the output of the command when it is called via `__salt__`, e.g. during template rendering or in wrapper modules. It does this by raising exceptions when issues are detected and thus simulates the remote error locally. See issue saltstack#64531 for a detailed description.
- Loading branch information
Showing
3 changed files
with
191 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed salt-ssh continues state/pillar rendering with incorrect data when an exception is raised by a module on the target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters