Commit graph

1370 commits

Author SHA1 Message Date
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
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
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
Daniel A. Wozniak
6034b98413 Update changelog 2023-11-16 17:21:41 +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
Barney Sowood
ffb8e84f60 Add changelog 2023-11-03 06:46:00 +00:00
Daniel A. Wozniak
096314341f Add changelog 2023-10-31 07:55:54 +00:00
David Murphy
1941ebe28e Move salt.ufw to correct location /etc/ufw/applications.d/ 2023-10-27 09:06:45 +01:00
twangboy
636eff5fda Add changelog 2023-10-24 14:59:53 -07:00
David Murphy
639ec023f1 Ensure sync from _grains occurs before attempting pillar compilation in case custom grain used in pillar file 2023-10-21 19:49:07 +01:00
MKLeb
02848e8710 move changelog to the correct location 2023-10-18 15:57:09 +01:00
Pedro Algarvio
13a8f69153 Fix bug from 2017, by removing unwanted comma.
fda41ede76 (diff-f6c5d53219e55de2e0d3321b81d1041965330dfd79f2f9eecb269df8ba829611R719)

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-16 14:00:47 -06:00
ScriptAutomate
f7e290deff Add support for Debian 12 2023-10-10 08:44:19 -07:00
Gareth J. Greenaway
6164155e24 Adding changelog. 2023-09-30 18:41:36 +01:00
jeanluc
93859b1e6c Improve error message with multiple string-valued state args 2023-09-27 12:38:48 +00:00
Pedro Algarvio
5241abd10a Bump to cryptography==41.0.4 due to https://github.com/advisories/GHSA-v8gr-m533-ghj9
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 21:03:45 +01:00
Clay Oster
667542ccbd Fix salt user login shell path in Debian packages
(cherry picked from commit f4efa4fb79)

# Conflicts:
#	pkg/tests/integration/test_salt_user.py
2023-09-24 21:01:13 +01:00
nicholasmhughes
165621c166 add negative tests for _getgrall 2023-09-21 10:40:58 -07:00
nicholasmhughes
0be8c475d9 add changlog entries 2023-09-21 10:40:58 -07:00
Megan Wilhite
7b8cb7697e Add changelog for int state ID issue 2023-09-18 19:05:30 +01:00
MKLeb
9f43707ea7 changelog 2023-09-17 13:03:38 +01:00
Gareth J. Greenaway
7f5f3c8015 Update 65179.fixed.md 2023-09-14 12:41:38 +00:00
Gareth J. Greenaway
f2511ff711 Ensure kwargs are sent along correctly to multiple sub proxies. 2023-09-14 12:41:38 +00:00
cmcmarrow
fdaccae476 add 65086 changelog 2023-09-12 19:57:04 +00:00
Thomas Phipps
2475f4fd14 rpm doenst need to check digest and signing when listing packages 2023-09-12 10:16:55 -07:00
MKLeb
d337303731 changelog 2023-09-12 10:15:31 -07:00
jeanluc
ab2a508761 Fix x509_v2 privkey handling/reporting, correct docs 2023-09-11 13:19:16 +01:00
Salt Project Packaging
8505972418
Release v3006.3 2023-09-06 17:02:29 +00:00
cmcmarrow
1fbc0ca564 clean up clean old remotes 2023-09-05 22:01:02 -07:00
jeanluc
0db673aff6 Fix creation of wildcard DNS in SAN in x509_v2 2023-09-05 19:33:37 +00:00
Megan Wilhite
05b10ec9cd
Merge pull request #65084 from garethgreenaway/65033_schedule_state_documentation
[3006.x] Allow schedule state module to update schedule when the minion is offline
2023-09-05 19:32:33 +00:00
twangboy
7c82945cb8 Add changelog 2023-08-31 14:30:32 -07:00