Pedro Algarvio
967d3015f6
Merge 3006.x into master
2023-12-05 18:10:58 +00:00
Daniel A. Wozniak
21a3f6aa30
Add changelog for 65450
2023-12-04 14:20:01 -07:00
David Murphy
cd279bd7d4
Fill out lsb_distrib_xxx grains (best guess) if lsb_release information unavailable
2023-11-29 21:40:06 +00:00
Pedro Algarvio
02c3b89e40
Merge 3006.x into master
2023-11-29 18:31:52 +00:00
Pedro Algarvio
28039bda69
Bump to cryptography==41.0.7
due to https://github.com/advisories/GHSA-jfhm-5ghh-2f97
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-29 10:57:19 -07:00
Pedro Algarvio
7cf72a7797
Merge 3006.x into master
2023-11-29 14:43:39 +00:00
butch12
8235409c51
maintain user-defined options in apt source definitions
2023-11-28 20:02:59 +00:00
Pedro Algarvio
f60c87aacb
Merge 3006.x into master
2023-11-28 17:46:50 +00:00
jeanluc
126cbc30fb
Make SSH shell report exitcode to the best of its ability
2023-11-28 10:44:24 +00:00
jeanluc
92b46fb4ff
Fix salt-ssh stacktrace when retcode is not an integer
2023-11-28 10:44:24 +00:00
jeanluc
5adb7ec17b
Fix salt-ssh master access during pillar rendering
...
This also ports #50489 into the present
2023-11-26 17:25:38 +00:00
jeanluc
941ccbee6f
Update salt-ssh state wrapper pillar handling
...
Instead of passing the pre-rendered pillar as an override, do it like
the regular `state` execution module does with `salt-call`: Check if the
pillar needs to be rendered, otherwise reuse the already rendered one.
Also, ensure that __pillar__ in wrapper modules contains the same one
used during rendering, same thing for the one passed to `state.pkg`.
Also, ensure that when pillars are rerendered during a state run, they
get the master opts in addition to the minion ones, since some modules
used in the pillar can rely on them to be present.
Also, ensure pillar overrides are accepted for the same functions as with
the regular `state` execution module.
2023-11-26 17:25:38 +00:00
Pedro Algarvio
a420d94431
Merge 3006.x into master
2023-11-26 16:10:40 +00:00
Pedro Algarvio
effd3da06f
Removed all remaining invoke
support
...
Fixes #64374
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
Pedro Algarvio
eeaa88b4e9
Migrated tasks/filemap.py
-> tools/precommit/filemap.py
...
Refs #64374
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
Pedro Algarvio
06756cc08c
Migrate tasks/loader.py
-> tools/precommit/loader.py
...
Refs #64374
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
Pedro Algarvio
fce51983b3
Migrated some invoke
tasks to python-tools-scripts
...
* `tasks/docs.py` -> `tools/precommit/docs.py`
* `tasks/docstrings.py` -> `tools/precommit/docstrings.py`
Refs #64374
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-23 08:44:35 +00:00
Daniel A. Wozniak
b6acb1bc3e
Add changelog for un-closed transport warnings
2023-11-22 12:48:56 +00:00
Ryan Addessi (raddessi)
7d07076040
precommit
2023-11-22 12:46:00 +00:00
Ryan Addessi (raddessi)
e0a91fc67c
added changelod
2023-11-22 12:46:00 +00:00
Sander Cornelissen
2ebdfa4b5a
Add changelog for #65458
...
(cherry picked from commit 15cef7dbab
)
2023-11-22 08:52:34 +00:00
Shane Lee
92a9707420
Put cleanup in a try/except block
...
If it fails to cleanup the PAexec binaries, it should still continue
2023-11-21 16:42:21 -08:00
Pedro Algarvio
5463132e9d
Only generate the HMAC's for `libssl.so.1.1
and
libcrypto.so.1.1
` if those files exist.
...
Fixes #65581
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-20 21:17:51 +00:00
Sander Cornelissen
15cef7dbab
Add changelog for #65458
2023-11-20 07:16:55 +00:00
jeanluc
d7338a0e79
Support master tops on masterless minions
...
Also, make salt-ssh master tops behave like regular ones, i.e. merge the
returns of multiple master top modules for the same environment.
2023-11-17 11:34:02 +00:00
jeanluc
89ee0bd9bd
Deprecate pushover
modules in favor of saltext
2023-11-17 09:18:51 +00:00
jeanluc
60fd084cf5
Make gpg.receive_keys
report failure when GPG does
...
This makes `gpg.present` report the correct result when a
keyserver is unreachable and thus fixes issue 65169 in
concert with several related fixes in this branch.
2023-11-17 09:18:30 +00:00
jeanluc
69e98434e0
Rename changelog files to .md
2023-11-17 09:18:30 +00:00
jeanluc
6f1a821000
Make deleting keys with user/gnupghome possible
2023-11-17 09:18:30 +00:00
jeanluc
94ae9f4fc9
Fix gpg.receive_keys returns success on failed import
2023-11-17 09:18:30 +00:00
jeanluc
9a031b1dee
Make gpg state module respect test mode
2023-11-17 09:18:30 +00:00
jeanluc
e8b384afc9
Make gpg state module report correct result and changes
2023-11-17 09:18:30 +00:00
nicholasmhughes
109a62c779
fixes saltstack/salt#65501 file.comment ignore_missing not working with multiline char
...
(cherry picked from commit c5fbfa1fe7
)
# Conflicts:
# salt/states/file.py
2023-11-17 07:11:46 +00:00
nicholasmhughes
ab72e70697
fixes saltstack/salt#65295 nftables module type does not ensure unique nft family values
2023-11-16 18:31:31 +00:00
nicholasmhughes
0557667bbf
fixes saltstack/salt#63214 enable/disable broken if systemd service is an alias
2023-11-16 18:31:12 +00:00
Daniel A. Wozniak
6034b98413
Update changelog
2023-11-16 17:21:41 +00:00
David Murphy
308a3c4233
Update changelog/65542.deprecated.md
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-11-16 12:39:58 +00:00
David Murphy
64e0a4021a
Added changelog
2023-11-16 12:39:58 +00:00
nicholasmhughes
ffab39b7e2
fixes saltstack/salt#65565 deprecate Kubernetes modules for move to saltext-kubernetes
2023-11-16 08:48:00 +00:00
Nicholas Hughes
040ae9e55c
[master] Add wildcard removal for aptpkg ( #65221 )
...
* fixes saltstack/salt#65220 add wildcard removal for aptpkg
* adding functional module tests for wildcard removal
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* fix functional pkg tests for wildcard
* adding pytest marks to skip yum tests on non-el systems
* fixing update method for match_wildcard dict
---------
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-11-15 11:48:45 -08:00
nicholasmhughes
c5fbfa1fe7
fixes saltstack/salt#65501 file.comment ignore_missing not working with multiline char
2023-11-15 16:48:48 +00:00
Pedro Algarvio
3f3154ed41
Use `sha256
as the default
hash_type
`. It has been the default since Salt v2016.9
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Daniel A. Wozniak
be5ef66a3a
Connect callback closes it's request channel
2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
84c6b703c2
Relenv 0.14.1
2023-11-14 17:52:21 +00:00
Daniel A. Wozniak
068c5e8777
Upgrade relenv to 0.14.0
2023-11-14 17:52:21 +00:00
David Murphy
1bbe6489fd
Ensure quoted filespec when using egrep to allow for regex with selinux
2023-11-14 17:00:07 +00:00
MKLeb
e0e6546586
Add more coverage for the saltfile mixin and ensure passed CLI options take priority
2023-11-13 21:16:29 +00:00
ScriptAutomate
46f3e39332
Add Amazon Linux 2023; update Amazon Linux 2 AMI
2023-11-09 17:23:55 +00:00
David Murphy
024eb3f10b
Added changelog for issue
2023-11-09 17:03:03 +00:00
Daniel A. Wozniak
5942fb296e
Add changelog for 65400 fix
2023-11-07 13:04:53 -07:00