Commit graph

119987 commits

Author SHA1 Message Date
jeanluc
3c804657be Also test exact expected state failure output 2023-12-18 10:16:04 -07:00
jeanluc
bade8e8206 Fix SSHCommandExecutionError string casting output
It should include the specific error, not just the general one
2023-12-18 10:16:04 -07:00
jeanluc
d6863fd79a Cleanup, add changelog entry for compound issue 2023-12-18 10:16:04 -07:00
jeanluc
d431a948b2 Ensure salt-ssh job ret events contain all usual data 2023-12-18 10:16:04 -07:00
jeanluc
2224a82ded Update key deploy routine for new parsing workflow 2023-12-18 10:16:04 -07:00
jeanluc
01a56caac6 Also test exact expected command parsing failure output 2023-12-18 10:16:04 -07:00
jeanluc
2791be62b1 Filter out deprecation warnings from reported stderr 2023-12-18 10:16:04 -07:00
jeanluc
5be82ae9fb Run pyupgrade 2023-12-18 10:16:04 -07:00
jeanluc
41e35b59e7 Exclude salt-ssh error returns from mine 2023-12-18 10:16:04 -07:00
jeanluc
7411dcc2d5 Make state.* wrappers treat a remote exception as failure 2023-12-18 10:16:04 -07:00
jeanluc
a52741723b Adapt remote execution error output tests 2023-12-18 10:16:04 -07:00
jeanluc
808699f343 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 #64531 for a detailed description.
2023-12-18 10:16:04 -07:00
jeanluc
d166dc4db1 Add tests for issues #64531 and #52452 2023-12-18 10:16:04 -07:00
Jamie Murphy
4771edb58a add nightly minor/latest symlink to debian repos 2023-12-18 04:35:47 -07:00
Jamie (Bear) Murphy
7d198938ba adjust minor/nightly path to minor/latest 2023-12-18 04:35:47 -07:00
Jamie (Bear) Murphy
c122d225fc adjust if none check 2023-12-18 04:35:47 -07:00
Jamie Murphy
bf1dda1212 Update create.py 2023-12-18 04:35:47 -07:00
Jamie Murphy
252e86518f add a nightly_latest.repo file which always points to latest nightly build 2023-12-18 04:35:47 -07:00
Jamie Murphy
b6cb55a1f7 adjust path to minor/nightly 2023-12-18 04:35:47 -07:00
Jamie Murphy
cdf020c5c5 add nightly symlink 2023-12-18 04:35:47 -07:00
Daniel A. Wozniak
c7d7454056 Fix pre-commit 2023-12-18 04:33:53 -07:00
mrx
b874028705 Update index.rst
update syntax
2023-12-18 04:33:53 -07:00
mike.reider
24e7991f6b sdb doc example subkeys 2023-12-18 04:33:53 -07:00
jeanluc
56ad1ec942 Fix saltext vault/pushover docs
* the correct organization is `salt-extensions`, not `saltstack`
* the release file is strict GitHub-flavoured Markdown only
2023-12-18 03:42:28 -07:00
Daniel Wozniak
21391fe7ba Revert "URL auditor with URL fixes"
This reverts commit d07172cc0e.
2023-12-17 23:13:58 -07:00
Daniel Wozniak
5a517e9fa5 Revert "Expand files to validate URLs within"
This reverts commit f8a9769320.
2023-12-17 23:13:58 -07:00
ScriptAutomate
f8a9769320 Expand files to validate URLs within 2023-12-17 22:30:41 -07:00
ScriptAutomate
d07172cc0e URL auditor with URL fixes 2023-12-17 22:30:41 -07:00
James Howe
aba5f6238e Reword "header" param. 2023-12-17 22:21:57 -07:00
James Howe
dbebd92626 Fix documentation of file.prepend 2023-12-17 22:21:57 -07:00
OrangeDog
2a484f522f pre-commit disk.py 2023-12-17 22:16:14 -07:00
James Howe
da081c0ddb Document parameters in modules.disk 2023-12-17 22:16:14 -07:00
James Howe
6b7377799d Improve augeas example
As pointed out by #65352, the check given here is not safe.
2023-12-17 22:14:18 -07:00
OrangeDog
1640f04763 pre-commit augeas.py 2023-12-17 22:14:18 -07:00
James Howe
88b7f3ada1 Remove warning that related to now-unsupported systems 2023-12-17 22:14:18 -07:00
Daniel Wozniak
9ec1772382
Merge pull request #65716 from dwoz/merge-forward
[master] Merge forward 3006.x
2023-12-17 21:57:55 -07:00
Daniel A. Wozniak
d18fbb9631 Skip RC test on Photon OS 2023-12-17 20:18:14 -07:00
Daniel A. Wozniak
97072fb7af pre-commit fix 2023-12-17 15:10:50 -07:00
Daniel A. Wozniak
7018b14a7c Merge remote-tracking branch 'saltstack/3006.x' into merge-forward 2023-12-17 14:58:34 -07:00
Daniel A. Wozniak
cca011e0b0 Make re-tries configurable 2023-12-17 14:57:27 -07:00
Daniel A. Wozniak
62350b1dcf Fix lint 2023-12-17 14:57:27 -07:00
Daniel A. Wozniak
ac90b8455e Try install multiple times 2023-12-17 14:57:27 -07:00
Daniel A. Wozniak
01c194f53f Even more reliable pillar timeout test 2023-12-17 14:57:27 -07:00
Daniel A. Wozniak
c392a77fe2 make mac assistive tests more stable 2023-12-17 14:57:27 -07:00
Roald Nefs
60b890b800 Fix pre-commit
Signed-off-by: Roald Nefs <info@roaldnefs.com>
2023-12-16 18:26:29 -07:00
Wayne Werner
8dc4160a6a Fix potential bug, add changelog
In the source for redis, the default value for password is None, not "".
If the default is an empty string that may cause some unintended
consequences -- though it's entirely possible that Redis does not
support empty passwords, it's always safer to match the underlying
existing codebase.
2023-12-16 18:26:29 -07:00
Marno van der Molen
13996cea60 Add password support to Redis returner 2023-12-16 18:26:29 -07:00
Wayne Werner
675370f86e Add tests for redis returner password
Tests verify that passwords are correctly passed to the underlying
StrictRedis function (whos default value for password is None, not an
empty string).
2023-12-16 18:26:29 -07:00
Daniel A. Wozniak
0291228dac Fix pre-commit 2023-12-16 16:03:26 -07:00
Daniel A. Wozniak
412178e48a Merge remote-tracking branch 'saltstack/3006.x' into merge-forward 2023-12-16 15:35:16 -07:00