Commit graph

1843 commits

Author SHA1 Message Date
Daniel A. Wozniak
486462b992 Pull in changes from #66931
Make sure we only call chmod when pull_path or pub_path is used. Add
regression tests for this behavior.
2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
d4ebb63638 Add started event to PublishServer
- Add a started event that gets set after the server transport is ready
for clients to connect.
- Wait on publish servers start while the master process is starting up.
2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
8b0d609ec6 Update cluster docs with good timeout value 2024-10-28 15:07:20 -07:00
Daniel A. Wozniak
1a834761bf Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-25 17:07:29 -07:00
jeanluc
fd7b0dcea2 Filter unpicklable objects from the context dict when necessary 2024-10-25 04:45:35 -07:00
jeanluc
c4361cf828 Ensure injected globals are defined on spawning platforms
This ensures dunders like __env__ are defined in states running in
parallel on spawning platforms.

The __running__ dict can contain salt.utils.process.Process instances,
which are still picklable.
2024-10-25 04:45:35 -07:00
Hristo Voyvodov
7c9305418c Fixing vault client unwrap function to respect server.verify option.
Currently VaultClient.unwrap is doing own request call without respecting verify option.
Any other function is reusing self.request or self.raw_request function which are respecting correctly verify opt.
This will change unwrap function to also utilize self.post() which is reusing self.request.
2024-10-21 14:25:43 -07:00
Nick Porter
983cfe75e3 fixes #66252 correct use of egrep to parse semanage output 2024-10-21 14:17:14 -07:00
Daniel Dehennin
d1ca30c2ad Fix incorrect override of minion node definition
A pillars dict in a minion node definition was not overridding
correctly the same dict in classes.

* salt/utils/saltclass.py (expanded_dict_from_minion): do not pass a
  reference to minion dict or it will be overridden by classes during
  expansion.

Fixes: #63933
2024-10-21 14:15:41 -07:00
Daniel Dehennin
9ef879aee4 fix(saltclass): don't lose nested classes and states in recursion
Fixes: #58969
2024-10-21 14:15:41 -07:00
David Murphy
628c2d2095 Add cryptography back as a dependency for Salt 3006 to base.txt requirements 2024-10-21 14:13:24 -07:00
Georg Pfuetzenreuter
4e429ef772 Remove perms from linux_acl.list_absent docstring
Not a valid argument for this function, remove misleading documentation
reference.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-16 18:23:31 -07:00
twangboy
98f49eba4e Remove wmic from iscsi grains 2024-10-16 18:08:52 -07:00
twangboy
30e0de375f Remove wmic usage from disk grains on Windows 2024-10-16 18:08:52 -07:00
Daniel A. Wozniak
9b157d732f Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-16 18:03:43 -07:00
David Murphy
76f22f0f92 Added changelog entry 2024-10-15 15:20:51 -07:00
Daniel A. Wozniak
6388536beb Merge branch '3006.x' into merge/3007.x/3006.x 2024-10-14 22:52:30 -07:00
Daniel A. Wozniak
071325c203 Add changelog for issue #65265 2024-10-10 12:56:15 -07:00
Daniel A. Wozniak
fc8d60d137 Upgrade relenv to 0.17.3 and python to 3.10.15 2024-10-09 09:10:58 -07:00
jeanluc
096dca61ba Make SSH FunctionWrapper behave more like LazyLoader 2024-10-08 13:15:09 -07:00
jeanluc
0c8cb6890e Fix accessing wrappers in Jinja templates via attributes 2024-10-08 13:15:09 -07:00
Daniel A. Wozniak
19dfa41bb9 Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x 2024-09-26 15:01:16 -07:00
vzhestkov
ee4d5321f2 Add 66856 changelog entry 2024-09-25 02:28:51 -07:00
Daniel A. Wozniak
d11775eeca Upgrade relenv to 0.17.2 2024-09-23 13:56:36 -07:00
Daniel A. Wozniak
6b3418fe0b Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x 2024-09-20 14:20:13 -07:00
Tom Doherty
caf62f97bd fix yaml output
In b9be2de, OrderedDict was replaced with HashableOrderedDict.
Add logic to yamldumper to handle the new type.
2024-09-20 14:08:12 -07:00
Shane Lee
b912817240 Fixes cmd.run with requirements on Windows
Formats the command properly for powershell
Adds changelog and tests
2024-09-20 14:06:53 -07:00
hurzhurz
698979fe55 fix nacl.keygen for not yet existing sk_file or pk_file 2024-09-19 14:56:24 -07:00
Erik Johnson
d4b2957194 Add changelog file 2024-09-19 14:46:52 -07:00
Daniel Wozniak
ae1d3f3eb3
Merge pull request #66857 from twangboy/fix_64630
[3006.x]Manage symlinks after dirs and files
2024-09-19 13:43:19 -07:00
Daniel Wozniak
17f9ff5818
Merge pull request #66842 from dwoz/merge/3007.x/3006.x
[3007.x] Merge 3006.x forward to 3007.x
2024-09-19 13:25:05 -07:00
David Murphy
2532a088cd Added changelog for fix 2024-09-18 15:08:12 -07:00
jeanluc
af3818ba24 Fix Salt-SSH crash when key deploy is skipped manually 2024-09-18 14:54:49 -07:00
Niklas Rousset
9da6764eb8 Convert stdin string to bytes regardless of stdin_raw_newlines 2024-09-18 14:53:40 -07:00
twangboy
572e955388
Add tests and changelog 2024-09-18 13:26:33 -06:00
ScriptAutomate
77260acfd5 Drop Arch Linux; update latest golden images 2024-09-18 09:41:24 -07:00
twangboy
f9c9787251 Fix pre-commit 2024-09-12 08:55:42 -07:00
twangboy
50187433cf Add changelog for 66835 2024-09-12 08:55:42 -07:00
twangboy
63b9da8bde Fix pkg.removed with multiple versions on Windows 2024-09-11 16:52:27 -07:00
twangboy
8b16003cab Fix parsing of IPv4 mapped IPv6 addresses 2024-09-11 16:52:08 -07:00
Daniel A. Wozniak
8dd2e3473c Merge branch '3006.x' into merge/3007.x/3006.x 2024-08-26 19:26:17 -07:00
twangboy
7faee48ef3 Add an option to ini.set_option
Adds an new option named ``no_spaces`` to the ini.set_option function
that allows the user to deteremine whether the separator (``=``) should
be wrapped with spaces or not.
2024-08-22 08:10:55 -07:00
Daniel A. Wozniak
3f9f0298bb Add changelog for #66228 2024-08-19 15:00:09 -07:00
Shane Lee
e987ff4c01 Fix status.master to detect master properly 2024-08-17 14:41:31 -07:00
Shane Lee
0d78611767 Fix win_wua to handle empty CDispatch objects 2024-08-15 14:50:18 -07:00
David Murphy
6d10c20ea8 Fix batch mode hang indefinitely in some scenarios - unit tests to follow 2024-08-14 15:37:54 -07:00
Erik Johnson
17dcfa29fd Add changelog file 2024-08-13 09:56:03 -07:00
Gareth J. Greenaway
852bf0004a Ensure Manjaro ARM reports the correct os_family of Arch. 2024-08-12 12:41:36 -07:00
Daniel A. Wozniak
2b2c03893e Add changelog for #66726 2024-08-12 08:29:23 -07:00
David Murphy
101042d4e0 Remove psutil_compat.py file, which should have been removed when RHEL 6 EOL 2024-08-12 08:28:47 -07:00