Commit graph

120667 commits

Author SHA1 Message Date
Shane Lee
ecc39aa994 Refactor and add some tests
Added the check to a few other places in channel server
2024-02-28 16:01:43 -07:00
Justin Zandbergen
15ccaccd62 Add changelog entry 2024-02-28 16:01:43 -07:00
Justin Zandbergen
0f4c022fda Simply check against cleaned key from disk. 2024-02-28 16:01:43 -07:00
Justin Zandbergen
4e72e2f0a5 fix: typo's 2024-02-28 16:01:43 -07:00
Justin Zandbergen
52d9886620 fix: Older keys end with a newline, this breaks minion auth. 2024-02-28 16:01:43 -07:00
Pedro Algarvio
e94a6ec036
Merge 3007.x into master 2024-02-28 19:05:24 +00:00
Pedro Algarvio
acd688cc04
Merge pull request #66018 from s0undt3ch/hotfix/merge-forward-into-3007.x
[3007.x] Merge 3006.x into 3007.x
2024-02-28 19:00:47 +00:00
Pedro Algarvio
e9122b1d7c Skip salt-ssh related tests on Fedora 39
The problem is that the tornado we ship is not prepared for Python 3.12,
and it imports `ssl` and checks if the `match_hostname` function is defined, which
has been deprecated since Python 3.7, so, the logic goes into trying to import
backports.ssl-match-hostname which is not installed on the system.
2024-02-28 11:24:14 +00:00
Pedro Algarvio
3978817195 Remove skips targeting PhotonOS 3 2024-02-28 11:24:14 +00:00
Pedro Algarvio
5f48635fe8 Improve logic to account for Alma Linux 2024-02-28 11:24:14 +00:00
ScriptAutomate
9baf9bb76a Adding changelogs for dropped and added AMIs 2024-02-28 11:24:14 +00:00
ScriptAutomate
67b2965260 Add latest AMIs, reduce OS targets; add Fedora 39 2024-02-28 11:24:14 +00:00
Pedro Algarvio
b3a19e6ad4
Adjust timeout for windows 2024-02-28 11:18:21 +00:00
Pedro Algarvio
fce314e011 Upgrade to cryptography==42.0.5 due to a few security issues
* https://github.com/advisories/GHSA-9v9h-cgj8-h64p
* https://github.com/advisories/GHSA-3ww4-gg4f-jr7f
* https://github.com/advisories/GHSA-6vqw-3v5j-54x4
2024-02-28 08:56:13 +00:00
Daniel A. Wozniak
7c487d2c71 Adjust more test timeouts 2024-02-28 01:07:31 -07:00
Daniel A. Wozniak
588fb116f7 Update test timeouts, work around pylint failure 2024-02-27 14:52:16 -07:00
Daniel A. Wozniak
bec314d2d7 Pre-commit formatting updates 2024-02-27 14:39:24 -07:00
Daniel A. Wozniak
163bab3849 Do not choke on non existing path 2024-02-27 14:39:11 -07:00
Pedro Algarvio
44b9e1de06 Revert "Fix file.directory clobbering backupname path with test=True"
This reverts commit 2f14cd2816.
2024-02-27 09:47:43 +00:00
Pedro Algarvio
856ac3545e Revert "Add test case"
This reverts commit 21ebbf155d.
2024-02-27 09:47:43 +00:00
Pedro Algarvio
89c3abf1ec Revert "Add changelog entry"
This reverts commit 7386c6ec87.
2024-02-27 09:47:43 +00:00
Daniel A. Wozniak
9a35eb712a Avoid circular imports on mac os 2024-02-27 02:20:04 -07:00
Pedro Algarvio
5840ab68a5 We depend on `msgpack >= 1.0`, simplify logic 2024-02-27 08:07:04 +00:00
Pedro Algarvio
890140fba1 The `salt.utils.psutil_compat` module has been deprecated 2024-02-27 08:07:04 +00:00
Pedro Algarvio
b9be2dec1b Update and remove obsolete pylint plugins 2024-02-27 08:07:04 +00:00
nicholasmhughes
6e10b5b579 copy paste error - managed to serialize 2024-02-26 12:16:39 -07:00
nicholasmhughes
9f797b56c2 fixes saltstack/salt#66098 file.managed and file.serialize default tmp_dir to relative path 2024-02-26 12:16:39 -07:00
Shane Lee
8383b9d0be Add to toctree 2024-02-26 12:15:56 -07:00
Shane Lee
d3369980d4 Add docs stub 2024-02-26 12:15:56 -07:00
Shane Lee
d0e9541034 Add versionadded 2024-02-26 12:15:56 -07:00
Shane Lee
d68826c61e Add a state for managing scheduled tasks on Windows
This is a port over from a PR that was merged onto the develop branch.
https://github.com/saltstack/salt/pull/53035
2024-02-26 12:15:56 -07:00
cmcmarrow
de710aa39e Add win_task state and tests. 2024-02-26 12:15:56 -07:00
cmcmarrow
6315bab31b Add win_task state and tests. 2024-02-26 12:15:56 -07:00
cmcmarrow
2a39ff1357 Add win_task state and tests. 2024-02-26 12:15:56 -07:00
cmcmarrow
fd0e253fe2 Add win_task state and tests. 2024-02-26 12:15:56 -07:00
Pedro Algarvio
f3f54a6eb1 Switch to python-tools-scripts >= 0.20.0 2024-02-26 13:43:46 +00:00
Erik Johnson
7386c6ec87 Add changelog entry 2024-02-22 15:44:18 -07:00
Erik Johnson
21ebbf155d Add test case 2024-02-22 15:44:18 -07:00
Erik Johnson
2f14cd2816 Fix file.directory clobbering backupname path with test=True 2024-02-22 15:44:18 -07:00
Shane Lee
ac5f0474e3
Merge pull request #66109 from twangboy/fix_winrepo_update_script
[3006.x] Fix update winrepo script on 3006.x
2024-02-21 12:20:03 -07:00
Shane Lee
c6991e22ce
Fix update winrepo script on 3006.x 2024-02-21 12:18:00 -07:00
Pedro Algarvio
823886028b
Merge 3006.x into 3007.x 2024-02-21 19:14:47 +00:00
nicholasmhughes
0d518807e2 fix insertion of newfile key in changes dict for windows 2024-02-20 19:35:44 -07:00
Shane Lee
00292d6b0d Fix the module and test for Windows
Use salt.utils.files.mkstemp isntead of tempfile.NamedTemporaryFile when
creating the temporary file for get_diff
Fix the test to check for the linesep of the os at the end
On windows there is also a newfile entry in the change dict
2024-02-20 19:35:44 -07:00
nicholasmhughes
e142205060 fixes saltstack/salt#65546 add show diff for new file in file.managed 2024-02-20 19:35:44 -07:00
Salt Project Packaging
ce9d09bc9c
Release v3006.7 2024-02-20 22:04:07 +00:00
Pedro Algarvio
ba52813f7d Switch hooks to the Saltstack ORG 2024-02-20 14:46:00 -07:00
Daniel A. Wozniak
736ae6c79e Fix ssh tests 2024-02-20 15:15:13 +00:00
Daniel A. Wozniak
66d8a33c88 Fix ssh tests 2024-02-19 22:50:37 -07:00
Daniel A. Wozniak
96bd2b2b9b Upgrade to relenv 0.15.1 2024-02-19 15:19:42 +00:00