Commit graph

120091 commits

Author SHA1 Message Date
Salt Project Packaging
257c067ef6
Release v3007.0rc1 2024-01-02 21:47:46 +00:00
Pedro Algarvio
fb562e60e8 Stop importing salt.log it's long deprecated
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-02 14:17:55 -07:00
Pedro Algarvio
a4352e11cf Remove deprecation warning which turned into an error on Jan 2024
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-02 14:17:55 -07:00
jeanluc
982ffba670 Remove _check_ret calls since they're not needed anymore
after #64542 was merged
2024-01-02 14:17:43 -07:00
jeanluc
d3a113f2e5 Fix tests after rebase 2024-01-02 14:17:43 -07:00
jeanluc
47b8836f94 Add logmod SSH wrapper 2024-01-02 14:17:43 -07:00
jeanluc
9f34246960 Run pre-commit after base change 2024-01-02 14:17:43 -07:00
jeanluc
d9b25d475d Add defaults SSH wrapper module
This is a 1:1 copy of the execution module, incl. tests...
2024-01-02 14:17:43 -07:00
jeanluc
b69fe967b5 Fix/skip tests on RHEL/Windows 2024-01-02 14:17:43 -07:00
jeanluc
9269d6d7a6 Don't mkdir -p on empty paths 2024-01-02 14:17:43 -07:00
jeanluc
bde1289fd8 Fix unused var in grains.get wrapper
`ordered=False` would not have worked before
2024-01-02 14:17:43 -07:00
jeanluc
515d0ff503 Add SSH wrapper for cmd.script 2024-01-02 14:17:43 -07:00
jeanluc
55ec2921e3 Add missing functions to `cp` SSH wrapper 2024-01-02 14:17:43 -07:00
jeanluc
f38d1f7467 Add slsutil SSH wrapper 2024-01-02 14:17:43 -07:00
jeanluc
fd588f754e Sync config SSH wrapper with execution module
The wrapper has diverged significantly from the module.

* `option` did not check grains
* `option` did not have `omit_all` and `wildcard` parameters
* `get` missed several parameters: `delimiter`, `merge` and all `omit_*`
* There was no wrapping function for `items`.
2024-01-02 14:17:43 -07:00
jeanluc
4a35d6f47f Add state.test to SSH wrapper 2024-01-02 14:17:43 -07:00
Daniel A. Wozniak
ce57b8b62d Skip flakey blackout tests on windows 2023-12-30 00:01:20 -07:00
Daniel A. Wozniak
f14d79af73 Fix ssh unit test test_handle_routine_single_run_invalid_retcode 2023-12-28 23:56:15 -07:00
Daniel A. Wozniak
d53a8c74ba Fix more ssh tests 2023-12-28 23:36:17 -07:00
Daniel A. Wozniak
6f5c0ac2e7 Revert test changes and fix original tests 2023-12-28 16:42:39 -07:00
Lee Clemens
6e1351679b Add changelog 2023-12-28 02:17:50 -07:00
Lee Clemens
2248414917 Return DNS plugin not supported error 2023-12-28 02:17:50 -07:00
Jonatan Sundeen
343b76474b Fixed pre-commit failures
Added docstring
Fixed lint
2023-12-28 02:14:23 -07:00
Jonatan Sundeen
c1a0cb45db Added changelog 2023-12-28 02:14:23 -07:00
Jonatan Sundeen
9798ba5309 Artifactory module basic auth fix
This fixes issue with basic auth causing 401 Bad Request.
Using HTTPBasicAuthHandler instead of header.
2023-12-28 02:14:23 -07:00
Lee Clemens
a4309cda7c Port unit tests to pytest 2023-12-28 02:13:25 -07:00
Lee Clemens
ab3e52234d Fix linting 2023-12-28 02:13:25 -07:00
Lee Clemens
e3721b493b Use f-strings 2023-12-28 02:13:25 -07:00
Lee Clemens
64834d821a Update changelog file syntax 2023-12-28 02:13:25 -07:00
Lee Clemens
d995a52791 Adjust formatting of example state 2023-12-28 02:13:25 -07:00
Lee Clemens
a47eeb909c Report failures and error information.
Replace stdout in cases of success with known value for state to evaluate.
Update response handling in states.

Fixes #60500
2023-12-28 02:13:25 -07:00
Lee Clemens
c5ec77d36e Add changelog 2023-12-28 02:11:54 -07:00
Lee Clemens
56ce1ff3e7 Add manual support for manual plugin by providing auth and cleanup hook paths 2023-12-28 02:11:54 -07:00
Daniel A. Wozniak
5bc09e5470 Mock PublishClient instead of TCPPubClient 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
449cca258f Fix more schedule tests 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
62774c3234 Mock blocking connect_pub method 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
a5d377db70 check change 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
887a9f30c8 Fix another spelling wart 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
62e793e106 Debug windows unit tests 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
a31597fea7 Fix up docs 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
eee8396473 Fix review comments 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
74079ee19b Bump workflow cache seed 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
e089d384eb Fix pre-commit warts from rebase 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
e39246b1ef Revert change to zmq transport 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
10b714cf55 Simplify payload unpacking. 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
e7b99200c6 Remove cruft 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
1b3d01c703 Transport test fix 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
24257072bb wip 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
fdbb4ed333 Update transport docs with websockt transport 2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
9adfd29c54 Wean of tcp transport bits in ws transport 2023-12-28 00:29:50 -07:00