Daniel Wozniak
f906ca5052
Merge pull request #67803 from dwoz/merge/master/3007.x
...
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
Merge forward 3007.x into master
2025-03-08 04:21:26 -07:00
Daniel A. Wozniak
c5b39473ed
Merge branch '3007.x'
2025-03-08 00:19:10 -07:00
Daniel Wozniak
f8ba8c2c62
Merge pull request #67801 from dwoz/merge/3007.x/3006.x
...
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
Merge forward 3006.x into 3007.x
2025-03-07 23:36:44 -07:00
Daniel A. Wozniak
df17505fed
fix merge wart
2025-03-07 16:04:17 -07:00
Daniel A. Wozniak
c695e0bcff
Merge branch '3006.x' into merge/3007.x/3006.x
2025-03-07 15:05:05 -07:00
vzhestkov
1554e84f3a
Add changelog entry
CI / Prepare Workflow Run (push) Waiting to run
CI / Pre-Commit (push) Blocked by required conditions
CI / Lint (push) Blocked by required conditions
CI / NSIS Tests (push) Blocked by required conditions
CI / Prepare Release: (push) Blocked by required conditions
CI / Documentation (push) Blocked by required conditions
CI / Build Source Tarball (push) Blocked by required conditions
CI / Build Onedir Dependencies (push) Blocked by required conditions
CI / Build Salt Onedir (push) Blocked by required conditions
CI / Build Packages (push) Blocked by required conditions
CI / CI Deps (push) Blocked by required conditions
CI / Test Package (push) Blocked by required conditions
CI / Test Salt (push) Blocked by required conditions
CI / Combine Code Coverage (push) Blocked by required conditions
CI / Set the Pipeline Exit Status (push) Blocked by required conditions
2025-03-07 14:24:59 -07:00
vzhestkov
1898c59db0
Add tests for multiple inventories with ansible.targets
2025-03-07 14:24:59 -07:00
vzhestkov
b51e75e540
Implement multiple inventory for ansible.targets
2025-03-07 14:24:59 -07:00
twangboy
4fa83b77a4
Fix some failing tests
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Onedir Dependencies (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
2025-03-05 11:42:07 -07:00
Twangboy
dd2c86d844
Add list_repo_pkgs to win_pkg module
2025-03-05 11:42:07 -07:00
twangboy
adf62acf9c
Update Windows build scripts
2025-03-05 11:41:32 -07:00
Daniel A. Wozniak
0ad9b3beee
Update workflows to work with actionlint version
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Onedir Dependencies (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
2025-02-26 02:48:08 -07:00
Daniel A. Wozniak
9a9b8f8fc3
Update action lint version
CI / Prepare Workflow Run (push) Waiting to run
CI / Pre-Commit (push) Blocked by required conditions
CI / Lint (push) Blocked by required conditions
CI / NSIS Tests (push) Blocked by required conditions
CI / Prepare Release: (push) Blocked by required conditions
CI / Documentation (push) Blocked by required conditions
CI / Build Source Tarball (push) Blocked by required conditions
CI / Build Onedir Dependencies (push) Blocked by required conditions
CI / Build Salt Onedir (push) Blocked by required conditions
CI / Build Packages (push) Blocked by required conditions
CI / CI Deps (push) Blocked by required conditions
CI / Test Package (push) Blocked by required conditions
CI / Test Salt (push) Blocked by required conditions
CI / Combine Code Coverage (push) Blocked by required conditions
CI / Set the Pipeline Exit Status (push) Blocked by required conditions
2025-02-26 00:19:07 -07:00
Daniel A. Wozniak
cbaf7a241e
Fix nightly prepare workflow check
2025-02-25 22:56:16 -07:00
Daniel A. Wozniak
f134da8acf
fix typo
2025-02-25 22:28:42 -07:00
Daniel A. Wozniak
9338d94bd4
Fix var context
2025-02-25 22:22:50 -07:00
Daniel A. Wozniak
b22adbaf59
Fix up app token
2025-02-25 22:21:43 -07:00
Daniel A. Wozniak
44d666791e
Add workflow job environment
2025-02-25 22:06:17 -07:00
Daniel A. Wozniak
4e3eb1455e
Refactor nightly
2025-02-25 22:04:22 -07:00
Daniel A. Wozniak
bac3653e2f
Check workflow finished syntax
2025-02-25 19:31:55 -07:00
Daniel A. Wozniak
53a7e67f36
Pull in workflow changes from master
CI / Prepare Workflow Run (push) Has been cancelled
CI / Pre-Commit (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / NSIS Tests (push) Has been cancelled
CI / Prepare Release: (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Build Source Tarball (push) Has been cancelled
CI / Build Onedir Dependencies (push) Has been cancelled
CI / Build Salt Onedir (push) Has been cancelled
CI / Build Packages (push) Has been cancelled
CI / CI Deps (push) Has been cancelled
CI / Test Package (push) Has been cancelled
CI / Test Salt (push) Has been cancelled
CI / Combine Code Coverage (push) Has been cancelled
CI / Set the Pipeline Exit Status (push) Has been cancelled
2025-02-25 16:45:35 -07:00
Sam Cole
4c1b4236b3
Fix incorrect formatting for code block
2025-02-21 02:32:27 -07:00
Daniel A. Wozniak
9a3d947760
Try different syntax for workflow and branches
2025-02-21 00:01:22 -07:00
Daniel Wozniak
1cd6139479
Merge pull request #67745 from dwoz/merge/master/3007.x
...
Merge forward 3007.x into master
2025-02-19 20:15:21 -07:00
Daniel A. Wozniak
2d2f829920
More ssh test skips on python < 3.9
2025-02-19 14:51:29 -07:00
Daniel A. Wozniak
d9652b9a1c
m
2025-02-19 10:45:53 -07:00
Daniel A. Wozniak
fc0b20e657
More ssh test fixes
...
- Fix thin dir unit tests after distro change revert
- Skip any tests that require system python of 3.9 or higher
2025-02-19 00:26:32 -07:00
Daniel A. Wozniak
2404b3222c
Skip tests that require newer python
2025-02-18 21:00:17 -07:00
Daniel A. Wozniak
e899bf426e
Better check for downgrade tests
2025-02-18 20:39:38 -07:00
Daniel A. Wozniak
15fafec88e
Fix pre-commit
2025-02-18 18:49:17 -07:00
Daniel A. Wozniak
198758a47b
Mark test that needs system python 3.8
2025-02-18 18:02:52 -07:00
Daniel A. Wozniak
7002d97afd
Install correct dependencies
2025-02-18 15:52:06 -07:00
Daniel A. Wozniak
51296c7f23
Break out PRs to separate workflow
2025-02-18 15:51:44 -07:00
Daniel A. Wozniak
a37021e6b4
Break out PRs to separate workflow
2025-02-18 13:46:36 -07:00
Daniel A. Wozniak
0ce2fc6fde
Break out PRs to separate workflow
2025-02-18 13:42:26 -07:00
Daniel A. Wozniak
42d977aa70
Use mysql module for downgrade test
2025-02-18 13:37:12 -07:00
Daniel A. Wozniak
4070ed2e06
Only include distro on py3
2025-02-18 13:26:54 -07:00
Daniel A. Wozniak
2c93bc3d23
Add pkg-config and mysql to mac deps
2025-02-18 02:58:25 -07:00
Daniel A. Wozniak
dc6796d2fd
Test fixes
2025-02-18 01:07:41 -07:00
Daniel A. Wozniak
3701105a59
Fix another thin dir unit test
2025-02-17 23:39:07 -07:00
Daniel A. Wozniak
d0361b7434
Fix downgrade module check
2025-02-17 23:22:40 -07:00
Daniel A. Wozniak
9f1c62a847
Test package download test fix
2025-02-17 19:49:24 -07:00
Daniel A. Wozniak
31e125f09e
Multiple ssh tests fixed
2025-02-17 19:33:07 -07:00
Daniel A. Wozniak
a3b79144c1
Fix ssh and cmd mod tests
2025-02-17 15:44:26 -07:00
Daniel A. Wozniak
1cae35984d
Remove branches from workflow-finished
2025-02-17 14:05:54 -07:00
Daniel A. Wozniak
d3401c0c52
Remove branches from workflow-finished
2025-02-17 14:02:31 -07:00
Daniel A. Wozniak
9adaf73fa6
Remove branches from workflow-finished
2025-02-17 14:01:07 -07:00
Daniel A. Wozniak
fc0c0dd3b1
salt.profile.output has been removed
2025-02-17 00:24:49 -07:00
Daniel A. Wozniak
86c7e1f5c9
Remove cruft
2025-02-17 00:16:13 -07:00
Daniel A. Wozniak
a017805680
Merge remote-tracking branch 'saltstack/3007.x' into merge/master/3007.x
2025-02-17 00:09:58 -07:00
Daniel Wozniak
64a91d459f
Merge pull request #67209 from dwoz/merge/3007.x/3006.x
...
Merge forward 3006.x to 3007.x
2025-02-16 21:21:47 -07:00
Daniel A. Wozniak
3ea2573906
Define branches for workflow finished
2025-02-16 21:10:32 -07:00
Daniel A. Wozniak
3be907b608
Pull in workflow-finished changes from 3006.x
2025-02-16 18:52:49 -07:00
Daniel A. Wozniak
d2551346f3
Fix pkg testrun log artifacts name
2025-02-16 18:33:40 -07:00
Daniel A. Wozniak
7b74517da5
Test fixes
2025-02-16 17:09:17 -07:00
Daniel A. Wozniak
4e78a0e233
meh
2025-02-16 01:57:31 -07:00
Daniel A. Wozniak
f02cb2efbe
Make sure events are handled concurrently
2025-02-15 14:06:28 -07:00
Daniel A. Wozniak
9eb019278a
Account for api change
2025-02-14 16:01:17 -07:00
Daniel A. Wozniak
0140f6fd46
Add timeout for connect
2025-02-14 16:00:57 -07:00
Daniel A. Wozniak
d625eaeea8
Merge branch '3006.x' into merge/3007.x/3006.x-last-merge
2025-02-14 01:23:02 -07:00
Daniel A. Wozniak
cea608be9f
Increase request timeout
2025-02-06 23:44:28 -07:00
Daniel A. Wozniak
fe28c55227
Fix tests referencing repo.saltproject.io
2025-02-06 20:48:58 -07:00
Daniel A. Wozniak
65dff0ba98
Test fixup
...
- Actually fix cluster key rotate test by useing getpass module.
- Skip a test that won't pass because amazon linux 2 systemd is not
fully working in a container.
2025-02-05 19:25:46 -07:00
Daniel A. Wozniak
98a0673eca
Fix pre-commit and lint
2025-02-05 18:24:45 -07:00
Daniel A. Wozniak
ed8a0e0d9c
Cluster scenario fix
2025-02-05 17:50:58 -07:00
Twangboy
4719725412
Fix test.managed on Windows
2025-02-05 14:08:41 -07:00
Twangboy
9619b980c7
Fix line endings for Windows
2025-02-05 13:41:48 -07:00
Daniel A. Wozniak
029b96c996
Fix nightly
2025-02-04 23:33:44 -07:00
Daniel A. Wozniak
d72fb55597
workflows pre-commit
2025-02-04 23:31:22 -07:00
Twangboy
b4bf3c355f
Fix ssm issue on 32bit windows
2025-02-04 11:51:34 -07:00
Daniel A. Wozniak
54768968f1
Let our if logic determin what step will run
2025-02-03 17:50:01 -07:00
Daniel A. Wozniak
37029cf8ae
Add more context to display name
2025-02-03 16:56:57 -07:00
Daniel A. Wozniak
76cb758f64
Add environment for gh cli
2025-02-03 16:07:20 -07:00
Daniel A. Wozniak
045bb73f0d
Fix shellcheck
2025-02-03 15:40:48 -07:00
Daniel A. Wozniak
b3ae80492e
Better way of restarting failed jobs
2025-02-03 14:42:15 -07:00
Twangboy
240f0c3069
Fix Windows Builds for 3007.x merge forward
2025-02-03 13:15:02 -07:00
Daniel A. Wozniak
98dd3e89ba
look back one day
2025-02-03 01:38:54 -07:00
Daniel A. Wozniak
739608e428
Increase time
2025-02-03 01:23:50 -07:00
Daniel A. Wozniak
6c4053572b
Do not fail on invalid workflow
2025-02-03 01:17:06 -07:00
Daniel A. Wozniak
050a7f0a3f
Better fix for retry-workflow
2025-02-03 01:12:43 -07:00
Daniel A. Wozniak
d173c1d3c1
Take a different approach to workflow retry
2025-02-03 00:15:31 -07:00
Daniel A. Wozniak
9b8078a53b
Remove early failure
2025-02-02 15:17:58 -07:00
Daniel A. Wozniak
f6c9181c2e
Allow workflow disptach
2025-02-02 15:17:58 -07:00
Daniel A. Wozniak
d4cc7327ec
quicker failure
2025-02-02 15:17:58 -07:00
Daniel A. Wozniak
1b8130e913
Introduce early failure
2025-02-02 15:17:58 -07:00
Daniel A. Wozniak
5aa82db68a
workflow retry logic
2025-02-02 15:17:58 -07:00
Daniel A. Wozniak
7c95b78604
Fix debug option
2025-02-01 03:06:00 -07:00
Daniel A. Wozniak
9c4d258767
Add debug option to ssh-debug workflow
2025-02-01 02:54:30 -07:00
Daniel A. Wozniak
2957342d89
Pull in fixes from 3006.x
2025-02-01 02:54:30 -07:00
Daniel A. Wozniak
4d8e7021ed
use push instead of pull_request
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
d59d7fd3a5
Fix pull event name
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
f48d651cc0
Add pull until merged foward
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
3239abeec1
Fix runner
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
9d11b81a40
Add run name
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
fdbb239702
Fix workflow
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
a1b9ca6e2f
Initial commit of ssh debug workflow
2025-01-31 15:58:00 -07:00
Daniel A. Wozniak
0a1a89c149
Pull in pkg/windows/prep_salt.ps1 from 3006.x
2025-01-31 15:45:19 -07:00
Daniel A. Wozniak
593d6cb5ec
Attempt to fix download urls
2025-01-31 14:11:39 -07:00
Daniel A. Wozniak
9f1647d0f6
Merge branch '3006.x' into merge/3007.x/3006.x
2025-01-29 15:22:23 -07:00
Frank
9233e1cc3b
Fix documentation for salt.modules.file.get_managed to clarify 'name' parameter location
2024-11-11 15:31:38 -07:00
Daniel A. Wozniak
9d10d699f3
Skip tests that are not applicable on windows
2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
5eb5a4035c
Improve tests
2024-10-29 14:32:21 -07:00
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
332b31e701
Increase timeout for windows tests
2024-10-29 14:32:21 -07:00
Daniel A. Wozniak
932ff82d70
Remove un-needed param
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 Wozniak
4b19b50fbc
Merge pull request #67002 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge forward 3006.x into 3007.x
2024-10-28 03:41:23 -07:00
Daniel A. Wozniak
1a834761bf
Merge branch '3006.x' into merge/3007.x/3006.x
2024-10-25 17:07:29 -07:00
Daniel A. Wozniak
66e5b97785
Add python 3.13 requirements files
2024-10-23 16:20:51 -07:00
Hristo Voyvodov
d7b4d10f2a
update vault client tests to ensure unwrap is respecting verify
2024-10-21 14:25:43 -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
Daniel Wozniak
ef2fb24bd1
Merge pull request #66969 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge forward 3006.x into 3007.x
2024-10-17 14:37:32 -07:00
Daniel A. Wozniak
9b157d732f
Merge branch '3006.x' into merge/3007.x/3006.x
2024-10-16 18:03:43 -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
23b2f654b7
More reliable test shutdown
2024-10-10 12:56:15 -07:00
Daniel A. Wozniak
071325c203
Add changelog for issue #65265
2024-10-10 12:56:15 -07:00
Daniel A. Wozniak
7f73274352
The zmq socket poll method needs to be awaited
...
When using zmq.asyncio.Context, the socket's poll method is a coroutine.
2024-10-10 12:56:15 -07:00
bdrx312
221420cd57
Use importlib.metadata for python >= 3.10
...
Add slots to DependencyGraph
Pinned networkx to 3.1
Pinned networkx to latest version supported on python 3.8 to support running salt-ssh to systems with python 3.8
Fixed assignment of env in support helpers VirtualEnv
Restrict networkx version with contraints instead of in base
Fixed setting context retcode in some places where errors are returned.
Removed unnecessary pylint ignore comment.
Reverted importlib-metadata version bump.
Added networkx to versions report
Actually fixed VirtualEnv env assignment from kwargs
2024-10-10 01:53:52 -07:00
bdrx312
66caa58346
Fix issues with requisites and aggregate
...
add install of networkx
fix aggregate to properly work with requisites
fix requisite checking to not be exponential
fix pkg aggregate to work when multiple states specify the same package
add some type hints to state.py to make the code easier to follow
fix case of pkg aggregate duplicate package.
2024-10-10 01:53:52 -07:00
jeanluc
6463994b4d
Use grains dict directly when not traversing subdict
2024-10-08 13:15:09 -07:00
jeanluc
c2e0b57ba9
Document that dict key syntax should be preferred
...
While `{{ salt.foo.bar() }}` often works, it can introduce some edge
cases which are avoided by `{{ salt['foo.bar']() }}`.
2024-10-08 13:15:09 -07:00
jeanluc
096dca61ba
Make SSH FunctionWrapper behave more like LazyLoader
2024-10-08 13:15:09 -07:00
jeanluc
3bcb67f1c1
Add tests for issues #66376 and #41794
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
jeanluc
47e4c80a74
Add test for issue #66600
2024-10-08 13:15:09 -07:00
Daniel A. Wozniak
44d96002e9
Do no allow duplicate message ids
2024-09-30 15:12:27 -07:00
Daniel Wozniak
58c89a8dfd
Merge pull request #66925 from vkotarov/windows-qyzylorda-timezone
...
[master] Add Qyzylorda timezone to win_timezone module, fixes #66176
2024-09-30 12:56:09 -07:00
Daniel Wozniak
ef3d8f7840
Merge pull request #66930 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge forward 3006.x into 3007.x
2024-09-30 12:53:16 -07:00
Tyler Levy Conde
216764c69e
Allow fstring linting
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
7e334bce6f
Allow fstring linting
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
593dbf7f9b
add changelog entry
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
e20d896a13
passing lint
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
fa61bc361b
passing pylint
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
3bf8dda2e5
Relenv salt-ssh fully functional
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
a74ce63e09
add basic ssh-relenv test
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b95855edf5
passing lint
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b5b5fb4f5c
Relenv deploy is successful
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
731f3edaff
Also download the file checksum
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
7df3bbfe66
Actually download the stream
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
4bb6e93cab
:Improve OS detection
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b997d8d733
better os detection for relenv tarball
2024-09-30 12:10:26 -07:00
Tyler Levy Conde
5263353262
:xSalt-ssh can deploy a relenv environment
2024-09-30 12:10:26 -07:00
Daniel A. Wozniak
ff12c7f8c2
Fix merge wart
2024-09-26 15:21:09 -07:00
Olivier Mehani
15573a8f20
Add state.sls_exists to ssh client
...
fixes : #66893
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Fix typo in sate.sls_exists doctstrings (module & ssh wrapper)
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2024-09-26 15:11:09 -07:00
kevin-andrew-wipro
e4aa82fbc6
Update master-cluster.rst Example Config
...
The Master Config example's `file_roots` and `pillar_roots` properties need the `base` property followed by a list of the directory. Otherwise, the Salt master shows an error in the logs.
2024-09-26 15:08:00 -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
Vesselin Kotarov
9ee0398fdf
Add Qyzylorda timezone to win_timezone module, fixes #66176
2024-09-25 18:03:23 +03:00
Daniel Wozniak
0007447eab
Merge pull request #66910 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge forward 3006.x into 3007.x
2024-09-23 13:44:49 -07:00
Daniel A. Wozniak
c38448909c
Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x
2024-09-23 01:38:28 -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
Carlos Álvaro
40f871c2b1
doc(mab_brew_pkg): Add options parameter documentation
2024-09-19 14:49:57 -07:00
Carlos Álvaro
8416fe4311
feat(mac_brew_pkg): Add options to list_upgrades method
2024-09-19 14:49:57 -07:00
Carlos Álvaro
cf2b724cbb
doc(mac_brew_pkg): Update install method documentation
2024-09-19 14:49:57 -07:00
Carlos Álvaro
ae69865ab3
feat(mac_brew_pkg): Add options to remove method
2024-09-19 14:49:57 -07:00
Carlos Álvaro
ad6ebb175f
doc: Add changelog
2024-09-19 14:49:57 -07:00
Carlos Álvaro
f420d779ba
feat(mac_brew_pkg): Add support for aliases when getting info
2024-09-19 14:49:57 -07:00
Carlos Álvaro
436bdd50aa
chore(mac_brew_pkg): Update tests to use Homebrew's full API v2
2024-09-19 14:49:57 -07:00
Carlos Álvaro
faa7a7ba97
feat(mac_brew_pkg): Improve latest_version support
...
Fixes #66291
2024-09-19 14:49:57 -07:00
Carlos Álvaro
c56afbe514
feat(mac_brew_pkg): Allow additional options in info_installed
2024-09-19 14:49:57 -07:00
Daniel Wozniak
c246f20564
Merge pull request #66742 from vzhestkov/use-cachedir-cli-for-extension_modules
...
[master] Use --cachedir parameter for setting extension_modules with salt-call
2024-09-19 14:31:13 -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
Daniel A. Wozniak
c5b5732957
Use the same args for integration tests
2024-09-18 18:05:24 -07:00
jeanluc
af3818ba24
Fix Salt-SSH crash when key deploy is skipped manually
2024-09-18 14:54:49 -07:00
jeanluc
df835c1982
Add test for issue #66610
2024-09-18 14:54:49 -07:00
Sebastian Engel
0eace0200f
doc: fix jinja.import_json module docstr
2024-09-18 14:52:19 -07:00
Daniel A. Wozniak
a71bcfb734
Do not install when no-install is passed
2024-09-17 15:03:49 -07:00
Daniel A. Wozniak
561a5c4bdf
Handle cases where the process is gone or zombified
2024-09-16 17:45:09 -07:00
Daniel A. Wozniak
4925172a28
Mark 3007 as released
2024-09-16 15:41:16 -07:00
Daniel A. Wozniak
a9b37c2b5d
Account for changes in transport api in tests
2024-09-13 18:21:47 -07:00
Daniel A. Wozniak
2e514c5e96
Fix zeromq transport unit tests
2024-09-13 16:16:56 -07:00
Daniel A. Wozniak
df47c099e3
Fix linter errors
2024-09-13 14:52:28 -07:00
twangboy
f2be0b75c6
Fix windows package builds
2024-09-13 09:53:04 -06:00
vzhestkov
e6468e87b0
Add changelog entry
2024-09-10 13:01:19 +02:00
vzhestkov
9ae5bcaeba
Add test to check extension_modules value alignment
2024-09-09 10:18:58 +02:00
vzhestkov
7836a837cd
Use --cachedir parameter for extension_modules with salt-call
2024-09-09 10:18:52 +02:00
Daniel A. Wozniak
43c825f6ba
No more salt.ext.tornado
2024-08-28 16:29:58 -07:00
Daniel A. Wozniak
8dd2e3473c
Merge branch '3006.x' into merge/3007.x/3006.x
2024-08-26 19:26:17 -07:00
Daniel Wozniak
246d066457
Merge pull request #66691 from dwoz/merge/master/3007.x
...
[master] Merge forward 3007.x into master
2024-08-19 15:00:26 -07:00
Daniel A. Wozniak
29ffc3ab1d
Skip pkg tests that need new golden image
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
63958cf7e4
Test to check all transport ipc perms
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
d75030cfaf
Fix test name check
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
61d6279963
more transport ipc socket permissions tests
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
3f9f0298bb
Add changelog for #66228
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
9a6f5e8f48
Add transport layer ipc socket perms test
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
9ec04e006e
Add docstring to ipc_publish_server
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
0466043ec6
Add regression test for master_event_pub.ipc permissions
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
411c1f384e
Fix master pull socket permissions
2024-08-19 15:00:09 -07:00
Daniel A. Wozniak
17c58d6587
Fix grains test on FIPS platforms
...
Also, clean up pre-commit
2024-08-17 14:39:54 -07:00
Daniel A. Wozniak
a87f2418aa
Skip pkg tests that need new golden image
2024-08-15 23:19:17 -07:00
Daniel A. Wozniak
320641ca3c
Remove commented out code
2024-08-08 18:39:40 -07:00
Daniel A. Wozniak
9c353984d7
Migrate grains tests to pytest
2024-08-08 17:03:15 -07:00
Daniel A. Wozniak
c24ccef828
Increase test timeout
2024-08-08 14:47:22 -07:00
Daniel A. Wozniak
aad1050e21
Increase test timeout
2024-08-07 15:06:51 -07:00
Daniel A. Wozniak
6a9fa5e2ec
increase timeout
2024-08-07 00:58:49 -07:00
Daniel A. Wozniak
6597a6b115
Increase timeout on grains test
2024-08-06 17:08:07 -07:00
Daniel A. Wozniak
9d123b949e
Skip chocolatey tests
...
These tests are failing because CI/CD is flooding chocolatey's APIs with
requests. They need to be refactored to not hit APIs outside of our
infrustructure.
2024-08-06 17:05:58 -07:00
Daniel A. Wozniak
f2b4410681
Fix pkg tests on arch
2024-08-06 00:26:24 -07:00
Daniel A. Wozniak
cd9753ff0f
Skip ssh slsutil tests when system python is below 3.8
2024-08-05 22:23:46 -07:00
Carlos Álvaro
18ca4fdfa9
doc(macdefaults): Add ..versionadded::
2024-07-12 15:27:33 -07:00
Carlos Álvaro
83225aca7d
fix(macdefaults): Use salt.utils.files.open
2024-07-12 15:27:33 -07:00
Carlos Álvaro
dd5575e90f
fix(macdefaults): Use TemporaryDirectory instead of TemporaryFile
...
TemporaryFile has no name, so NamedTemporaryFile would be a better option.
However, until Python 3.12, this file is deleted on close, which is not valid for this purpose. TemporaryDirectory is used instead.
2024-07-12 15:27:33 -07:00
Carlos Álvaro
5124936f9e
feat(macdefaults): Allow selecting key separator
2024-07-12 15:27:33 -07:00
Carlos Álvaro
8742299e98
feat(macdefaults): catch write exceptions to return safely
2024-07-12 15:27:33 -07:00
Carlos Álvaro
f5067e7853
feat(macdefaults): Add support for copmplex keys and nested dictionaries
2024-07-12 15:27:33 -07:00
Carlos Álvaro
7c5baf4bbe
enh(macdefaults): Use generator instead of list
2024-07-12 15:27:33 -07:00
Carlos Álvaro
aaba6250c0
feat(macdefaults): Add basic support for array-add and dict-add
2024-07-12 15:27:33 -07:00
Carlos Álvaro
6e51f3b755
doc: Add changelog entry
2024-07-12 15:27:33 -07:00
Carlos Álvaro
19cbf09521
feat(macdefaults): Improve macOS defaults support
2024-07-12 15:27:33 -07:00
Pablo Suárez Hernández
22611256aa
Add unit tests to cover rich rules normalization
2024-07-11 15:00:53 -07:00
Pablo Suárez Hernández
bd60c9b40a
Enhance documentation for normalization function
2024-07-11 15:00:53 -07:00
Marek Czernek
f96ecd141c
Normalize new rich rules before comparing to old
...
Firewallcmd rich rule output quotes each
assigned part of the rich rule, for example:
rule family="ipv4" source port port="161" ...
The firewalld module must first normalize
the user defined rich rules to match the
firewallcmd output before comparison to
ensure idempotency.
2024-07-11 15:00:53 -07:00
Pablo Suárez Hernández
2aa213123b
Add changelog entry
2024-07-11 15:00:53 -07:00
Daniel A. Wozniak
bfc78d7646
Fix pre-commit
2024-07-04 21:59:25 -07:00
AldarisPale
589537902e
Make extmod not found error message mean more
...
When module is places in the incorrect directory, the loading of the module will fail. Give more meaningful error message and a possible solution to the problem.
I've hit this problem personally and debugging it took more than 3 hours.
2024-07-04 21:59:25 -07:00
Daniel A. Wozniak
539664c6ba
Merge branch '3007.x' into merge/master/3007.x
2024-07-04 21:35:33 -07:00
Daniel Wozniak
bd89384259
Merge pull request #66681 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge 3006.x into 3007.x
2024-07-04 21:30:26 -07:00
Daniel A. Wozniak
cb09449401
Merge remote-tracking branch 'saltstack/3006.x' into merge/3007.x/3006.x
2024-07-03 15:51:48 -07:00
Daniel A. Wozniak
62903c242f
Merge forward 3006.x to 3007.x
2024-07-01 08:29:08 -07:00
Daniel Wozniak
847c94b56d
Merge pull request #66654 from dwoz/merge/3007.x/3006.x
...
[3007.x] Merge forward 3006.x into 3007.x
2024-06-27 05:39:18 -07:00
Daniel A. Wozniak
679605891d
Skip test on photon
2024-06-26 12:43:04 -07:00
Daniel A. Wozniak
a359f9188f
More fips test fixes
2024-06-25 05:18:45 -07:00
Daniel A. Wozniak
43565e2210
Fix syndic test on fips platforms
2024-06-24 09:20:28 -07:00
Daniel A. Wozniak
2a04013aae
Fix duplicate kwarg
2024-06-24 04:36:31 -07:00
Daniel A. Wozniak
0559f97be3
Fix deltaproxy and cluster tests in fips mode.
2024-06-24 02:53:31 -07:00
Daniel A. Wozniak
1082ce3c5f
Mulitple fips test run fixes
2024-06-24 01:18:53 -07:00
Daniel A. Wozniak
57779dea8a
Fim master key decrypt
2024-06-23 06:13:22 -07:00
Daniel A. Wozniak
29bb08c662
Remove duplicate tests that are out of date
2024-06-23 04:09:07 -07:00
Daniel A. Wozniak
1532472dcb
salt.crypt.private_encrypt is no longer needed
...
The class moethod salt.crypt.PrivateKey.encrypt replaces
salt.crypt.private_encrypt
2024-06-22 12:42:24 -07:00
Daniel A. Wozniak
84a9175e2c
Fix merge forward duplicate tests
2024-06-22 11:42:42 -07:00
Daniel A. Wozniak
5f1b51901c
Avoid circular import
2024-06-22 07:53:30 -07:00
Daniel A. Wozniak
9c12b06903
test fixes
2024-06-22 05:11:12 -07:00
Daniel A. Wozniak
561ad66dbb
Fix linter error
2024-06-22 01:33:01 -07:00
Jamie Murphy
a461c4bbec
precommit fixes
2024-06-22 00:40:31 -07:00
Jamie (Bear) Murphy
a2fac53127
test httpclient in pillar
2024-06-22 00:40:31 -07:00
Matthias Kesler
0b92bfdf80
Fix #66194 : Exchange HTTPClient by AsyncHTTPClient in salt.utils.http
2024-06-22 00:40:31 -07:00
Daniel A. Wozniak
60cc8dbce8
Merge forward 3006.x into 3007.x
2024-06-21 23:53:49 -07:00
carrychair
e4c1da4323
remove repetitive words
...
Signed-off-by: carrychair <linghuchong404@gmail.com>
2024-05-29 17:03:54 -07:00
jeanluc
aaad0d2ecf
Allow signature verification logic to be reused for other backends
2024-05-27 01:17:57 -07:00
jeanluc
b171fae4e2
Add asymmetric
execution module for low-level signature operations
2024-05-27 01:17:57 -07:00
vzhestkov
cb892be59e
Drop useless utils LazyLoader call
2024-05-27 01:17:16 -07:00
Pedro Algarvio
29b6843268
Merge pull request #66581 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-05-23 14:56:28 +01:00
Pedro Algarvio
26b41d5753
Merge 3007.x into master
2024-05-23 11:35:57 +01:00
Pedro Algarvio
ec63293372
Merge pull request #66585 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-23 11:35:30 +01:00
Pedro Algarvio
adc1deed11
Merge 3006.x into 3007.x
2024-05-23 11:34:31 +01:00
Pedro Algarvio
94d212fc71
Consistency
2024-05-23 11:28:55 +01:00
Pedro Algarvio
55f99625e0
Merge pull request #66580 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
Merge 3006.x into 3007.x
2024-05-23 11:20:38 +01:00
Pedro Algarvio
a54efc5cd2
Merge 3006.x into 3007.x
2024-05-23 11:19:31 +01:00
vzhestkov
8743551143
Get rid of run_func in salt.Minion._target
2024-05-22 03:33:59 -07:00
vzhestkov
8a4228e5b3
Remove redundant run_func from salt.master.MWorker._handle_aes
2024-05-22 03:33:59 -07:00
jeanluc
06e325f607
Add changelog
2024-05-22 03:27:40 -07:00
jeanluc
33efd9c4a7
Ensure namespace packages and submodule entrypoints work
2024-05-22 03:27:40 -07:00
jeanluc
217fafd0fc
Include saltexts by default, add filters
2024-05-22 03:27:40 -07:00
jeanluc
747ab4c456
Make saltext autoload order deterministic
2024-05-22 03:27:40 -07:00
jeanluc
7c8d94799e
Distribute saltexts in salt-ssh thin package [PoC]
...
This is an unpolished proof of concept of how to distribute Salt
extensions together with the thin package.
2024-05-22 03:27:40 -07:00
James Howe
c4bc012528
Simplify pkgrepo examples
...
humanname and dist do not do anything useful for apt repos
2024-05-21 15:37:30 -07:00
vzhestkov
7017c14ba6
Add test for getting matchers from __context__ in matchers.confirm_top
2024-05-21 15:36:54 -07:00
vzhestkov
4923679536
Speed up salt.matcher.confirm_top by using __context__
2024-05-21 15:36:54 -07:00
Max Arnold
eff969d280
Fix pre-commit
2024-05-21 15:31:17 -07:00
Max Arnold
c0266a0798
Add changelog
2024-05-21 15:31:17 -07:00
Max Arnold
d9a77b8d5f
Update integration test
2024-05-21 15:31:17 -07:00
Max Arnold
135223313a
Add clean_proc_dir tests
2024-05-21 15:31:17 -07:00
Max Arnold
0401be21ed
Add read_proc_file tests
2024-05-21 15:31:17 -07:00
Max Arnold
fe00470219
Get rid of deepcopy when adding a pid
2024-05-21 15:31:17 -07:00
Max Arnold
bd0d1306fd
Catch read_proc_file exceptions
2024-05-21 15:31:17 -07:00
Max Arnold
cc1f9a4aab
Add check_cmdline tests
2024-05-21 15:31:17 -07:00
Max Arnold
821607434b
Update the Maintenance run function test
2024-05-21 15:31:17 -07:00
Max Arnold
be97ceb118
Add runner proc files
2024-05-21 15:31:17 -07:00
Salt Project Packaging
2b266935e4
Release v3007.1
2024-05-19 12:59:07 +00:00
Pedro Algarvio
df1061c457
Yet some more artifact merging fixes
2024-05-19 09:44:14 +01:00
Pedro Algarvio
148e63e89d
Fix windows repository artifact name
2024-05-18 19:26:28 +01:00
Pedro Algarvio
38bb21e484
Reduce the potential of failing when merging artifacts
2024-05-18 07:49:50 +01:00
Pedro Algarvio
91f63da162
Allow merging artifacts not to fail on re-runs
2024-05-18 07:49:50 +01:00
Pedro Algarvio
00faf135ed
Fix broken test on Windows
2024-05-18 07:49:50 +01:00
Pedro Algarvio
dc917c48a6
Improve/fix the condition of when the reports jobs run
2024-05-18 07:49:50 +01:00
Pedro Algarvio
a24a7d42b3
Make sure all uploaded artifacts have different names
...
So that we can always merge them on reports
2024-05-18 07:49:50 +01:00
Pedro Algarvio
5a85699c8b
Skip problematic tests in Fedora 40
...
Refs https://github.com/saltstack/salt/issues/66539
Refs https://github.com/saltstack/salt/issues/66540
2024-05-18 07:49:50 +01:00
hurzhurz
34439f7750
roots fileserver fix path verification for symlinks with destination outside of root
2024-05-18 07:49:50 +01:00
hurzhurz
b0e7c62de8
salt.utils.verify.clean_path: make filesystem link resolution optinally
2024-05-18 07:49:50 +01:00
Pedro Algarvio
551e7c4b04
Merge pull request #66532 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-05-16 17:14:59 +01:00
Pedro Algarvio
9a756c02fa
Merge 3007.x into master
2024-05-16 17:10:10 +01:00
Pedro Algarvio
a204ad2d00
Merge pull request #66529 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-16 17:05:05 +01:00
Pedro Algarvio
eb3e6eb7fd
Merge 3006.x into 3007.x
2024-05-16 11:55:46 +01:00
Pedro Algarvio
fe47a95b28
Merge pull request #66520 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-05-16 08:42:40 +01:00
Pedro Algarvio
7835f3acb1
Fix broken test on Ubuntu 24.04
2024-05-15 19:42:46 +01:00
Pedro Algarvio
f72dd1477e
There's no such thing as pytest.skipTest
2024-05-15 19:41:10 +01:00
Shane Lee
75126a7228
Remove try/except
2024-05-15 11:34:25 -06:00
Pedro Algarvio
06bd9d1dfc
Merge 3007.x into master
2024-05-15 15:30:28 +01:00
Pedro Algarvio
70324fab55
Merge pull request #66521 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-15 15:25:57 +01:00
Pedro Algarvio
0f2c3b53b6
Merge 3006.x into 3007.x
2024-05-15 07:50:13 +01:00
Pedro Algarvio
e39e606a72
Merge pull request #66515 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-15 06:53:53 +01:00
Pedro Algarvio
7762814c72
Temporary skip tests on PhotonOS 5
2024-05-14 21:13:16 +01:00
Pedro Algarvio
979261d688
Increase timeouts on the formulas tests
2024-05-14 16:04:35 +01:00
Pedro Algarvio
790304df99
Special-case Ubuntu 24.04
2024-05-14 16:04:35 +01:00
Pedro Algarvio
1e91416f4b
Merge pull request #66516 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-05-14 13:40:25 +01:00
Pedro Algarvio
d765966173
Merge 3007.x into master
2024-05-14 07:20:08 +01:00
Pedro Algarvio
6161ebc8f6
Fix workflows.
2024-05-14 06:34:20 +01:00
Pedro Algarvio
3c5b143403
Merge 3006.x into 3007.x
2024-05-14 06:30:18 +01:00
Pedro Algarvio
5aa158d6af
Merge pull request #66511 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-14 06:29:52 +01:00
bdrx312
00f6d4229f
Fix incorrect version argument will be ignored warning
2024-05-13 14:12:37 -07:00
jeanluc
197676378f
Don't unnecessarily download remote sources to cache
2024-05-13 14:11:57 -07:00
jeanluc
cf9ef7040f
Add test for issue 66342
2024-05-13 14:11:57 -07:00
Pedro Algarvio
685478dc7e
Merge 3006.x into 3007.x
2024-05-13 17:19:31 +01:00
Pedro Algarvio
e5eee2f760
Merge pull request #66499 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-05-12 07:24:32 +01:00
Pedro Algarvio
ee34e0c0a2
Temporary skip of problematic package downgrade tests
2024-05-11 18:39:28 +01:00
Pedro Algarvio
71b1b655c6
Merge 3007.x into master
2024-05-10 19:30:57 +01:00
Pedro Algarvio
be2e1f21c0
Merge pull request #66504 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-10 19:29:51 +01:00
Pedro Algarvio
d52e0e836b
Merge 3006.x into 3007.x
2024-05-10 19:28:25 +01:00
Pedro Algarvio
bd99bb0b7b
Make sure we have a recent enough rustc
to build packages
2024-05-10 19:23:31 +01:00
Pedro Algarvio
605947d4a1
Also set PIP_CONSTRAINT
on the debian rules file
2024-05-10 19:23:31 +01:00
Pedro Algarvio
d2d49f524d
Bump to pydantic==2.6.4
due to https://github.com/advisories/GHSA-mr82-8j83-vxmv
2024-05-10 19:23:31 +01:00
Pedro Algarvio
0fbf743215
We need bigger VMs to build pydantic-core
from source
2024-05-10 19:23:31 +01:00
Pedro Algarvio
c6acd0066f
Bump to pydantic==2.6.1
due to https://github.com/advisories/GHSA-mr82-8j83-vxmv
2024-05-10 19:23:31 +01:00
Pedro Algarvio
428dd21f3d
Merge 3007.x into master
2024-05-10 09:27:46 +01:00
Pedro Algarvio
181f66f7dd
Merge pull request #66460 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-05-10 09:20:17 +01:00
Pedro Algarvio
fb9def3bb2
Just skip the problematic test. Too unstable at the moment.
2024-05-09 14:34:26 -07:00
Pedro Algarvio
f53f0ba3a4
Small improvements to the formulas tests
2024-05-09 14:34:26 -07:00
Pedro Algarvio
038e4706df
Remove formula tests which were always broken and not tested correctly
2024-05-09 14:34:26 -07:00
Pedro Algarvio
6a2b61e2a3
Skip tests on Fedora 39
2024-05-09 14:34:26 -07:00
Pedro Algarvio
902b6fb27f
Just skip the problematic test. Too unstable at the moment.
2024-05-09 20:09:53 +01:00
Pedro Algarvio
2041d468d8
Merge 3006.x into 3007.x
2024-05-09 16:43:51 +01:00
Pedro Algarvio
d0b9bbee35
Small improvements to the formulas tests
2024-05-09 12:20:48 +01:00
Pedro Algarvio
b979cc3754
Remove formula tests which were always broken and not tested correctly
2024-05-09 12:20:48 +01:00
Pedro Algarvio
e8d9364442
Skip tests on Fedora 39
2024-05-09 12:20:48 +01:00
Pedro Algarvio
f1af58e966
No namespaced test packages
2024-05-09 09:37:11 +01:00
Pedro Algarvio
52322431b2
Merge 3006.x into 3007.x
2024-05-09 09:34:14 +01:00
Pedro Algarvio
44eb14b74c
Merge 3006.x into 3007.x
2024-05-02 14:19:16 +01:00
Tyler Levy Conde
cf6c1e1068
Added docs for pre-ssh-hook roster option
2024-05-01 10:31:05 -07:00
Tyler Levy Conde
5991f14a8c
Allow ssh pre connection hook
2024-05-01 10:31:05 -07:00
Daniel A. Wozniak
8a72d487b3
Remove commented lines
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
c484dd324f
Add changelogs
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
90fa7be17f
Fix tests that broke by switching to async/await
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
0ff43842cf
Fix salt proxy tests
...
- The loader can now handle async methods on loaded modules
- Fix async proxy methods: handle_decoded_payload and handle_payload
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
11a06ce0da
Syndic fix-up
...
- Update _handle_decode_payload methods to use async/await.
- Syndic closes request channels before creating new ones.
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
2240c08406
Add scenario test for syndic
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
feca5c8476
Un-skip syndic tests
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
77f3c03f28
Make sure on_recv callbacks are coroutines
2024-05-01 18:05:02 +01:00
Daniel A. Wozniak
0afc66c234
PubChannel on_recv callback must be a coroutine
2024-05-01 18:05:02 +01:00
jeanluc
21d5cca071
Try to refresh expired GPG keys
...
... otherwise fail since expired keys are meaningless.
Also:
* Untangle `gpg.present` logic
* Correctly order key changes in returned comment and prefix messages
with key ID
* Reuse key rendering logic in execution module
* Add some tests for test mode because of logic reordering
2024-04-30 03:59:31 -07:00
jeanluc
4294a82322
Try to respect custom GNUPGHOME env var
2024-04-30 03:59:31 -07:00
jeanluc
596924e510
Create GNUPGHOME if it does not exist
2024-04-30 03:59:31 -07:00
Erik Johnson
75e1569db1
Add changelog entry
2024-04-30 03:55:29 -07:00
Erik Johnson
ea6b6854d3
Don't use Salt's custom YAML loader to load static grains file
2024-04-30 03:55:29 -07:00
vzhestkov
e7f1eba0fc
Remove redundant _file_find
call to the master
2024-04-30 03:51:03 -07:00
Pedro Algarvio
47ad7709ef
Merge pull request #66338 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-04-26 14:23:07 +01:00
Pedro Algarvio
9b45342648
Fix/improve tests
2024-04-26 10:23:12 +01:00
Shane Lee
e90f3c6bd7
Merge pull request #66426 from merlinz01/document-cmd-run-state
...
[master] Document more secure methods of passing sensitive data to cmd.run states
2024-04-25 11:13:55 -06:00
Pedro Algarvio
05db41b567
Merge 3007.x into master
2024-04-24 19:47:29 +01:00
Pedro Algarvio
8a78c2d272
Merge pull request #66417 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-04-24 19:46:47 +01:00
merlinz01
6a788482cf
note permission errors for /dev/stdin and possibility of using "-" for stdin
2024-04-24 13:57:29 -04:00
Pedro Algarvio
c03df09311
Only the websockets transport has the _started
attribute.
2024-04-24 15:17:11 +01:00
Pedro Algarvio
90cfdc1143
Merge 3006.x into 3007.x
2024-04-24 12:19:15 +01:00
Pedro Algarvio
a2a589e5dc
Wait for the server to start before continuing with the test
2024-04-24 12:16:23 +01:00
merlinz01
f310d513df
add documentation about passing sensitive data to commands
2024-04-23 19:36:19 -04:00
merlinz01
5a8c75574e
add example of using slots to populate env vars from pillar
2024-04-23 19:13:38 -04:00
Pedro Algarvio
bdb20a3c0d
Fix static requirements
2024-04-22 17:38:02 +01:00
Pedro Algarvio
69f01a79ea
Merge 3006.x into 3007.x
2024-04-22 17:16:07 +01:00
jeanluc
9063d0ca4b
Remove more unnecessary references
2024-04-17 15:22:05 -07:00
jeanluc
e6e339ebbf
Finish removal of Vault modules
2024-04-17 15:22:05 -07:00
jeanluc
32ac3cf679
Make x509_v2
the default x509
modules
2024-04-17 15:20:14 -07:00
Shane Lee
352b83aea7
Add new options to salt cloud for Windows installer
2024-04-17 15:08:01 -07:00
Pedro Algarvio
0c2c638168
Merge 3007.x into master
2024-04-12 06:47:24 +01:00
Shane Lee
aad71fdbcf
Update Wix to 3.14.1
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
1271a7b27e
Test fixes
...
- Add back cmd_json and cmd_yaml pillars for test fixes
- Remove broken tests and bump cache seed
- Fix filemap
- Restrict pyzmq to <25.1.1
- Fix pkg tests
- Fix performance test
- skip tests that failed due to zypperpkg module removal
- Fix tmp path so test passes on windows
- Remove files accidently added
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
86dea3a5dd
Clean up more warts in man page generation
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
179e95fa89
docs fixup
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
21cd7143ed
Add changelog for extensions removal
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
dc526dc2b1
Initial purge of community extensions
2024-04-11 16:22:55 -07:00
Daniel A. Wozniak
d79e345067
Clean up log levels in tcp and ws transports
2024-04-11 14:16:13 -07:00
Pedro Algarvio
1e9e8d6a11
Merge pull request #66348 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-04-11 21:53:51 +01:00
Pedro Algarvio
722983e167
Merge 3006.x into 3007.x
2024-04-11 17:37:55 +01:00
Clay Oster
e36f1b3bca
Add newline to changelog file
2024-04-10 15:12:15 -07:00
Clay Oster
a25f0055de
Update naming of changelog file
2024-04-10 15:12:15 -07:00
Clay Oster
52b82fdae9
Fix cache directory setting in Master Cluster tutorial
2024-04-10 15:12:15 -07:00
Clay Oster
804cc62c44
Change log level of publisher binding from error to debug
2024-04-10 15:11:37 -07:00
Clay Oster
622365a774
Change error level from debug to info.
2024-04-10 15:10:58 -07:00
Clay Oster
3565c004f8
Change log level of successful master cluster key exchange from error to debug
2024-04-10 15:10:58 -07:00
Pedro Algarvio
0ecde50005
Merge 3007.x into master
2024-04-10 10:15:52 +01:00
Pedro Algarvio
fa177b1330
Merge pull request #66319 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-04-10 10:13:10 +01:00
Shane Lee
620265426d
Update Wix to 3.14.1
2024-04-10 08:49:34 +01:00
Shane Lee
c535598f57
Use pathlib in win_file.remove
2024-04-10 08:49:34 +01:00
Shane Lee
f440082dd0
Add some debug messages
2024-04-10 08:49:34 +01:00
Shane Lee
79041b9206
Use pathlib in win_file.remove
2024-04-10 06:43:30 +01:00
Shane Lee
f6ea2e49fd
Add some debug messages
2024-04-10 06:43:23 +01:00
Pedro Algarvio
de409e68d4
Merge 3006.x into 3007.x
2024-04-08 18:20:23 +01:00
Shane Lee
97e9395b7f
Fix pkg support module
2024-04-05 10:25:22 +01:00
twangboy
7342246514
Try using powershell to start the NSIS installer
2024-04-05 10:25:22 +01:00
twangboy
1a0727a912
Quote the start command
2024-04-05 10:25:22 +01:00
Shane Lee
cda4823fd1
Remove last vestiges of UCRT in Windows Installer
2024-04-04 23:22:16 +01:00
Pedro Algarvio
12a8655c5f
Merge pull request #66315 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-04-04 22:37:16 +01:00
Shane Lee
9269b5009b
Fix tests... maybe
2024-04-04 14:12:33 -07:00
Shane Lee
5b6fbe1497
Make fixtures clean up even if the test fails
2024-04-04 14:12:33 -07:00
Shane Lee
dd2de01d70
Fix some lint
2024-04-04 14:12:33 -07:00
Shane Lee
7964429e04
Add the ability to bootstrap a specific version of chocolatey
...
Added a state to bootstrap and unbootstrap chocolatey
Add changelog
Add and update tests
2024-04-04 14:12:33 -07:00
bdrx312
6ea3ce5de8
Deleted 66200 changelog file
2024-04-04 20:41:51 +01:00
bdrx312
648910e7bb
Fix documentation about unique id behavior
2024-04-04 20:41:51 +01:00
Pedro Algarvio
a6c9caa6cc
Fix tests
2024-04-04 18:13:19 +01:00
Pedro Algarvio
139290742a
Remove test which no longer applies
2024-04-04 11:09:07 +01:00
Pedro Algarvio
a11e1033e3
Merge 3007.x into master
2024-04-04 09:40:47 +01:00
Pedro Algarvio
f527459022
Merge pull request #66233 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-04-04 03:52:36 +01:00
Pedro Algarvio
f0b70953ae
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-04-03 16:51:37 +01:00
Pedro Algarvio
64bc4560a9
Get AWS regions and SPB_ENVIRONMENT from metadata endpoint
2024-04-03 16:49:50 +01:00
Felippe Burk
311652331d
Initial commit of s3 caching
2024-04-03 16:49:50 +01:00
Pedro Algarvio
b1162dfaa3
Add our own GH cache action
...
This actions wraps actions/cache and forces an early exit if 'fail-on-cache-miss' is true
Based on the work from https://github.com/saltstack/salt/pull/66240
2024-04-03 16:49:50 +01:00
Pedro Algarvio
f7d7a50a84
Force cache invalidation by setting cache seed to 1
2024-04-03 16:49:50 +01:00
Pedro Algarvio
7de3f96ee5
Remove invalid properties from existing GH actions
2024-04-03 16:49:50 +01:00
Pedro Algarvio
f099e532bc
Get AWS regions and SPB_ENVIRONMENT from metadata endpoint
2024-04-03 16:07:39 +01:00
Felippe Burk
8425b4d043
Initial commit of s3 caching
2024-04-03 16:07:39 +01:00
Pedro Algarvio
fe16927f2b
Add our own GH cache action
...
This actions wraps actions/cache and forces an early exit if 'fail-on-cache-miss' is true
Based on the work from https://github.com/saltstack/salt/pull/66240
2024-04-03 16:07:39 +01:00
Pedro Algarvio
2aafae606c
Force cache invalidation by setting cache seed to 1
2024-04-03 16:07:39 +01:00
Pedro Algarvio
3b7676b3c8
Remove invalid properties from existing GH actions
2024-04-03 16:07:39 +01:00
Pedro Algarvio
fe6ba8953e
Ignore the hosts key since it's not using the test SSHD server
2024-04-03 14:42:54 +01:00
Pedro Algarvio
f38c6bcbf7
Upgrade to `pytest-salt-factories==1.0.1
`
2024-04-03 14:42:54 +01:00
Pedro Algarvio
a5a0a13e6e
Merge 3006.x into 3007.x
2024-04-03 09:19:40 +01:00
Pedro Algarvio
87db565b70
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-04-03 09:19:29 +01:00
Pedro Algarvio
229d6867a7
Remove extra logic missed in 68131ce7ab
...
This allowed the tests in https://github.com/saltstack/salt/pull/66169
to pass when they shouldn't
2024-04-03 09:15:15 +01:00
Pedro Algarvio
bc36e7a82c
Remove extra logic missed in 68131ce7ab
...
This allowed the tests in https://github.com/saltstack/salt/pull/66169
to pass when they shouldn't
2024-04-03 09:13:33 +01:00
Pedro Algarvio
5c0a890078
Revert "Add the ability to bootstrap a specific version of chocolatey"
...
This reverts commit 0f9f619e90
.
2024-04-03 09:11:49 +01:00
Pedro Algarvio
944d3cd744
Revert "Fix some lint"
...
This reverts commit eb785bdf30
.
2024-04-03 09:11:49 +01:00
Pedro Algarvio
1a8ea6b343
Revert "Make fixtures clean up even if the test fails"
...
This reverts commit 176fe04e8d
.
2024-04-03 09:11:49 +01:00
Pedro Algarvio
c32f748482
Merge 3006.x into 3007.x
2024-04-02 17:19:57 +01:00
Pedro Algarvio
c8c12aa922
Define additional needs
for a few jobs
2024-04-02 16:08:23 +01:00
Pedro Algarvio
6050e6867e
Do not run nightly or scheduled builds on private repos
2024-04-02 16:08:23 +01:00
Pedro Algarvio
ecb537efef
Define additional needs
for a few jobs
2024-04-02 16:07:04 +01:00
Pedro Algarvio
3c97e7f0d3
Do not run nightly or scheduled builds on private repos
2024-04-02 16:07:04 +01:00
nicholasmhughes
2f24eeb9d1
specify explicit kwargs for pillar data and item funcs
2024-03-30 18:22:53 +00:00
nicholasmhughes
63d83353fa
specify explicit kwargs for items and ls
2024-03-30 18:22:53 +00:00
nicholasmhughes
296f6648f2
fixes saltstack/salt#66262 pillar.ls doesn't accept kwargs
2024-03-30 18:22:53 +00:00
Pedro Algarvio
5cab9dff7d
We still need VC Redist on 3007.x
2024-03-28 18:35:28 +00:00
Pedro Algarvio
73bb545a8c
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-03-28 13:54:29 +00:00
Pedro Algarvio
4166a8ba92
For now, ignore the host keys
2024-03-28 13:53:50 +00:00
Pedro Algarvio
7f98810ea6
Merge 3006.x into 3007.x
2024-03-28 13:50:44 +00:00
Shane Lee
176fe04e8d
Make fixtures clean up even if the test fails
2024-03-28 10:12:59 +00:00
Shane Lee
eb785bdf30
Fix some lint
2024-03-28 10:12:59 +00:00
Shane Lee
0f9f619e90
Add the ability to bootstrap a specific version of chocolatey
...
Added a state to bootstrap and unbootstrap chocolatey
Add changelog
Add and update tests
2024-03-28 10:12:59 +00:00
Pedro Algarvio
15f9f585f0
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-03-27 18:47:24 +00:00
Pedro Algarvio
6fb74a0d1a
Reap child processes after each of the ssh tests in case of timeouts
2024-03-27 18:44:44 +00:00
Shane Lee
44d23fc4f2
Update to VC Redist 2022
2024-03-27 08:31:00 +00:00
twangboy
2847192460
Add GitPython to Windows packages
2024-03-26 19:45:07 +00:00
nicholasmhughes
4a6fac0934
fixes saltstack/salt#66260 aptpkg.remove unable to locate package for non-existent package
2024-03-25 18:11:18 +00:00
Carlos Álvaro
927ccc7264
feat: Add tests to highstate returner
2024-03-22 14:19:39 -07:00
Carlos Álvaro
fedbf06223
Port #50460 to master
2024-03-22 14:19:39 -07:00
Pedro Algarvio
fccecc695c
Stop ignoring the host keys, query them and write them down as accepted.
2024-03-21 16:56:53 +00:00
Pedro Algarvio
212e7211c6
Upgrade to `pytest-salt-factories==1.0.0
`
2024-03-21 16:34:57 +00:00
Thomas Phipps
66bb993cbd
add arm64 to _get_opt and SourceEntry.repo_line tests.
2024-03-20 13:49:40 -07:00
Thomas Phipps
18cdcfc496
pre-commit fix after rebase issues
2024-03-20 13:49:40 -07:00
Thomas Phipps
aabba2793a
initial removal of python librarys that only exist in debian system python, not done yet
...
remove unused functions
add pkg.which for deb packages. an item from pkng that should have spread to systems that support it
move SourcesList and SourceEntry to salt.utils.pkg.deb where it belongs.
fix pkg.which test hopfully coreutils is installed
first attempt at fixng #65703
add first changelogs
fix the indexing issue with deb opts by using OrderedDict instead
move salt.utils.pkg.deb tests to functional since not actually unit test.
use example.com instead of real repo in tests.
fix changelog 65703
added changelog for 66201
fix two to many toos in changelog
2024-03-20 13:49:40 -07:00
Pedro Algarvio
7b277420ce
Merge 3006.x into 3007.x
2024-03-20 07:32:06 +00:00
Pedro Algarvio
dfb87cdf57
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-03-20 07:30:32 +00:00
Shane Lee
35bc5fc46b
Revert weird change
2024-03-19 19:07:20 +00:00
Shane Lee
293f6b2d02
Skip state test on Windows
2024-03-19 19:07:20 +00:00
Shane Lee
559ad14f54
Make the tests run on Windows
2024-03-19 19:07:20 +00:00
Shane Lee
0788122499
Whitelist package tests for Windows
2024-03-19 19:07:20 +00:00
Pedro Algarvio
3d44711e01
Merge 3006.x into 3007.x
2024-03-18 12:01:32 +00:00
Pedro Algarvio
da57d43cc0
Randomize names and prefer salt_master.state_tree.base
2024-03-15 14:49:04 +00:00
Pedro Algarvio
62bea250ff
Minor timeout adjustments
2024-03-15 14:49:04 +00:00
Pedro Algarvio
a80140819b
Bump timeout
2024-03-15 14:49:04 +00:00
Pedro Algarvio
e71960bdfd
Merge 3006.x into 3007.x
2024-03-14 16:26:20 +00:00
Pedro Algarvio
87556f9f50
Merge 3006.x into 3007.x
2024-03-14 13:11:46 +00:00
Pedro Algarvio
f7570047bd
Merge 3006.x into 3007.x
2024-03-14 13:06:00 +00:00
Pedro Algarvio
d036b1177e
Merge pull request #66178 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-03-13 06:59:53 +00:00
Pedro Algarvio
d6e72e1f54
Daylight savings suck!
2024-03-12 13:58:55 +00:00
Pedro Algarvio
58d8435758
Merge 3007.x into master
2024-03-11 16:11:09 +00:00
Shane Lee
127a32e480
Upgrade WIX to 3.14
2024-03-08 21:34:35 +00:00
Shane Lee
2ab50019a2
Upgrade WIX to 3.14
2024-03-08 21:33:45 +00:00
Pedro Algarvio
04a992a47c
Fix lint issues
2024-03-07 21:53:18 +00:00
Pedro Algarvio
74415c7d0a
Merge 3007.x into master
2024-03-07 10:06:45 +00:00
Pedro Algarvio
4fda1a8854
Merge pull request #66160 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-03-07 09:53:36 +00:00
Pedro Algarvio
c336cdb1c9
Fix test failures
2024-03-06 12:41:11 +00:00
Pedro Algarvio
bd564da5b8
Skip test if the rpmdev-vercmp
is not found
2024-03-06 12:41:11 +00:00
Pedro Algarvio
628c0d2713
Fix lint issues in 3007.x branch
2024-03-06 12:41:11 +00:00
Pedro Algarvio
1f22924a9a
Fix the broken tools docs
command during the merge-forward
2024-03-06 12:39:10 +00:00
Pedro Algarvio
9dee4488ad
Add changelog entry about removed code
2024-03-06 12:38:45 +00:00
Pedro Algarvio
54f4150727
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x
2024-03-06 12:37:56 +00:00
jeanluc
562e739408
Correct docstrings
2024-03-05 14:39:01 -07:00
jeanluc
47341772ac
Allow stateful import of GPG keys from files/strings
2024-03-05 14:39:01 -07:00
Salt Project Packaging
31c9d0df19
Release v3007.0
2024-03-03 07:00:21 +00:00
Daniel A. Wozniak
d286feabff
Fix pre-commit
2024-03-02 13:29:42 -07:00
Daniel A. Wozniak
e14ece8d3b
Fix test timeouts
2024-03-02 00:33:29 -07:00
Shane Lee
b7f44da849
Refactor and add some tests
...
Added the check to a few other places in channel server
2024-02-29 14:53:54 -07:00
Justin Zandbergen
539ad0f888
Add changelog entry
2024-02-29 14:53:54 -07:00
Pedro Algarvio
b7630f3b08
Merge 3006.x into 3007.x
2024-02-29 14:25:24 +00:00
Pedro Algarvio
f4549113b1
Update pre-commit hook versions
2024-02-29 12:30:49 +00:00
Pedro Algarvio
c920ba443d
Remove all kitchen and jenkins related resources
...
The salt-project hasn't been using them for a very long time.
2024-02-29 10:27:02 +00:00
Pedro Algarvio
e0761e33c0
Remove deprecated code
2024-02-29 10:24:37 +00:00
Pedro Algarvio
ad65c6364a
Fix downloading the windows nox artifact
2024-02-29 10:23:48 +00:00
Daniel A. Wozniak
060a192cc7
Fix linter
2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
a589667304
test fix
2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
738bbbbbc4
Fix up tests
2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
bee018c0e5
Fix typo
2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
34ee98ba8c
Migrate pillar unit tests to pytest
2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
b0a6a81387
Provide execution module a regular file client durring pillar rendering
2024-02-29 06:29:17 +00:00
Pedro Algarvio
656cd3381b
Merge pull request #66155 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-02-29 06:01:58 +00: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
b3a19e6ad4
Adjust timeout for windows
2024-02-28 11:18:21 +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
Daniel A. Wozniak
9a35eb712a
Avoid circular imports on mac os
2024-02-27 02:20:04 -07: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
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
Daniel A. Wozniak
66d8a33c88
Fix ssh tests
2024-02-19 22:50:37 -07:00
Pedro Algarvio
34ab8c732b
Merge 3006.x into 3007.x
2024-02-19 13:10:20 +00:00
Pedro Algarvio
37cf95b17a
It's tornado.gen.Return
not salt.tornado.gen.Return
2024-02-18 19:56:51 +00:00
Pedro Algarvio
8721d47578
Increase timeouts in problematic tests
2024-02-18 19:56:51 +00:00
Pedro Algarvio
7c8a104f3f
Fix test failures
2024-02-18 19:41:49 +00:00
Pedro Algarvio
6e1372d66f
Merge 3006.x into 3007.x
2024-02-18 09:22:18 +00:00
vzhestkov
590ebf7c80
Add test for fire_ret_load
2024-02-16 14:03:05 -07:00
vzhestkov
1269be10fc
Add test of catching SaltDeserializationError on reading event
2024-02-16 14:03:05 -07:00
vzhestkov
ffe2d166c1
Improve broken events catching and reporting
2024-02-16 14:03:05 -07:00
Pedro Algarvio
76a86f765d
Run pyupgrade
against the files modified in the merge-forward
2024-02-16 07:22:49 +00:00
Pedro Algarvio
94b6f4cc78
Merge 3006.x into 3007.x
2024-02-16 07:21:19 +00:00
Shane Lee
5d3ed5877b
Only import ctypes.wintypes on Windows
2024-02-15 16:16:15 -07:00
Shane Lee
5a42670549
Import ctypes.wintypes explicitely
2024-02-15 16:16:15 -07:00
Johannes Hahn
f406a090df
Fix test after formatting changes (pre-commit)
2024-02-15 10:56:38 -07:00
Johannes Hahn
8c06378dd8
Formatting changes as suggested by pre-commit
2024-02-15 10:56:38 -07:00
Johannes Hahn
3deaae2697
Add changelog file
2024-02-15 10:56:38 -07:00
Johannes Hahn
995d4175c0
Verify that .yaml files are discovered as well
2024-02-15 10:56:38 -07:00
Johannes Hahn
1207030427
Discover .yml and .yaml files
...
Allow for 'playbook_extension' to be either a string or a tuple and
change the default behavior to discover both.
2024-02-15 10:56:38 -07:00
Pedro Algarvio
2b565f770a
Run pyupgrade
against the files modified in the merge-forward
2024-02-15 14:06:16 +00:00
Pedro Algarvio
d5732b1611
Merge 3006.x into 3007.x
2024-02-15 14:03:35 +00:00
Pedro Algarvio
7f29337f70
Bump to pyzmq==25.1.2
to hopefully address some build issues on MacOS
2024-02-15 13:57:02 +00:00
Pedro Algarvio
5fdb598bc4
Run pyupgrade
against the files modified in the merge-forward
2024-02-14 08:57:57 +00:00
Pedro Algarvio
fd800f57f1
Merge 3006.x into 3007.x
2024-02-14 08:56:16 +00:00
Pedro Algarvio
4cade4f59b
Fix missed salt.ext.tornado
occurrence
2024-02-07 12:55:14 +00:00
Pedro Algarvio
4f8f60d89f
Run pyupgrade
against the files modified in the merge-forward
2024-02-07 12:47:32 +00:00
Pedro Algarvio
4de6b1011f
Merge 3006.x into 3007.x
2024-02-07 11:09:05 +00:00
Pedro Algarvio
9777612cfd
Add changelog for the changes in #65986
2024-02-07 08:58:06 +00:00
Pedro Algarvio
3b24505b3a
Remove deprecated code
2024-02-07 08:51:31 +00:00
Erik Johnson
2b364c92e6
Two tweaks for .gitignore
...
1. `/env/` and `/.env` can be represented in a single entry using `/.?env/`
2. Update `/venv/` entry to also ignore `/.venv/`. Some tools (for
example poetry) will look for and use virtualenvs in the root of a
project if they are named `.venv`.
2024-02-06 17:25:47 +00:00
vzhestkov
f35ae268aa
Remove unused import causing delays on starting salt-master
...
(cherry picked from commit 20573c8941
)
2024-02-06 06:15:25 +00:00
vzhestkov
20573c8941
Remove unused import causing delays on starting salt-master
2024-02-06 06:07:30 +00:00
jeanluc
0b129443e3
Update enable_ssh_minions
docs after PR 65646
2024-02-02 14:55:41 -07:00
Pedro Algarvio
6dd2f1783d
Merge pull request #65981 from s0undt3ch/hotfix/merge-forward-into-master
...
[master] Merge 3007.x into master
2024-02-02 18:16:58 +00:00
Pedro Algarvio
923b9fe7e9
Merge 3007.x into master
2024-02-02 08:39:29 +00:00
Pedro Algarvio
afe89f8916
Merge pull request #65975 from s0undt3ch/hotfix/merge-forward-into-3007.x
...
[3007.x] Merge 3006.x into 3007.x
2024-02-02 08:38:53 +00:00
Pedro Algarvio
85ba203a8c
Run pyupgrade
against the files modified in the merge-forward
2024-02-01 10:25:53 +00:00
Pedro Algarvio
e5d3ef7ff7
Merge 3006.x into 3007.x
2024-02-01 09:00:02 +00:00
Pedro Algarvio
c4b12f4fef
Merge pull request #65958 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-02-01 08:47:18 +00:00
Pedro Algarvio
67be59ed16
Merge 3006.x into 3007.x
2024-01-31 16:13:22 +00:00
Pedro Algarvio
ed2548d52a
Merge 3006.x into 3007.x
2024-01-31 13:28:25 +00:00
Pedro Algarvio
fe80b71768
Build documentation when .github/workflows/build-docs.yml
changes
2024-01-31 13:27:09 +00:00
Pedro Algarvio
646ba02849
Fix the copy path
2024-01-31 13:27:09 +00:00
Pedro Algarvio
0afae059a6
Build documentation when .github/workflows/build-docs.yml
changes
2024-01-31 13:25:03 +00:00
Pedro Algarvio
00a92cc453
Fix the copy path
2024-01-31 13:25:03 +00:00
Pedro Algarvio
b29b26882f
Fix docs builds
2024-01-31 12:57:57 +00:00
Pedro Algarvio
f9ca6b18b0
Fix docs builds
2024-01-31 12:56:22 +00:00
Pedro Algarvio
f96f8e0130
Merge 3006.x into 3007.x
2024-01-31 11:20:17 +00:00
Pedro Algarvio
4691317034
Merge 3006.x into 3007.x
2024-01-31 11:05:43 +00:00
Pedro Algarvio
eb4277bfc4
Merge pull request #65934 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-27 13:59:23 +00:00
Pedro Algarvio
d943669244
Merge 3007.x into master
2024-01-26 15:26:00 +00:00
Pedro Algarvio
9e09676855
Merge pull request #65926 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-01-26 15:24:14 +00:00
Tom Kent
48b60c3380
Using python 3.x syntax for print
2024-01-26 06:28:01 +00:00
Pedro Algarvio
2631170a6f
Fix tests not properly fixed during the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 06:20:11 +00:00
Pedro Algarvio
890df5021b
Exit the process cleanly
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 05:54:45 +00:00
Henrik Hüttemann
6c14fd9a26
Adapt tests to use new method
2024-01-25 16:31:16 -07:00
Henrik Hüttemann
2eef6d6489
Update docs to reflect pre-commit check
...
The changelog files should have a `.md` extension, but the CONTRIBUTING.rst does not reflect it, yet
2024-01-25 16:31:16 -07:00
Henrik Hüttemann
a76d5c47ef
Make Salt Cloud Hetzner module detect image architecture from instance type
...
Previously, creating an arm64 instance failed, because the x86 image was selected by name only
2024-01-25 16:31:16 -07:00
Pedro Algarvio
3afeaad0a7
Try to create the directory and don't fail if it already exists
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 18:03:19 +00:00
Pedro Algarvio
560b24f1a6
Fix a few yield
statements which should have been converted to await
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 16:13:26 +00:00
Pedro Algarvio
5ea370c1fb
Merge 3006.x into 3007.x
2024-01-25 09:47:57 +00:00
Pedro Algarvio
121301514d
Minor cleanup
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 08:22:40 +00:00
Pedro Algarvio
86cfde38ed
Run pyupgrade
against the files modified in the merge-forward
2024-01-24 15:05:46 +00:00
Pedro Algarvio
3448e40847
Merge 3006.x into 3007.x
2024-01-24 15:02:25 +00:00
Nicholas Hughes
b5c096920e
Add context aware change handling for file.managed state module function ( #63347 )
...
* add context aware change handling for file.managed state module function
* updates docstrings, add ignore comments, and add util tests
* update util tests
* adding additional documentation and test cases
* missed some places where a kwarg needed to be passed through
* handling pyupgrade changes
* using new md changelog format
* add context aware change handling for file.managed state module function
* updates docstrings, add ignore comments, and add util tests
* update util tests
* adding additional documentation and test cases
* missed some places where a kwarg needed to be passed through
* handling pyupgrade changes
* fix existence checking after merge conflict fix
* remove duplicate test from merge conflict resolution
* apparently using the github ui to resolve merge conflicts was a bad idea
---------
Co-authored-by: Daniel Wozniak <dwozniak@vmware.com>
2024-01-22 14:34:42 -07:00
Pedro Algarvio
5098cf9710
Fix osarch
value in comparisson
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 17:35:33 +00:00
Pedro Algarvio
56f73ba939
Fix osarch
value in comparisson
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 17:34:02 +00:00
Pedro Algarvio
ec7bcdf8e6
Reduce the number of test swarm minions on Amazon 2023 on Arm64
...
The test suite is getting OOM killed on that test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 08:50:10 +00:00
Pedro Algarvio
bfc1e9ad41
Reduce the number of test swarm minions on Amazon 2023 on Arm64
...
The test suite is getting OOM killed on that test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 08:47:08 +00:00
Pedro Algarvio
7eb4ffbe75
Merge pull request #65913 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-22 07:25:26 +00:00
Pedro Algarvio
bc3cbf69c1
Merge 3007.x into master
2024-01-21 17:57:06 +00:00
Pedro Algarvio
a9b16faa75
Increase integration tests concurrency
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 17:46:40 +00:00
Pedro Algarvio
6c12abf3b1
Fix static requirements
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 14:00:09 +00:00
Pedro Algarvio
db9ca73942
Fix some more places where we need to use `actions/{upload,download}-artifact@v3
`
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-20 18:24:18 +00:00
Gary T. Giesen
d02e2013be
Update note around password field on user.present wrt Windows
2024-01-19 15:07:16 -07:00
Shane Lee
d4f257ee04
Fix pre-commit
2024-01-19 14:36:10 -07:00
Noah Ablaseau
1a907c3ae2
Fix whitespace for linter
2024-01-19 14:36:10 -07:00
Noah Ablaseau
52ae5800a0
osrelease_info is tuple
2024-01-19 14:36:10 -07:00
Noah Ablaseau
0b55627eed
Rename fixed -> added
2024-01-19 14:36:10 -07:00
Noah Ablaseau
deff6bad13
Add changelog
2024-01-19 14:36:10 -07:00
Noah Ablaseau
abf906ad1c
Add Virtuozzo Linux as os_family=Redhat
2024-01-19 14:36:10 -07:00
Jamie Murphy
de002b6bcb
override test kwarg to be bool for state.apply and state.highstate commands
2024-01-19 14:32:20 -07:00
Shane Lee
e6fac5395e
Fix cmdmod tests on Windows
...
Fixes some tests in the cmd module (cmdmod) so that they will run on
Windows. These tests were skipped in a PR that was merged. This fixes
those tests as well as other tests that were feasible to get working on
Windows.
2024-01-19 14:30:31 -07:00
Pedro Algarvio
4b652eb666
Merge pull request #65900 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-19 14:40:32 +00:00
Pedro Algarvio
4a6b2ca81d
Merge 3007.x into master
2024-01-19 11:13:47 +00:00
Pedro Algarvio
9f2fb8e76a
Merge pull request #65899 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-01-19 11:13:07 +00:00
Pedro Algarvio
6694a7a273
Merge 3006.x into 3007.x
2024-01-19 07:40:21 +00:00
Pedro Algarvio
5eea920177
We need more splits in nightly builds
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-18 06:54:29 +00:00
Pedro Algarvio
d740f6cf70
Merge pull request #65891 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-01-18 05:58:42 +00:00
Pedro Algarvio
d3a21f249c
Merge pull request #65892 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-18 05:58:13 +00:00
Pedro Algarvio
82fef67ad7
Merge 3007.x into master
2024-01-17 15:16:09 +00:00
Pedro Algarvio
b22db6db8a
Merge 3006.x into 3007.x
2024-01-17 15:15:03 +00:00
Pedro Algarvio
0a096e74e0
Merge pull request #65872 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-01-17 15:13:09 +00:00
Pedro Algarvio
aad7a8ab14
Revert #64929 since it's not working as intended
...
See https://github.com/saltstack/salt/actions/runs/7554867564/job/20574453603#step:11:123
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:41:19 +00:00
Pedro Algarvio
7ed9b35cc1
Set PIP_DISABLE_PIP_VERSION_CHECK=1
on CI workflows
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
88d9589a17
Define the DEBs listing outside of the template
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
9e7b942cba
Fix RPM build repository for aarch64
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
00e094518d
Fix build RPM repository.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
98630ecdce
Fix build RPM repository
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
239e88c6e0
Missed change in 5ea3bf3a9d
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
9c47e11ef7
If the user passes a path to the package tests, don't auto add them
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
3fb1279f32
Allow excluding paths when cleaning up archives
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
83e66d30b7
Fix CI nox artifacts download
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
349d701924
Merge 3006.x into 3007.x
2024-01-17 07:29:32 +00:00
Pedro Algarvio
20422ec3d1
Dedupe & fix tests from merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 07:29:16 +00:00
Zhiwei Liang
f01483ff92
Fix salt-cloud get_cloud_config_value for list objects
2024-01-16 10:16:16 -07:00
Pedro Algarvio
c7300429d7
Fix pre-commit config and some requirements which got downgraded
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-16 12:11:09 +00:00
Pedro Algarvio
b9e5f513dd
Run pyupgrade
against the files modified in the merge-forward
2024-01-16 11:54:54 +00:00
Pedro Algarvio
82e4e2b55f
Merge 3006.x into 3007.x
2024-01-16 11:50:44 +00:00
Damien Degois
857c840762
Don't fail if pymongo is missing
2024-01-15 14:24:28 -07:00
Damien Degois
6914202143
Fix tests
2024-01-15 14:24:28 -07:00
Damien Degois
6d7a070657
Adapt auth, authenticate on db fails
2024-01-15 14:24:28 -07:00
Damien Degois
c74c37372b
Adapt tests
2024-01-15 14:24:28 -07:00
Damien Degois
dbc8b4cf66
Pre-commit black + isort + pyupgrade
2024-01-15 14:24:28 -07:00
Damien Degois
d20f57852b
Fix according to pre-commit
2024-01-15 14:24:28 -07:00
Wayne Werner
0c7041ac43
Update docs for module and states
2024-01-15 14:24:28 -07:00
Wayne Werner
524b99cfcc
add changelog
2024-01-15 14:24:28 -07:00
Wayne Werner
e086090e33
Also add verify_ssl argument
...
Without verify_ssl it's a bit complicated to test, and if someone wants
to use self-signed certs in their environment without actually
installing the certs or making a CA, that should also be up to them.
2024-01-15 14:24:28 -07:00
Wayne Werner
a3cf72005d
Add ssl argument to MongoClient for mongo future returner
2024-01-15 14:24:28 -07:00
Wayne Werner
bbf86a67be
Add ssl argument to MongoClient for mongo returner
2024-01-15 14:24:28 -07:00
Wayne Werner
4819ad1949
actually test all the cases for mongo top
2024-01-15 14:24:28 -07:00
Wayne Werner
a8ec3585a4
Add ssl argument to mongo pillar
2024-01-15 14:24:28 -07:00
Wayne Werner
23db530c03
pass ssl to mongo top as well
2024-01-15 14:24:28 -07:00
Wayne Werner
793b0bbe6a
Add tests for passing ssl argument
...
Would still like to add functional tests against an actual mongodb.
2024-01-15 14:24:28 -07:00
Wayne Werner
17d1709621
Add docs for mongodb module
2024-01-15 14:24:28 -07:00
Wayne Werner
5a3baed83a
Add docs & ssl arg to mongodb_database state
...
... as well as the necessary modules, natch.
2024-01-15 14:24:28 -07:00
Wayne Werner
1cea32477f
Add tests + ssl arg for mongodb_user state
...
These tests are not *super* meaningful but they do at least ensure that
ssl the arg correctly gets passed into the MongoClient. Still left to do
is add tests + ssl arg for the mongodb_database state, the mongodb
module, as well as updating all of the documentation for these modules.
We also want to add a few functional tests that ensure that the SSL
argument is correctly used with an actual mongodb server.
2024-01-15 14:24:28 -07:00
Pedro Algarvio
daef7613bc
Merge pull request #65847 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-11 09:02:03 +00:00
Pedro Algarvio
502fb070a8
Merge 3007.x into master
2024-01-11 09:00:42 +00:00
Pedro Algarvio
b71b259f39
Merge pull request #65846 from s0undt3ch/hotfix/merge-forward-2
...
[3007.x] Merge 3006.x into 3007.x
2024-01-11 09:00:16 +00:00
Pedro Algarvio
5b46b0ba5e
Merge 3006.x into 3007.x
2024-01-11 08:57:37 +00:00
Daniel A. Wozniak
32aa7d4b67
Add missing master cluster changelog
2024-01-11 07:51:51 +00:00
Pedro Algarvio
73922a7469
Merge pull request #65815 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3007.x into master
2024-01-10 05:09:08 +00:00
Pedro Algarvio
ea0b6fee1b
Merge 3007.x into master
2024-01-09 18:51:25 +00:00
Pedro Algarvio
31ac2414c1
Remove unnecessary workflow steps while still showing the information
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-09 18:50:44 +00:00
Shane Lee
dc00efabf3
Update bootstrap script in 3006.x branch
2024-01-09 18:50:44 +00:00
Pedro Algarvio
e744d21767
Prefer github hosted runners in favor of self hosted runners for reports
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-09 18:50:44 +00:00
Pedro Algarvio
7e64eb4bd6
Bump to actions/setup-python@v5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-09 18:50:44 +00:00
Pedro Algarvio
d09e6cd3fb
The master branch is now 3008.x
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-09 15:51:39 +00:00
Pedro Algarvio
72514da1a8
Merge 3007.x into master
2024-01-09 15:42:11 +00:00
Pedro Algarvio
bf935624f1
Merge 3006.x into 3007.x
2024-01-09 15:38:45 +00:00
Shane Lee
2e3b133350
Merge pull request #65810 from dmurphy18/fix_garethPR_64388
...
[master] Deprecations messages for boto modules moving to Salt extension, Gareth J Greenaway original author
2024-01-08 14:23:45 -07:00
Pedro Algarvio
5c4747d59d
Merge 3007.x into master
2024-01-08 20:58:22 +00:00
David Murphy
02ca0a503d
Merge pull request #65793 from s0undt3ch/hotfix/merge-forward
...
[3007.x] Merge 3006.x into 3007.x
2024-01-08 13:56:41 -07:00
David Murphy
10612f6313
Merge pull request #65780 from s0undt3ch/hotfix/deprecations-3007.x
...
[3007.x] Be sure to trigger all release branches on nightly and scheduled builds
2024-01-08 13:54:57 -07:00
Shane Lee
24040e063f
Merge pull request #65679 from dmurphy18/fix_garethPR_62322
...
[master] Moving tests/integration/modules/test_cmdmod.py to pytest, Gareth J Greenaway original author
2024-01-05 16:10:13 -07:00
Pedro Algarvio
f08ae48642
Vertical tuples are more readable than horizontal ones
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-05 11:23:24 -07:00
Gareth J. Greenaway
e698cfee2a
Running pre-commit
2024-01-05 11:22:42 -07:00
Gareth J. Greenaway
8774069f7d
fixing deprecated dict for states.
2024-01-05 11:22:03 -07:00
Gareth J. Greenaway
d695107f7c
Simplify the deprecation decorator and deprecated dictionary and only use the version number.
2024-01-05 11:22:00 -07:00
Daniel A. Wozniak
de670b3965
Adding deprecation message to all boto modules in preparation for moving these to a salt extension
2024-01-05 11:21:03 -07:00
Pedro Algarvio
68ecf808e3
Merge 3006.x into 3007.x
2024-01-05 11:29:13 +00:00
Cesar Augusto Sanchez
fac15ed958
fix consul.acl_create rule creation
2024-01-04 14:52:00 -07:00
Thomas Phipps
5b97fa6a58
fix pytest marking so only the slow tests instead of all tests in functional file are marked as slow
2024-01-04 14:50:40 -07:00
Thomas Phipps
6b2ac305bf
add tests for mod_repo
2024-01-04 14:50:40 -07:00
Thomas Phipps
7dcb34e6bf
yumpkg add metalink
2024-01-04 14:50:40 -07:00
David Murphy
98d97e488f
Adjusted skip for test_windows_env_handling
2024-01-04 13:46:15 -07:00
David Murphy
0fb45dbf3f
Disable tests on Windows, until Windows environment handled better by new test file
2024-01-03 15:59:23 -07:00
David Murphy
5ed9cefd55
Comment out windows environment test, needs rewriting, causing failures - debugging
2024-01-03 15:48:30 -07:00
David Murphy
a3842e40d6
Updated test per reviewer's review and suggestions
2024-01-03 15:48:30 -07:00
David Murphy
c041fd3458
Updated python versions
2024-01-03 15:48:30 -07:00
David Murphy
7ff6652440
Update test
2024-01-03 15:48:30 -07:00
Gareth J. Greenaway
2c1040b4c2
Moving tests/integration/modules/test_cmdmod.py to pytest, Gareth J Greenaway original author
2024-01-03 15:48:22 -07:00
Pedro Algarvio
c5cfe214cd
Stop importing salt.log
it's long deprecated
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-03 13:52:52 -07:00
Pedro Algarvio
bdf9b6b6e2
Remove deprecation warning which turned into an error on Jan 2024
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-03 13:52:52 -07:00
Pedro Algarvio
10341c5652
Be sure to trigger all release branches on nightly and scheduled builds
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-03 10:48:19 +00:00
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
jeanluc
1d0dfdecbd
Ensure local exec errs have a meaningful error output
2023-12-30 06:48:00 -07:00
jeanluc
1beb3eed45
Cleanup after SSH error return changes
...
Before PR #64542 , SSH error returns depended on whether the command was
executed non-wrapped or wrapped. The former would always return an error
dict including `stdout` and `stderr` keys, while the latter would return
a string. Synchronizing this behavior to work like usual introduced a
breaking change, which was reverted afterwards.
This cleans up unnecessary code after the revert of the mentioned
behavior.
1) SSHCommandExecutionErrors are only thrown when retcode > 0
2) `Probably got garbage` is the return of the module which should never
be reached (when failing, it's in the returned string, it's never
found in a dict key `ret["stderr"]`).
2023-12-30 06:48:00 -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
Daniel A. Wozniak
85c282e51a
Request server basic test for all transports
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
e84dbda010
Put channel tests under channel not transport
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
3347d543f5
Fix tests
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
f62f6469ff
Better testing of ssl opts and ws transport
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
2bf2936f73
Fix up tcp ssl and add ssl to ws
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
2f5fe3bcb6
Name conformity
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
74195b8306
Fix up basic ping between master and minion
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
836b5421f7
Fix up pre-commit (linter)
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
e36d67e83b
Clean up tcp imports
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
73e8175e12
Add ws transport to factories
2023-12-28 00:29:50 -07:00
Daniel A. Wozniak
0e2520a597
Add websocket transport skeleton
2023-12-28 00:29:50 -07:00
Daniel Wozniak
1545a18ce9
Merge pull request #65747 from dwoz/merge-forward
...
[master] Merge forward from 3006.x
2023-12-28 00:28:41 -07:00
Daniel A. Wozniak
0cc5b51aba
Fix clustered master startup race condition
...
When starting up a cluster master, sending the initial aes key event
needs to wait for the event server to fully start. Prior to this change
we'd only try for one second and there was no logging of a failure.
2023-12-27 16:27:54 -07:00
Daniel A. Wozniak
9f1ae6982d
Fix broken ssh test
2023-12-27 10:29:13 -07:00
Daniel A. Wozniak
5c83db6a3c
Merge remote-tracking branch 'saltstack/3006.x' into merge-forward
2023-12-26 21:50:50 -07:00
Daniel A. Wozniak
046352a760
Fix broken ssh tests
2023-12-26 21:42:21 -07:00
Daniel A. Wozniak
874698b9fb
Merge branch '3006.x' into merge-forward
2023-12-23 00:50:54 -07:00
Carlos Álvaro
0a88399996
fix: Fix typo in changelog
2023-12-21 21:35:46 -07:00
Carlos Álvaro
ea0d19f416
test(mac_brew_pkg): Update tests for Apple Silicon
2023-12-21 21:35:46 -07:00
Carlos Álvaro
7a6203eb50
feat(mac_brew_pkg): Remove some logs
2023-12-21 21:35:46 -07:00
Carlos Álvaro
3309126c88
changelog: Add changelog for PR #64924
2023-12-21 21:35:46 -07:00
Carlos Álvaro
21d80bfa3a
feat(rsax931): Use mac_brew_pkg.homebrew_prefix
...
Uses the homebrew_prefix method to get the Homebrew's prefix
if Homebrew is installed on the machine
2023-12-21 21:35:46 -07:00
Carlos Álvaro
f04e3ff248
test(mac_brew_pkg): Add tests for homebrew_prefix
2023-12-21 21:35:46 -07:00
Carlos Álvaro
b8075fd85f
feat(mac_brew_pkg): Add homebrew_prefix method
2023-12-21 21:35:46 -07:00
Kevin Quinn
bb6fbdd7af
Remove duplicatated code
...
I just noticed what looks like a copy/paste artifact here or a merge
conflict resolution, not sure
2023-12-21 21:34:01 -07:00
jeanluc
fbb6728179
Make Salt-SSH sync custom utils
2023-12-21 12:05:06 -07:00
Gareth J. Greenaway
9f5a1a7f4b
Include changes in the results when schedule.present state is run with test=True.
2023-12-21 12:04:18 -07:00
Christian Clauss
05faca63ea
Fix typos
2023-12-19 15:54:37 -07:00
Hristo Voyvodov
53c7e6be4f
fixes saltstack#53120 State firewalld.present disables masquerade when making unrelated changes
...
This will set masquerade to None by default, thus not making changes
without explicit request from the user.
2023-12-18 20:39:20 -07:00
Daniel A. Wozniak
15f44f2d12
Fix up code review spelling grammar
2023-12-18 14:30:58 -07:00
Daniel A. Wozniak
a49554a4d3
Fix another code review grammar issue
2023-12-18 14:30:58 -07:00
Daniel A. Wozniak
80a6efb608
Fix up issues found in code revieww
2023-12-18 14:30:58 -07:00
Daniel A. Wozniak
bc4a8390c8
Add master-cluster to doctree
2023-12-18 14:30:58 -07:00
Daniel A. Wozniak
39197b9b40
Add cluster config settings to docs
2023-12-18 14:30:58 -07:00
Daniel A. Wozniak
aaca103604
wip docs for master cluster
2023-12-18 14:30:58 -07:00
jeanluc
6f6fd93cc2
Apply suggested changes by review
2023-12-18 10:16:04 -07:00
jeanluc
cf57e487e2
Fix new unit tests
2023-12-18 10:16:04 -07:00
jeanluc
ae1d72ccef
Use find_json
again, more validation
2023-12-18 10:16:04 -07:00
jeanluc
5e559b8449
Adapt unit tests, report permission denied as before
...
Also fix an integration test which was broken by a botched
rebase conflict resolution.
2023-12-18 10:16:04 -07:00
jeanluc
3c804657be
Also test exact expected state failure output
2023-12-18 10:16:04 -07:00
jeanluc
bade8e8206
Fix SSHCommandExecutionError string casting output
...
It should include the specific error, not just the general one
2023-12-18 10:16:04 -07:00
jeanluc
d6863fd79a
Cleanup, add changelog entry for compound issue
2023-12-18 10:16:04 -07:00
jeanluc
d431a948b2
Ensure salt-ssh job ret events contain all usual data
2023-12-18 10:16:04 -07:00
jeanluc
2224a82ded
Update key deploy routine for new parsing workflow
2023-12-18 10:16:04 -07:00
jeanluc
01a56caac6
Also test exact expected command parsing failure output
2023-12-18 10:16:04 -07:00
jeanluc
2791be62b1
Filter out deprecation warnings from reported stderr
2023-12-18 10:16:04 -07:00
jeanluc
5be82ae9fb
Run pyupgrade
2023-12-18 10:16:04 -07:00
jeanluc
41e35b59e7
Exclude salt-ssh error returns from mine
2023-12-18 10:16:04 -07:00
jeanluc
7411dcc2d5
Make state.*
wrappers treat a remote exception as failure
2023-12-18 10:16:04 -07:00
jeanluc
a52741723b
Adapt remote execution error output tests
2023-12-18 10:16:04 -07:00
jeanluc
808699f343
Make salt-ssh more strict when handling unexpected situations
...
This commit ensures that output indicating failure is not
passed off as the output of the command when it is called
via `__salt__`, e.g. during template rendering or in wrapper
modules. It does this by raising exceptions when issues
are detected and thus simulates the remote error locally.
See issue #64531 for a detailed description.
2023-12-18 10:16:04 -07:00
jeanluc
d166dc4db1
Add tests for issues #64531 and #52452
2023-12-18 10:16:04 -07:00
Jamie Murphy
4771edb58a
add nightly minor/latest symlink to debian repos
2023-12-18 04:35:47 -07:00
Jamie (Bear) Murphy
7d198938ba
adjust minor/nightly path to minor/latest
2023-12-18 04:35:47 -07:00
Jamie (Bear) Murphy
c122d225fc
adjust if none check
2023-12-18 04:35:47 -07:00
Jamie Murphy
bf1dda1212
Update create.py
2023-12-18 04:35:47 -07:00
Jamie Murphy
252e86518f
add a nightly_latest.repo file which always points to latest nightly build
2023-12-18 04:35:47 -07:00
Jamie Murphy
b6cb55a1f7
adjust path to minor/nightly
2023-12-18 04:35:47 -07:00
Jamie Murphy
cdf020c5c5
add nightly symlink
2023-12-18 04:35:47 -07:00
Daniel A. Wozniak
c7d7454056
Fix pre-commit
2023-12-18 04:33:53 -07:00
mrx
b874028705
Update index.rst
...
update syntax
2023-12-18 04:33:53 -07:00
mike.reider
24e7991f6b
sdb doc example subkeys
2023-12-18 04:33:53 -07:00
jeanluc
56ad1ec942
Fix saltext vault/pushover docs
...
* the correct organization is `salt-extensions`, not `saltstack`
* the release file is strict GitHub-flavoured Markdown only
2023-12-18 03:42:28 -07:00
Daniel Wozniak
21391fe7ba
Revert "URL auditor with URL fixes"
...
This reverts commit d07172cc0e
.
2023-12-17 23:13:58 -07:00
Daniel Wozniak
5a517e9fa5
Revert "Expand files to validate URLs within"
...
This reverts commit f8a9769320
.
2023-12-17 23:13:58 -07:00
ScriptAutomate
f8a9769320
Expand files to validate URLs within
2023-12-17 22:30:41 -07:00
ScriptAutomate
d07172cc0e
URL auditor with URL fixes
2023-12-17 22:30:41 -07:00
James Howe
aba5f6238e
Reword "header" param.
2023-12-17 22:21:57 -07:00
James Howe
dbebd92626
Fix documentation of file.prepend
2023-12-17 22:21:57 -07:00
OrangeDog
2a484f522f
pre-commit disk.py
2023-12-17 22:16:14 -07:00
James Howe
da081c0ddb
Document parameters in modules.disk
2023-12-17 22:16:14 -07:00
James Howe
6b7377799d
Improve augeas example
...
As pointed out by #65352 , the check given here is not safe.
2023-12-17 22:14:18 -07:00
OrangeDog
1640f04763
pre-commit augeas.py
2023-12-17 22:14:18 -07:00
James Howe
88b7f3ada1
Remove warning that related to now-unsupported systems
2023-12-17 22:14:18 -07:00
Daniel Wozniak
9ec1772382
Merge pull request #65716 from dwoz/merge-forward
...
[master] Merge forward 3006.x
2023-12-17 21:57:55 -07:00
Daniel A. Wozniak
d18fbb9631
Skip RC test on Photon OS
2023-12-17 20:18:14 -07:00
Daniel A. Wozniak
97072fb7af
pre-commit fix
2023-12-17 15:10:50 -07:00
Daniel A. Wozniak
7018b14a7c
Merge remote-tracking branch 'saltstack/3006.x' into merge-forward
2023-12-17 14:58:34 -07:00
Roald Nefs
60b890b800
Fix pre-commit
...
Signed-off-by: Roald Nefs <info@roaldnefs.com>
2023-12-16 18:26:29 -07:00
Wayne Werner
8dc4160a6a
Fix potential bug, add changelog
...
In the source for redis, the default value for password is None, not "".
If the default is an empty string that may cause some unintended
consequences -- though it's entirely possible that Redis does not
support empty passwords, it's always safer to match the underlying
existing codebase.
2023-12-16 18:26:29 -07:00
Marno van der Molen
13996cea60
Add password support to Redis returner
2023-12-16 18:26:29 -07:00
Wayne Werner
675370f86e
Add tests for redis returner password
...
Tests verify that passwords are correctly passed to the underlying
StrictRedis function (whos default value for password is None, not an
empty string).
2023-12-16 18:26:29 -07:00
Daniel A. Wozniak
0291228dac
Fix pre-commit
2023-12-16 16:03:26 -07:00
Daniel A. Wozniak
412178e48a
Merge remote-tracking branch 'saltstack/3006.x' into merge-forward
2023-12-16 15:35:16 -07:00
Daniel A. Wozniak
35144daf83
Make cluster tests more stable
2023-12-16 15:31:00 -07:00
Pablo Suárez Hernández
f597c14263
Add unit tests to check path is expanded
2023-12-16 14:48:10 -07:00
vzhestkov
a5599d6c89
Add changelog entry
2023-12-16 14:48:10 -07:00
vzhestkov
2fea093052
Dereference symlinks to set proper __cli
2023-12-16 14:48:10 -07:00
Michael Calmer
19a1edc3a1
lint and precommit fixes
2023-12-16 04:49:17 -07:00
Michael Calmer
71812f43a6
make gpgautomimport a named option
2023-12-16 04:49:17 -07:00
Michael Calmer
05f7877cf6
Change versionadded to next major version
...
Co-authored-by: Pablo Suárez Hernández <psuarezhernandez@suse.com>
2023-12-16 04:49:17 -07:00
Michael Calmer
cd7c54db6d
fix zypperpkg test after adding more success return codes
2023-12-16 04:49:17 -07:00
Michael Calmer
d71470a5ba
Add comment explaining success return codes
...
Co-authored-by: Pablo Suárez Hernández <psuarezhernandez@suse.com>
2023-12-16 04:49:17 -07:00
Michael Calmer
38e044b90d
ignore no repos defined exit code
2023-12-16 04:49:17 -07:00
Michael Calmer
745e5f00f5
add changelog
2023-12-16 04:49:17 -07:00
Michael Calmer
df9fcda537
call refresh_db with kwargs where possible
2023-12-16 04:49:17 -07:00
Michael Calmer
c899e7a4b0
call refresh_db function from mod_repo
2023-12-16 04:49:17 -07:00
Michael Calmer
e546bd7461
add support for gpgautoimport to refresh_db in the zypperpkg module
2023-12-16 04:49:17 -07:00
Daniel A. Wozniak
37d4aa2615
Add changelog for #55687
2023-12-16 04:34:23 -07:00
Jason Woods
0512a8a52a
fix: Enable port modification in state selinux.port_policy_present
2023-12-16 04:34:23 -07:00
Jason Woods
b990868ca7
chore: Run pre-commit on selinux state file
2023-12-16 04:34:23 -07:00
Clay Sweetser
3e491c3416
Remove TOC for Returners from Configuration page.
...
Remove the table of contents for the "Returners" page from the "Configuration" page.
2023-12-16 04:33:01 -07:00
Clay Sweetser
433642f21f
Add TOC for Returners to Remote Execution page
...
Add a table of contents for the "Returners" page to the "Remote Execution" page.
2023-12-16 04:33:01 -07:00
jeanluc
627b321b9d
Namespace _check_sig in win_file
2023-12-16 04:32:10 -07:00
jeanluc
3716ba89f7
Run pyupgrade
2023-12-16 04:32:10 -07:00
jeanluc
ff60a94750
Correct scene33 hash + regen sigs after rebase
...
It seems the file lost a space character, making the tests fail
2023-12-16 04:32:10 -07:00
jeanluc
10c2b7c0e0
Try to improve wording
2023-12-16 04:32:10 -07:00
jeanluc
c8c0633488
Bring code up to current standards
2023-12-16 04:32:10 -07:00
jeanluc
0ff2d2b7a8
Add signature verification to file.managed/archive.extracted
2023-12-16 04:32:10 -07:00
Megan Wilhite
da4579e3e1
Fix pre-commit
2023-12-16 04:31:08 -07:00
Megan Wilhite
14fc7397cb
fix pre-commit
2023-12-16 04:31:08 -07:00
Michael Calmer
8a92dfca61
fixup! add changelog
2023-12-16 04:31:08 -07:00
Michael Calmer
dd2d7954a1
skip lines without colon
2023-12-16 04:31:08 -07:00
Michael Calmer
295f002fc3
Update Docs
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-12-16 04:31:08 -07:00
Michael Calmer
9cc3b82c1a
adapt old tests to changed function
2023-12-16 04:31:08 -07:00
Michael Calmer
cebe1e6cf4
add changelog
2023-12-16 04:31:08 -07:00
Michael Calmer
0eebfcfd9b
add testcase for remove and removeptf
2023-12-16 04:31:08 -07:00
Michael Calmer
c5da52cdae
handle ptf packages inside of normal pkg.remove function
2023-12-16 04:31:08 -07:00
Alan Somers
fba2cc9fa6
sysrc.get: be more quiet
...
sysrc.get is frequently used by states like sysrc.absent, where it is
expected that the variable will not be present. So don't write errors
to the log file.
2023-12-16 01:28:09 -07:00
jeanluc
8da445b9f4
Make x509_v2 compound match detection use match runner
2023-12-16 01:27:15 -07:00
nicholasmhughes
2cff8b35fa
add tests for file.serialize check_cmd usage
2023-12-16 01:19:19 -07:00
nicholasmhughes
a66c4fc174
fixes saltstack/salt#53982 add ability to use file.managed style check_cmd in file.serialize
2023-12-16 01:19:19 -07:00
Pedro Algarvio
c87acbba84
Remove commented out code
2023-12-16 01:17:47 -07:00
Gareth J. Greenaway
5707801e8c
Adding a changelog.
2023-12-16 01:17:47 -07:00
Gareth J. Greenaway
f9fa9381ef
Account for situation where the metadata grain fails because the AWS environment requires an authentication token to query the metadata URL.
2023-12-16 01:17:47 -07:00
nicholasmhughes
22a160e791
adding another/different example use case for clarity
2023-12-15 21:46:44 -07:00
nicholasmhughes
a05205bb4f
use sentence case instead of title case for headings
2023-12-15 21:46:44 -07:00
nicholasmhughes
93e906203d
add changelog
2023-12-15 21:46:44 -07:00
nicholasmhughes
2304b355b1
fixes saltstack/salt#65222 document using slots for contents via function call in file state modules
2023-12-15 21:46:44 -07:00
jeanluc
f2121e5ade
Rewrite vault core, issue AppRoles to minions ( #62684 )
...
* Rewrite vault core, orchestrate AppRoles for minions
This commit represents a fundamental rewrite in how Salt interacts with
Vault. The master should still be compatible with minions running the
old code. There should be no breaking changes to public interfaces and
the old configuration format should still apply.
Core:
- Issue AppRoles to minions
- Manage entities with templatable metadata for minions
- Use inbuilt Salt cache
- Separate config cache from token cache
- Cache: introduce connection-scope vs global scope
Utility module:
- Support being imported (__utils__ deprecation)
- Raise exceptions on queries to simplify response handling
- Add classes to wrap complexity, especially regarding KV v2
- Lay some groundwork for renewing tokens
Execution module:
- Add patch_secret
- Add version support to delete_secret
- Allow returning listed keys only in list_secret
- Add policy_[fetch/write/delete] and policies_list
- Add query for arbitrary API queries
State module:
- Make use of execution module
- Change output format
Docs:
- Update for new configuration format
- Correct examples
- Add configuration examples
- Add required policies
* Fix linting for rewritten vault integration
* Add pytest unit tests for utils.vault, fix found issues
* Fix old vault runner tests
* Rewrite vault sdb tests, migrate to pytests
* Adapt vault ext_pillar tests
* Adapt vault execution module tests, migrate to pytests
* Add more vault execution module unit tests
* Support python <3.7 (vault util), time-independent tests
* Add/migrate vault runner unit tests (pytest)
* Add vault state module pytests
* Fix tests lint
* Refactor Vault container fixture, move to session scope
* Fix for existing vault execution/sdb module integration tests
* Improve existing vault runner integration tests
* Fix vault test support, add list policies
* Add more functional execution module tests, fix deprecated warning
* Refactor vault pytest support
* Add integration tests, improve/fix caching/issue_params
* Improve caching behavior, fix tests
* Always use session cache as well
* Also flush session cache when requested
* Make KV metadata caching behavior configurable
* Update tests to account for changes from prev commit
* Allow to autodiscover platform default CA bundle
* Remove runner approle param overrides
There is no simple way to ensure they are kept.
* Add clear_cache runner function
* Also manage token metadata for issued secret IDs
* Cleanup tests
* Cleanup code, pylint logging suggestions
* Do not always invalidate config when verify=default
* Ensure concatted metadata lists are sorted
* Add changelog (partly)
* Work with legacy peer_run configuration as well
* Consume a token use regardless of status code
* Correct verify semantics
* Refine token uses handling, add changelog/tests for old issues
* Add changelog for main features
* Add test for issue 58580
* Fix vault docs
* Provide all old make_request functionality, add tests
* Allow token use override, add docstrings to query funcs
* Simplify config_location merge
* Cleanup
* Fix make_request warning
* Attempt to fix memory issues during CI test run
* Increase documented version
* Improve lease handling
* Refine lease ttl handling/add token lifecycle management
* Fix docs build
* Adapt formatting
* assert what you get against what you expect
* drop empty parentheses after wrapper
* use `is` to compare against strictly boolean vars
* Fix issue param overrides
* during pillar rendering, they were always reset by the master (for
AppRoles)
* overrides were only respected for some settings (AppRoles)
* old config syntax was using the old syntax internally (tech debt)
* Introduce session-scoped cache
* Tokens with a single use left are unrenewable
* Allow override of flushing of cached leases during lookup
* Refactor cache classes, save lease data
* Rename session token cache key
* Add lease management utility
* Fix runner integration tests
after renaming the token cache key
* Do not overwrite data of cached leases after renewal
* Pass token_lifecycle to minions
* Do not fail syncing multiple approles/entities with pillar templates
* Ensure config cache expiration can be disabled
* Rename changelog files (.md)
* Declare vaultpolicylexer as parallel read safe
* Correct meta[data] payload key
For tokens it is `meta`, but for secret IDs, `metadata`.
* Reuse TCP connection
* Refactor utils module
* Ensure client is recreated after clearing cache
* Always use unwrap_client config as expected server
This should fix the test failure in the runner integration test
TestAppRoleIssuance::test_server_switch_does_not_break_minion_auth
* Ensure client is recreated after clearing cache 2
* Simulate patch for KV v1 or missing `patch` capability
* Add `patch` option to Vault SDB driver
* Reduce lease validity when revocation fails
* Extract AppRole/Identity API from runner into utils
* Revoke tokens, fire events, improve cache/exception handling
* Tokens (and therefore associated leases) are revoked when cleared by default
* It's possible to disable clearing cache when a perfectly valid token
is available, but a PermissionDeniedError is encountered.
* UnwrapExceptions always cause an event to be fired
* It's possible to enable sending of events when
a) cache is cleared
b) a lease is requested from cache, but it is/will be invalid
* A VaultAuthException does not immediately lead to clearing
the connection cache
* get_authd_client and others: multiple small enhancements and fixes
* Allow updating cached config w/o closing session
* Homogenize funcs, update docs, cleanup
* Minor internal fixes
`is_valid_for` is present on all lease-like objects, while `is_valid`
specifically should account for more, e.g. the number of uses.
The Vault API does not return 404 when a lookup fails.
* Add release note
* Address review remarks
* Fix release notes
* Remove loading minion_mods from factory
* Address other review remarks
* Add inline specification of trusted CA root cert
* Small QoL additions
* Fix lint
* Fix lint for Python >=3.8 support
* Add missing fixes
* Fix unit tests
In some cases, the `spec` calls were failing because the underlying
object was already patched
---------
Co-authored-by: Thomas Phipps <tphipps@vmware.com>
2023-12-15 21:42:08 -07:00
Alan Somers
a11b4d5252
Add a changelog entry
2023-12-15 21:33:09 -07:00
Alan Somers
1aff51676b
sysutils/py-salt: fix the efi grain on FreeBSD
...
The logic to detect whether we booted from EFI only worked on Linux and
Apple, AFAICT.
2023-12-15 21:33:09 -07:00
Zhiwei Liang
a87238ec28
Expand Linode backup integration test to include backup schedule setting test
2023-12-15 21:20:14 -07:00
Zhiwei Liang
17076c1a8f
Implement salt cloud function set_backup_schedule
for Linode VMs
2023-12-15 21:20:14 -07:00
Zhiwei Liang
a7227a1e04
Implement integration test case for linode with backup enabled
2023-12-15 01:17:27 -07:00
Zhiwei Liang
e9cb14c91e
Add backups_enabled option; improve docs
2023-12-15 01:17:27 -07:00
Daniel Wozniak
cd12ba1171
Merge pull request #65699 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-12-15 01:16:58 -07:00
Pedro Algarvio
a43f55027d
Remove duplicated keyword argument left when conflict solving the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-14 15:09:56 +00:00
Pedro Algarvio
33925e7ad0
Remove duplicated function(and pytest helper)
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-14 15:08:37 +00:00
Pedro Algarvio
b104d98e90
Run pyupgrade
against the files modified in the merge-forward
2023-12-14 11:33:55 +00:00
Pedro Algarvio
e3ba31dc7a
Merge 3006.x into 3007.x
2023-12-14 11:32:20 +00:00
nicholasmhughes
84f434cc76
fix extfs parameter and retcode handling
2023-12-12 15:22:55 -07:00
jeanluc
caea12ed2d
Allow accessing the regular mine/event bus from salt-ssh
2023-12-11 20:28:20 -07:00
Andrii Nikitin
7f4afe80ed
doc: Fix incorrect mentioning systemd.scope in states.pkg
2023-12-11 20:01:39 -07:00
David Murphy
a04d09ec10
Merge pull request #65351 from garethgreenaway/18907_lazy_unmount_when_fails
...
[master] Add fallback for when "remounting" NFS or FUSE initially fails
2023-12-11 16:19:38 -07:00
jeanluc
61b172afb7
Apply lessons from previous PR
2023-12-11 14:05:22 -07:00
jeanluc
1356628f35
Freeze global trust dicts, disallow keyring tests on Win
...
The test sessions are just timing out on the first keyring test. This
might have to do with two separate GPG instances being requested
simultaneously, but I'm not able to debug this.
2023-12-11 14:05:22 -07:00
jeanluc
3c2e1ba1fb
Fixes after rebase
2023-12-11 14:05:22 -07:00
jeanluc
8cb54e658b
Correct docs again
2023-12-11 14:05:22 -07:00
jeanluc
56d85411f5
Correct fix for delete_key
2023-12-11 14:05:22 -07:00
jeanluc
4b08e2976a
Update versionadded
2023-12-11 14:05:22 -07:00
jeanluc
dffe37973d
Merge branch 'gpg-state-fix' into gpg-keyring
2023-12-11 14:05:22 -07:00
jeanluc
af6f8ee292
Fix error message when key is not found
2023-12-11 14:05:22 -07:00
jeanluc
4d3b76a761
Correct default behavior for gnupghome after cleanup
2023-12-11 14:05:22 -07:00
jeanluc
e8642a1606
Correct docs
2023-12-11 14:05:22 -07:00
jeanluc
68c033dffe
Fix keyring restore_ownership, cleanup
2023-12-11 14:05:22 -07:00
jeanluc
77da0dbf16
Use gnupg for trust_key if available
2023-12-11 14:05:22 -07:00
jeanluc
81b1236c5e
Add changelog
2023-12-11 14:05:22 -07:00
jeanluc
890d777392
Add gnupghome/keyring params to trust_key
2023-12-11 14:05:22 -07:00
jeanluc
2a30b0a9cd
Limit keyring to a single one
2023-12-11 14:05:22 -07:00
jeanluc
32cfcfd777
Add keyring, gnupghome to rest, add functional tests
2023-12-11 14:05:22 -07:00
David Murphy
59692d02f7
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-12-11 10:11:43 -07:00
Daniel A. Wozniak
d7549bd155
Fix docstring
2023-12-10 21:06:45 -07:00
David Murphy
a3f5ff9a7b
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-12-10 19:58:35 -07:00
Max Arnold
cf23adeac2
Fix key_str usage example
2023-12-10 19:52:58 -07:00
Daniel A. Wozniak
c51c7e856a
Update documentation of encoding kwarg
2023-12-10 19:01:22 -07:00
Daniel A. Wozniak
7a366444ab
Fix pre-commit
2023-12-10 18:22:28 -07:00
Thomas Merkel
788b922d34
Update doc/topics/tutorials/gitfs.rst
...
Co-authored-by: Caleb Beard <53276404+MKLeb@users.noreply.github.com>
2023-12-10 16:45:39 -07:00
Thomas Merkel
f933e66a77
doc: gitfs_remotes provide additional ordering information
...
The user should be informed that a state in a file will overrule a state
in an directory for gitfs_remotes because the remotes are merged
together to one structure.
An extra example should illustrate that it.
2023-12-10 16:45:39 -07:00
code-review-doctor
21bdb366e5
Fix issue probably-meant-fstring found at https://codereview.doctor
2023-12-10 16:43:03 -07:00
Benjamin Drung
b9b0c2462b
doc: Exclude documentation_options.js from default theme
...
`documentation_options.js` from the default theme sets the option
`URL_ROOT` to:
```
document.getElementById("documentation_options").getAttribute('data-url_root')
```
This requires that the script element for `documentation_options.js`
includes the tag `id="documentation_options"` and sets the
`data-url_root` tag. Otherwise evaluating `URL_ROOT` will fail and
building the documentation during the Debian package build will fail:
```
dh_sphinxdoc: error: DOCUMENTATION_OPTIONS does not define URL_ROOT
```
The variable `DOCUMENTATION_OPTIONS` is directly set `layout.html` and
therefore `documentation_options.js` does not need to be included. So
just exclude it.
Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
2023-12-10 16:23:20 -07:00
Krzysztof Pawłowski
30690637b5
Return error if patch file passed to state file.patch is malformed
...
If patch file provided for file.patch state is malformed then state
returns `Patch was already applied` but patch is not applied.
ID: patch_example
Function: file.patch
Name: /tmp/example
Result: True
Comment: Patch was already applied
Started: 12:20:50.953163
Duration: 61.558 ms
Changes:
It is better to return error in such case.
ID: patch_example
Function: file.patch
Name: /tmp/example
Result: False
Comment: /usr/bin/patch: **** malformed patch at line 7:
Started: 12:33:44.915605
Duration: 59.202 ms
Changes:
2023-12-10 15:32:15 -07:00
Ari Maniatis
0b423e443f
The script attribute is not userdata
2023-12-10 15:12:23 -07:00
Konrad Mosoń
54cf836d58
Cloud/DigitalOcean: Don't throw error when deleting instance, fixes #58190
2023-12-10 15:05:24 -07:00
Daniel A. Wozniak
9e95e3b2bf
Fix changelog entry
2023-12-10 14:55:32 -07:00
Ari Maniatis
341f844c6d
Better list of FreeBSD ami for EC2
...
The old list was many many years out of date.
2023-12-10 04:17:07 -07:00
mreider
84b8993543
add documentation for facl defaults, in acl state
2023-12-10 03:35:26 -07:00
piterpunk
913c0f7566
Removed an unused assignment in file.patch
2023-12-10 03:31:10 -07:00
Elias Probst
e681745c09
modules.system: improve documentation consistency
...
Make better/more consistent use of rST features, such as:
- use "verbatim" for inline code/variables
- reference module functions using `:mod:`
- fix syntax (e.g. missing empty line before list)
Furthermore, improve the wording (prevent personal pronouns), spelling
(e.g. use upper-cased acronyms such as `CLI` or `POSIX`) and grammar.
2023-12-10 03:16:00 -07:00
Elias Probst
14d89b6ae3
modules.system: document platform support for "reboot witnessed" functions
...
The `system.{set,get}_reboot_required_witnessed` functions only work and
make sense on NI Linux RT systems. Highlight this in their
documentation.
2023-12-10 03:16:00 -07:00
Daniel Wozniak
efc09396b7
Merge pull request #65680 from dwoz/release-branches
...
[master] Add 3007.x branch to releases
2023-12-09 23:55:55 -07:00
Daniel A. Wozniak
de12fc5ba5
Add 3007.x branch to releases
2023-12-09 23:54:34 -07:00
Daniel Wozniak
afdb17b125
Merge pull request #65228 from dwoz/issue/master/65226
...
[master] Fix cluster key rotation
2023-12-09 22:41:31 -07:00
Daniel Wozniak
aa20365fd6
Merge pull request #53338 from AstraLuma/patch-3
...
[master]Modular Systems: Document saltenvs and modules
2023-12-09 22:10:59 -07:00
Daniel Wozniak
4028520d10
Merge branch 'master' into patch-3
2023-12-09 22:10:39 -07:00
Daniel A. Wozniak
f582cb2365
Skip unsless test on windows
2023-12-09 15:39:10 -07:00
Daniel A. Wozniak
23d6ca8313
Bump seed
2023-12-08 14:44:36 -07:00
Daniel A. Wozniak
885ddef0e0
revert un-wanted change
2023-12-08 14:44:36 -07:00
Pedro Algarvio
070798fdc5
Make sure PIP_CONSTRAINT
is also set when building RPM's from source
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-08 14:38:43 -07:00
Daniel A. Wozniak
369b35c670
Add license to pyproject.toml instead of setup.cfg
2023-12-08 14:38:43 -07:00
Daniel A. Wozniak
cb9dd368ee
Add license to setup.cfg
2023-12-08 14:38:43 -07:00
Daniel A. Wozniak
f66d495334
Bump cache seed
2023-12-08 14:38:42 -07:00
Daniel A. Wozniak
4447b362d2
Fix key tests on windows
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
172a1f9f35
Fix linter
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
34bcdf4e32
Fix master startup bug
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
a50f5b8ff6
Fix tests
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
8c77c94bf6
Fix pre-commit
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
77d79ddfe8
fix pre commit in tests
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
c3e99eda87
Fix key rotation
2023-12-08 14:37:53 -07:00
Daniel A. Wozniak
67703832e6
Cluster aes session rotation test
2023-12-08 14:37:53 -07:00
David Murphy
5b23915205
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-12-08 10:43:24 -07:00
David Murphy
41d69cff5a
Merge pull request #65326 from garethgreenaway/65080_require_included_sls
...
[master] Account for included states that only include other states used as requisites
2023-12-08 10:32:09 -07:00
David Murphy
acbc56781b
Merge branch 'master' into 65080_require_included_sls
2023-12-08 08:40:43 -07:00
Daniel Wozniak
c9080fc4e7
Merge pull request #65678 from dwoz/testfix
...
[master] Bump cache seed
2023-12-08 02:30:22 -07:00
Daniel A. Wozniak
873f6b9927
Bump cache seed
2023-12-07 20:44:01 -07:00
Daniel Wozniak
c9afe46ad9
Merge pull request #65553 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-12-07 16:35:19 -07:00
Pedro Algarvio
0401d581ab
Stop importing salt in tools/
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-07 17:08:55 +00:00
Pedro Algarvio
2d0c2e0f8a
Revert "Don't change the default asyncio loop policy"
...
This reverts commit cf76f70a7d
.
2023-12-07 17:05:37 +00:00
Pedro Algarvio
0807410583
Revert "Make sure urllib3<2.0
is installed by pre-commit"
...
This reverts commit c083f4448a
.
2023-12-07 17:04:01 +00:00
Pedro Algarvio
233608ed88
Adjust test run timeouts(increase for windows)
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-07 11:02:37 +00:00
Pedro Algarvio
48ee392cbe
Fix test assertions(broken when migrated to pytest)
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-06 20:25:25 +00:00
Pedro Algarvio
c083f4448a
Make sure urllib3<2.0
is installed by pre-commit
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-06 11:31:02 +00:00
Pedro Algarvio
b3d4a5e2c5
Merge 3006.x into master
2023-12-06 10:17:35 +00:00
Pedro Algarvio
e93d3fcc9c
ctx.print
is not the same as python's print
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-05 18:30:32 +00:00
Pedro Algarvio
6fb799d38a
Run pyupgrade
against the files modified in the merge-forward
2023-12-05 18:21:45 +00:00
Pedro Algarvio
967d3015f6
Merge 3006.x into master
2023-12-05 18:10:58 +00:00
David Murphy
6884678540
Update salt/state.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-12-04 13:47:59 -07:00
David Murphy
60a4fdb0af
Merge branch 'master' into 65080_require_included_sls
2023-12-04 13:42:31 -07:00
David Murphy
fd1cd1dcac
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-12-04 13:41:44 -07:00
David Murphy
fc65161d2e
Merge pull request #64636 from gayathri-krishnaswamy/pack_manager
...
[master] Revamped Windows package manager documentation
2023-12-04 11:09:16 -07:00
Shane Lee
4a45b06c16
Fix a few typos and gramatical errors
2023-12-01 17:07:05 -07:00
Pedro Algarvio
7fc7572810
Bump to cffi=1.16.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-29 21:39:40 +00:00
Pedro Algarvio
fbe3b623d5
Downgrade ansible which got upgraded on the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-29 21:26:44 +00:00
Pedro Algarvio
ff2fc6de95
Run pyupgrade
against the files modified in the merge-forward
2023-11-29 21:20:41 +00:00
Gayathri Krishnaswamy
866f9598b9
Update windows-package-manager.rst
...
Updated some grammatical errors.
2023-11-29 11:38:14 -07:00
Gayathri Krishnaswamy
890889e117
Update windows-package-manager.rst
...
Updated comments provided by Alyssa
2023-11-29 11:38:14 -07:00
Gayathri Krishnaswamy
a5108d40f0
Updated Windows package manager
2023-11-29 11:38:13 -07:00
Pedro Algarvio
02c3b89e40
Merge 3006.x into master
2023-11-29 18:31:52 +00:00
Pedro Algarvio
c00978cb9e
Upgrade to pypsexec==0.3.0
which got downgraded during the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-29 16:51:38 +00:00
Pedro Algarvio
5d5068cd63
Run pyupgrade
against the files modified in the merge-forward
2023-11-29 16:35:43 +00:00
Pedro Algarvio
7cf72a7797
Merge 3006.x into master
2023-11-29 14:43:39 +00:00
Pedro Algarvio
f60c87aacb
Merge 3006.x into master
2023-11-28 17:46:50 +00:00
Pedro Algarvio
7647f9425b
Also consider requirements/constraints.txt
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 16:43:18 +00:00
Pedro Algarvio
6934fe3c63
Install rustc
when running pre-commit on GH Actions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 16:43:18 +00:00
Pedro Algarvio
d55cf91a21
Downgrade ansible
, it was not meant to be upgraded on merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 16:43:18 +00:00
vzhestkov
1e0c9d71c8
Add changelog entry
2023-11-26 15:27:39 -07:00
vzhestkov
45cbd66041
Make pre-commit check happy
2023-11-26 15:27:39 -07:00
vzhestkov
98ec4e3a09
Improve pip test with different condition of overriding the target
2023-11-26 15:27:39 -07:00
vzhestkov
3ad2037a39
Improve pip target override condition
2023-11-26 15:27:39 -07:00
James Howe
9b5f047f98
Missing versionadded tag for "offline"
2023-11-26 15:21:45 -07:00
Pedro Algarvio
cf76f70a7d
Don't change the default asyncio loop policy
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 18:06:09 +00:00
Pedro Algarvio
90e2a20a45
Bump to python-tools-scripts==0.18.6
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 17:15:52 +00:00
Pedro Algarvio
356bceb212
Revert "Don't include the 3007.0.md.template
in the 3006.x branch"
...
This reverts commit 575c1b8a79
.
2023-11-26 17:01:29 +00:00
Pedro Algarvio
575c1b8a79
Don't include the 3007.0.md.template
in the 3006.x branch
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 17:01:21 +00:00
Pedro Algarvio
fcb537103f
One environment copy too much, an oversight
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 16:59:31 +00:00
Pedro Algarvio
0ef171ca12
Make sure PIP_CONSTRAINT
is also set when building RPM's from source
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 16:59:26 +00:00
Pedro Algarvio
6618df6166
Relax the setuptools constraint
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 16:59:20 +00:00
Pedro Algarvio
54ba9dcd70
Create and use requirements/constraints.txt
now that setuptools 69.0 broke builds again
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 16:59:14 +00:00
Pedro Algarvio
250704b18c
Run pyupgrade
against the files modified in the merge-forward
2023-11-26 16:24:07 +00:00
Pedro Algarvio
a420d94431
Merge 3006.x into master
2023-11-26 16:10:40 +00:00
Sander Cornelissen
a686ce00b2
Fix pylint issues in unit test for pip state
2023-11-20 07:16:55 +00:00
Sander Cornelissen
15cef7dbab
Add changelog for #65458
2023-11-20 07:16:55 +00:00
Sander Cornelissen
f36b821e1a
Add test for fix when user does not exists on pip
2023-11-20 07:16:55 +00:00
Sander Cornelissen
ee3d8924ac
Fix for pip state when user doesn't exist
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
d7f20320d5
Deprecate pushover returner, remove warnings
...
Warnings will be automated.
2023-11-17 09:18:51 +00:00
jeanluc
3106812cd0
Add deprecation notice to docstrings
2023-11-17 09:18:51 +00:00
jeanluc
89ee0bd9bd
Deprecate pushover
modules in favor of saltext
2023-11-17 09:18:51 +00:00
jeanluc
33d35f6336
Review comments 2
2023-11-17 09:18:30 +00:00
jeanluc
9718d1e617
Enable new func tests for GPG state module on Win
2023-11-17 09:18:30 +00:00
jeanluc
e1717bcf5a
Commit review remarks
2023-11-17 09:18:30 +00:00
jeanluc
bad064ffc9
Clean up new module unit tests
2023-11-17 09:18:30 +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
b97022a705
Add test for issue 65169
...
gpg.present succeeds when the keyserver is unreachable
2023-11-17 09:18:30 +00:00
jeanluc
65fb54614b
Run pyupgrade for Python >=3.8
2023-11-17 09:18:30 +00:00
jeanluc
69e98434e0
Rename changelog files to .md
2023-11-17 09:18:30 +00:00
jeanluc
3e45b1f727
Backport fix for delete_key
2023-11-17 09:18:30 +00:00
jeanluc
311e2938c0
Backport more meaningful tests
2023-11-17 09:18:30 +00:00
jeanluc
3dbf49190f
Backport message fixes
2023-11-17 09:18:30 +00:00
jeanluc
73a6996c75
Fix gpg state module docs
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
702a899a15
Add tests for issue 63159
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
ba395d7c27
Add tests for issue 63156
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
jeanluc
5fa3605611
Add tests for state module and issue 63144
2023-11-17 09:18:30 +00:00
Gareth J. Greenaway
8413e6f96d
updating test_mounted state test.
2023-11-16 14:24:56 -08: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
Pedro Algarvio
d14de602b1
When a release doc only exists as a template, copy it into the right path
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-16 16:53:31 +00:00
Pedro Algarvio
6cfbd27473
Show warning on modules which are getting deprecated into extensions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-16 16:53:31 +00:00
Shane Lee
cf060abb6d
Merge pull request #65560 from max-arnold/fix-conf-salt-index
...
[master] Move configuration index doc
2023-11-16 09:37:17 -07:00
David Murphy
6c7abe7935
Fix reviewers commited suggestion
2023-11-16 12:39:58 +00:00
David Murphy
9ebd809470
Update salt/utils/odict.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-11-16 12:39:58 +00:00
David Murphy
a43d56f2d9
Update salt/utils/odict.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-11-16 12:39:58 +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
David Murphy
51b781fc4b
Assed deprecation warning for Salt's backport of OrderedDict class
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
Gareth J. Greenaway
f29f83fda0
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-11-15 14:55:20 -08: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
Max Arnold
c98aa86fd8
Move configuration index doc
2023-11-15 08:23:27 +07:00
Salt Project Packaging
6531c36679
Update the bootstrap script to v2023.11.07
2023-11-10 19:39:20 +00:00
Gareth J. Greenaway
ad05dce33a
Additional package name for OS X 13.
2023-11-10 19:38:13 +00:00
Gareth J. Greenaway
6640b05216
fixes for MacOS X 13
2023-11-10 19:38:13 +00:00
Pedro Algarvio
4f790e3945
Add macos-13
to the platforms to run tests on
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 19:38:13 +00:00
Pedro Algarvio
d7443d1aea
Bump to actionlint 1.6.26
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 19:38:13 +00:00
Pedro Algarvio
ede29b4fdf
This is not yet true
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 14:51:21 +00:00
Pedro Algarvio
92cae105fd
Add deprecation warnings and release notes about `setup.py
`
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 14:51:21 +00:00
Pedro Algarvio
63ade50e2b
Bump to paramiko==3.3.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-08 16:56:36 +00:00
Pedro Algarvio
163d34f430
Drop cloud specific requirements from MacOS's base requirements.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-08 16:56:36 +00:00
Pedro Algarvio
d6b7d47430
GitPython is no longer a base dependency for Windows and MacOS.
...
The plan is to make pygit2 the base dependency before 3007.0 comes out.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-08 16:56:36 +00:00
Pedro Algarvio
e35033aebc
Consolidate requirements into requirements/base.txt
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-08 16:56:36 +00:00
Pedro Algarvio
2b4b3ee2f6
Merge pull request #65511 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-11-07 13:36:57 +00:00
Pedro Algarvio
99370c6641
Remove commend and unused import
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-07 08:36:43 +00:00
Pedro Algarvio
8bdb2cd1e8
Remove Tiamat's run.py
entry point
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-07 00:18:30 -07:00
Daniel A. Wozniak
c97a6dafde
Fix transport merge warts and tests
2023-11-07 00:04:25 -07:00
Pedro Algarvio
5aba669eb4
Don't enable debug mode on the IOLoop
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-06 14:15:34 +00:00
Pedro Algarvio
db38c751df
Don't forget to pass ioloop
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-06 14:15:34 +00:00
Pedro Algarvio
9356099229
Cleanup and fix tests after the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-06 14:15:34 +00:00
Pedro Algarvio
38e72b2716
Need to check for both _closing
and _closed
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-06 12:12:46 +00:00
Pedro Algarvio
c78b214d0e
Bump a few requirements that got downgraded during the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-05 17:09:16 +00:00
Pedro Algarvio
ba85fb6c07
Merge 3006.x into master
2023-11-05 16:52:51 +00:00
Pedro Algarvio
e43d884db7
Enabling zmq_monitor
makes the test test_req_server_garbage_request
hang
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 18:34:02 +00:00
Pedro Algarvio
6c9dc08bb1
Remove char wrongly introduced in merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 20:13:03 +00:00
Pedro Algarvio
baa119fa01
Run pyupgrade
against changed files in merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 20:05:49 +00:00
Pedro Algarvio
e7b5f24ab3
Merge 3006.x into master
2023-11-03 20:05:20 +00:00
Renato Caldas
da7fbf8c0c
Fix pre-commit checks
2023-11-02 08:33:23 +00:00
Renato Caldas
a73e655513
Fix duplicated initialization
2023-11-02 08:33:23 +00:00
Pedro Algarvio
53f54d08d9
Merge pull request #65485 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-10-31 09:31:41 +00:00
Pedro Algarvio
3843bdab93
Upgrade some dependencies which got downgraded on the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 22:44:56 +00:00
Pedro Algarvio
8edd383c0e
Run pyupgrade
against modified files in the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 22:29:28 +00:00
Pedro Algarvio
c8f5d589d2
Merge 3006.x into master
2023-10-29 22:25:59 +00:00
Pedro Algarvio
93b640543c
Merge pull request #65457 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-10-27 13:59:34 +01:00
Pedro Algarvio
90666c8333
Run pyupgrade
against the changes from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-27 08:34:36 +01:00
Pedro Algarvio
32fac46e75
Fix test since it's now only one call
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-26 17:29:47 +01:00
Pedro Algarvio
5cba721cf9
Merge 3006.x into master
2023-10-26 17:17:53 +01:00
Pedro Algarvio
5a62968da8
Fix test groups issue when re-running test failures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-26 17:12:02 +01:00
Gareth J. Greenaway
9325ed9cba
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-10-24 15:59:35 -07:00
Megan Wilhite
0cf0214951
Fix pre-commit
2023-10-24 15:35:06 -07:00
Benjamin Cremer
53b8fe1e21
Fix coding style issues
2023-10-24 15:35:06 -07:00
Benjamin Cremer
c99f3996c0
Add changelog
2023-10-24 15:35:06 -07:00
Benjamin Cremer
7b9d93ecbc
Add MySQL privilege SERVICE_CONNECTION_ADMIN
...
Add MySQL dynamic privilege `SERVICE_CONNECTION_ADMIN` that was introduced in MySQL 8.0.14.
See:
- https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-14.html
- https://dev.mysql.com/doc/refman/8.0/en/administrative-connection-interface.html
2023-10-24 15:35:06 -07:00
Pedro Algarvio
53db412632
Merge pull request #65434 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-10-24 13:43:11 +01:00
Pedro Algarvio
d52647d98b
Run pyupgrade
against the changes from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-22 13:00:52 +01:00
Pedro Algarvio
6d17f6e8ca
Merge 3006.x into master
2023-10-22 12:20:30 +01:00
Pedro Algarvio
6638e51c19
Skip test that hangs on PhotonOS 3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-22 12:20:02 +01:00
Pedro Algarvio
9f9a9ce45f
Avoid having to resolve DNS for a unittest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-21 19:48:10 +01:00
Pedro Algarvio
ec50d45b5e
Jobs are taking longer on the master branch
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-20 18:19:20 +01:00
Pedro Algarvio
739d85b09c
Merge 3006.x into master
2023-10-20 13:31:46 +01:00
Pedro Algarvio
8f7d96b593
Apply pyupgrade
on the changed files from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-20 12:00:13 +01:00
Pedro Algarvio
830daeee97
Merge 3006.x into master
2023-10-19 20:00:40 +01:00
Gareth J. Greenaway
bc7c3f325d
swap out load beacon for status beacon which is a bit more predictable when it will fire.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
21a2898313
bump up the load average ranges.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
04e566b13a
Adding a sleep to see if that allow beacons to start and stop
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
319667147b
Update the first event tag.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
ee9bd1246a
swap minion_id for wildcard.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
4d805c160e
need to look at master id in the events.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
81606abb26
Adding changelog.
2023-10-18 15:15:47 -04:00
Gareth J. Greenaway
9e02797ac0
Need to make sure we update __pillar__ during a pillar refresh to ensure that process_beacons has the updated beacons loaded from pillar.
2023-10-18 15:15:47 -04:00
Barney Sowood
6c48871640
Simplify to just use opt in runner
...
Simplify to just use opts in runner to get show_jid. Had thought
I'd need to do that so not to print when called via python api or
netapi, but doesn't seem to be an issue.
2023-10-17 15:08:53 -04:00
Barney Sowood
fd0e3d2be2
Add changelog
2023-10-17 15:08:53 -04:00
Barney Sowood
22b44a8275
Add support for show_jid to salt-run
...
Adds support for show_jid to the salt-run cli command to match the
behaviour of the salt cli command.
2023-10-17 15:08:53 -04:00
Gareth J. Greenaway
dd97c32df6
Merge branch 'master' into 65080_require_included_sls
2023-10-13 11:13:47 -07:00
Gareth J. Greenaway
aba2a78017
Merge branch 'master' into 18907_lazy_unmount_when_fails
2023-10-13 11:12:41 -07:00
Pedro Algarvio
b213670518
Install Salt in the container before starting any of Salt's daemons
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-12 19:07:46 +01:00
Pedro Algarvio
e0bc1bd255
Upgrade to tornado>=6.3.3
due to https://github.com/advisories/GHSA-qppv-j76h-2rpx
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-12 19:07:46 +01:00
Pedro Algarvio
c18760559a
Merge pull request #65299 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-10-11 15:13:59 +01:00
Pedro Algarvio
0971af9331
Some tests require TCPPubClient
to be mocked.
...
This prevents the tests from hanging on Windows, and slowing down on Linux.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-11 08:13:07 +01:00
Pedro Algarvio
0445f9ea39
Improve error message
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-11 08:13:07 +01:00
Pedro Algarvio
cb44e8887b
Run pygupgrade
against changed files from merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-11 08:13:07 +01:00
Pedro Algarvio
a90653f337
Merge 3006.x into master
2023-10-11 05:43:42 +01:00
Gareth J. Greenaway
2fed2efa0f
Merge branch 'master' into 65080_require_included_sls
2023-10-09 17:22:17 -07:00
Gareth J. Greenaway
00356791ff
Include tests to ensure required includes that are using Salt environments work as expected.
2023-10-09 14:55:20 -07:00
Alexander Graul
74f02e8a68
blacken daemons/masterapi.py and its test_auto_key
2023-10-09 13:41:54 -06:00
Alexander Graul
31146eae69
Allow all primitive grain types for autosign_grains
2023-10-09 13:41:54 -06:00
Pedro Algarvio
497036f16b
Run pygupgrade
against the files changed in the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-07 08:47:03 +01:00
Pedro Algarvio
144b1314d8
Merge 3006.x into master
2023-10-07 08:43:20 +01:00
Gareth J. Greenaway
ddab3f5bfb
Adding changelog.
2023-10-05 08:19:15 -07:00
Gareth J. Greenaway
13da73d414
When an NFS or FUSE mount fails to unmount when mount options have changed, try again with a lazy umount before mounting again.
2023-10-04 16:03:34 -07:00
Pedro Algarvio
db27171a0b
Run pyupgrade
against the changed files from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 21:29:31 +01:00
Pedro Algarvio
8e07f20ef0
Merge 3006.x into master
2023-10-04 21:25:32 +01:00
Gareth J. Greenaway
bd457156c0
Update test to use the correct key.
2023-10-02 16:23:23 -07:00
Gareth J. Greenaway
27f6fb4d3c
fixing failing tests
2023-10-02 15:12:55 -07:00
Gareth J. Greenaway
2c6749e714
Adding changleog.
2023-10-02 13:02:15 -07:00
Gareth J. Greenaway
08e4057148
Adding tests.
2023-10-02 12:57:15 -07:00
nicholasmhughes
6e64117996
update follow_symlinks functionality in win_file to match file module
2023-10-02 19:27:18 +00:00
nicholasmhughes
acc4edb141
set the default properly so the default behavior doesnt change
2023-10-02 19:27:18 +00:00
nicholasmhughes
ebd645a4fe
fixes saltstack/salt#64665 add follow_symlinks to file.symlink exec module
2023-10-02 19:27:18 +00:00
Pedro Algarvio
2702705043
Merge 3006.x into master
2023-09-29 18:15:30 +01:00
Pedro Algarvio
8dc6f1c8f5
Merge 3006.x into master
2023-09-26 21:44:35 +01:00
Pedro Algarvio
6d0224f08c
Also install tornado
before starting Salt
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 21:44:31 +01:00
Pedro Algarvio
c2779df50c
Merge pull request #65282 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-09-26 21:43:21 +01:00
Pedro Algarvio
023bd39eb5
Run pyupgrade
against changed files from merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 12:00:37 +01:00
Pedro Algarvio
b85da8d8b0
Merge 3006.x into master
2023-09-26 07:01:03 +01:00
Gareth J. Greenaway
f9e5029ae9
keep track when an included file only includes sls files but is a requisite.
2023-09-25 12:19:31 -07:00
Pedro Algarvio
6fc622ffdd
Run pyupgrade
against changed files from merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 11:58:54 +01:00
Pedro Algarvio
f1c619292f
Adjust a few requirements that got changed during the conflict solving
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 11:53:57 +01:00
Pedro Algarvio
5e093b3b8d
Merge 3006.x into master
2023-09-25 11:41:20 +01:00
Pedro Algarvio
fb717a8d4b
Downgrade to sqren/backport-github-action@v8.9.7
at least errors are reported
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-24 21:24:38 +01:00
Pedro Algarvio
27f90f7239
Merge pull request #65239 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-09-24 17:53:58 +01:00
Pedro Algarvio
821522244f
Upgrade to sqren/backport-github-action@v9.3.0-a
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-24 10:28:25 +01:00
Pedro Algarvio
24d2fef2fa
Merge 3006.x into master
2023-09-22 08:39:31 +01:00
Pedro Algarvio
aa0d0b50ab
Run pyupgrade
on changed files from merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-21 21:14:47 +01:00
Pedro Algarvio
f334749c5f
Merge 3006.x into master
2023-09-21 20:41:31 +01:00
Pedro Algarvio
1a510cc5b2
Merge pull request #65137 from MKLeb/dependabot/master/pygithub
...
[master] Update gitpython to >=3.1.35
2023-09-21 12:12:37 +01:00
Pedro Algarvio
4a63636225
Merge 3006.x into master
2023-09-21 08:38:10 +01:00
Caleb Beard
60b5fd0b00
Merge branch 'master' into dependabot/master/pygithub
2023-09-20 16:18:29 -04:00
Pedro Algarvio
7e971a58e0
Run pyupgrade
on files changed in merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-20 16:44:56 +01:00
Pedro Algarvio
c07f66261e
Merge 3006.x into master
2023-09-20 15:52:18 +01:00
Pedro Algarvio
7fdd867d61
Merge pull request #65160 from MKLeb/mf/master/3006.x
...
[master] Merge forward 3006.x into master
2023-09-20 11:03:13 +01:00
MKLeb
432abe78f3
pin psutil for the upgrade tests for now
2023-09-19 15:57:06 -04:00
MKLeb
c218f71db9
Run the NSIS installer using start /wait
2023-09-19 15:30:48 -04:00
Joseph Hall
39107095dd
Skip vim test for Photon
2023-09-19 18:32:53 +00:00
Joseph Hall
1ec162e946
Check for errors before result loop
2023-09-19 18:32:53 +00:00
Joseph Hall
845853c1bd
Assert specifically against True
2023-09-19 18:32:53 +00:00
Joseph Hall
94f233cefa
Formula tests for vim and sudoers
2023-09-19 18:32:53 +00:00
James Howe
fc58fa4d9d
Update doc/ref/states/requisites.rst
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-09-19 13:06:34 +00:00
James Howe
d38a372687
Fix heading level of "creates"
2023-09-19 13:06:34 +00:00
MKLeb
38f735622d
Add security changelog
2023-09-18 15:42:12 -04:00
MKLeb
aaf493adba
Update to >=3.1.35
2023-09-18 15:42:12 -04:00
MKLeb
a1e2b9cfcf
Update gitpython to >=3.1.34
2023-09-18 15:42:12 -04:00
MKLeb
0d1dcad59c
Fix test_grains_package_onedir
2023-09-14 14:23:10 -04:00
Pedro Algarvio
685ca05b62
Move test to the right test module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-14 18:57:28 +01:00
Pedro Algarvio
910c78d4e0
Switch to the correct fixture usage
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-14 18:57:28 +01:00
Pedro Algarvio
d0f05e0558
Fix failing tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-14 18:57:28 +01:00
Megan Wilhite
3c6755d6ea
Remove pip install warning - setuptools new release fixed
2023-09-14 18:40:44 +01:00
Joseph Hall
c5936f92ae
Assert against True, not unspecified
2023-09-14 17:20:57 +00:00
Joseph Hall
e3c428e61b
Correct failure assertion
2023-09-14 17:20:57 +00:00
Pedro Algarvio
3a128fbd85
Run pyupgrade
on the files changed on the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-13 17:30:09 +01:00
Pedro Algarvio
623944d2a5
The master branch(Upcoming 3007.0 release) is already Python >= 3.8
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-13 16:36:35 +01:00
Pedro Algarvio
74f43bb5d2
Upgrade requirements downgraded during the merge forward conflict resolve
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-13 16:24:16 +01:00
Pedro Algarvio
f389c29473
Merge 3006.x into master
...
Conflicts:
* requirements/darwin.txt
* requirements/pytest.txt
* requirements/static/ci/common.in
* requirements/static/ci/darwin.in
* requirements/static/ci/freebsd.in
* requirements/static/ci/linux.in
* requirements/static/ci/py3.10/cloud.txt
* requirements/static/ci/py3.10/darwin.txt
* requirements/static/ci/py3.10/freebsd.txt
* requirements/static/ci/py3.10/lint.txt
* requirements/static/ci/py3.10/linux.txt
* requirements/static/ci/py3.10/windows.txt
* requirements/static/ci/py3.11/windows.txt
* requirements/static/ci/py3.7/cloud.txt
* requirements/static/ci/py3.7/freebsd.txt
* requirements/static/ci/py3.7/lint.txt
* requirements/static/ci/py3.7/linux.txt
* requirements/static/ci/py3.8/cloud.txt
* requirements/static/ci/py3.8/freebsd.txt
* requirements/static/ci/py3.8/lint.txt
* requirements/static/ci/py3.8/linux.txt
* requirements/static/ci/py3.8/windows.txt
* requirements/static/ci/py3.9/cloud.txt
* requirements/static/ci/py3.9/darwin.txt
* requirements/static/ci/py3.9/freebsd.txt
* requirements/static/ci/py3.9/lint.txt
* requirements/static/ci/py3.9/linux.txt
* requirements/static/ci/py3.9/windows.txt
* requirements/static/pkg/freebsd.in
* requirements/static/pkg/linux.in
* requirements/static/pkg/py3.10/darwin.txt
* requirements/static/pkg/py3.10/windows.txt
* requirements/static/pkg/py3.11/windows.txt
* requirements/static/pkg/py3.8/windows.txt
* requirements/static/pkg/py3.9/darwin.txt
* requirements/static/pkg/py3.9/windows.txt
* requirements/windows.txt
2023-09-13 16:09:29 +01:00
Pedro Algarvio
353b1d48b9
Fix(adjust) failing test due to changes in the master branch not in 3006.x
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-13 15:28:26 +01:00
Pedro Algarvio
31068bc174
Remove unneeded kwarg which also adds confusion
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-13 13:52:14 +01:00
Pedro Algarvio
c854acb3ee
The correct method is assert_called_once_with
not called_once_with
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:08:23 +01:00
Pedro Algarvio
628592f22b
The RequestClient
class no longer defines the message_client
attribute
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
Pedro Algarvio
2425620013
Just "grep" what we're after
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
Pedro Algarvio
5a89789ba7
Skip nested YAML structures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
Pedro Algarvio
c096bc6022
Run pyupgrade
on the files changed on the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
Pedro Algarvio
2d46e659f4
Salt no longer vendors tornado
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
MKLeb
bee29be6dd
Merge remote-tracking branch 'upstream/3006.x' into mf/master/3006.x
2023-09-08 16:25:39 -04:00
Daniel A. Wozniak
caa5e39303
Define defaults for cluster config settings
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
46eb7f783f
Make retry test more reliable
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
cd8e683255
Clean up logs
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
86d51a8215
Test fix for windows
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
dec16149b2
More tests
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
de45a7bed0
Fix netapi tests
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
af2c268347
Spawning platform fix
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
c2a4baf11f
Only the cluster aes key is on disk
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
f516003529
Encrypt the master event bus for cluster peers
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
b473ed193a
Add master pub channels skeleton
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
8764aa9eea
Add cluster config settings
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
ade2eaa057
Test fixup
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
6ba1b273ba
Publish new job directly to publisher and also to event bus
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
39fa242248
Fix test after removing un-needed method
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
d7daa1c424
Handle key rotation with multiple masters
2023-09-06 15:02:26 -07:00
Daniel A. Wozniak
e407cb99ae
Forward publish through master evetn bus.
...
Forward new jobs being published to minions through the master's event
bus. This will facilitate multiple masters being notified of publish
events.
2023-09-06 15:02:26 -07:00
Gareth J. Greenaway
a4e60cae7e
moving 64893.deprecated.md under changelog and fixing spelling
2023-09-06 20:11:29 +00:00
Stephen Bourke
5878e220cf
Comply with pre-commit and lint
2023-09-05 19:34:16 +00:00
Stephen Bourke
89bdd919a7
Remove redundant except
2023-09-05 19:34:16 +00:00
Stephen Bourke
f1a35823f7
Fix ipset new_set bug
2023-09-05 19:34:16 +00:00
Pedro Algarvio
8f9405cf8e
Move download_file
helpers to tests/support/pytest/helpers.py
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 12:41:10 +01:00
Joseph Hall
0e6fb14f61
Skip windows tests
2023-08-30 12:41:10 +01:00
Joseph Hall
e3fdb0b34f
Do not run Linux user tests on Windows
2023-08-30 12:41:10 +01:00
Joseph Hall
624ed41cb5
Mark tests as destructive
2023-08-30 12:41:10 +01:00
Pedro Algarvio
ae80dcddae
Reduce code duplication
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 12:41:10 +01:00
Joseph Hall
b5c19eb996
Remove unused json import
2023-08-30 12:41:10 +01:00
Joseph Hall
e48cbeb31f
Switch to use loaders.modules instead of cli
2023-08-30 12:41:10 +01:00
Joseph Hall
9c755a02ad
Initial commit of formula tests
2023-08-30 12:41:10 +01:00
Gareth J. Greenaway
17abfb480e
Update 64893.dprecated.md
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-08-28 20:30:37 +00:00
Gareth J. Greenaway
fdc92807aa
Adding changelog.
2023-08-28 20:30:37 +00:00
Gareth J. Greenaway
5edd1b0cf1
Adding deprecation decorator to the vault modules for 3009.
2023-08-28 20:30:37 +00:00
Gareth J. Greenaway
3880dae74f
Adding deprecate dunder to a couple additional modules.
2023-08-28 20:30:21 +00:00
Gareth J. Greenaway
2c41fd8a2e
Update changelog/64894.deprecated.md
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-08-28 20:30:21 +00:00
Gareth J. Greenaway
8673e01511
Adding changelog.
2023-08-28 20:30:21 +00:00
Gareth J. Greenaway
6ea385a16c
Adding deprecation decorator to docker modules for 3009.
2023-08-28 20:30:21 +00:00
Gareth J. Greenaway
051dac0260
Update changelog/64896.deprecated.md
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-08-28 20:30:08 +00:00
Gareth J. Greenaway
b51248d166
Adding changelog.
2023-08-28 20:30:08 +00:00
Gareth J. Greenaway
db9ed96d0d
Adding deprecation decorator to zabbix modules for 3009.
2023-08-28 20:30:08 +00:00
Gareth J. Greenaway
4818aa6e9c
Update changelog/64909.deprecated.md
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-08-28 20:29:54 +00:00
Gareth J. Greenaway
7bdf6a593e
Adding deprecation decorator to apache modules for 3009.
2023-08-28 20:29:54 +00:00
Megan Wilhite
7121882744
Add additional deprecation warning tests
2023-08-28 07:39:32 +01:00
Megan Wilhite
4d9eee7753
Add PYTHONWARNINGS=ignore option to silence deprecation warnings
2023-08-28 07:39:32 +01:00
Jens-U. Mozdzen
2c72c0471b
make Cloud::vm_config() handle per-VM vm_overrides according to inline docs
2023-08-25 13:12:47 +00:00
Cian Yong Leow
5cb273cef7
Fix Flaky LazyLoaderRefreshFileMappingTest
...
Move creation of the lock to a private method to isolate mocking behaviour from main threading library.
2023-08-25 13:12:09 +00:00
Bernhard Gally
82d35f5d5c
apply suggested linting changes
2023-08-25 13:11:46 +00:00
Bernhard Gally
725a5bdc3a
Apply suggested f-string changes
2023-08-25 13:11:46 +00:00
Bernhard Gally
30354137b0
Deprecate proxmox cloud
2023-08-25 13:11:46 +00:00
Zhiwei Liang
2cfc5c2fb4
Update image
2023-08-25 13:10:52 +00:00
Zhiwei Liang
905f3d774d
Update doc links
2023-08-25 13:10:52 +00:00
Zhiwei Liang
8e27387d3b
Add a changelog entry
2023-08-25 13:10:52 +00:00
Zhiwei Liang
0d3f49296e
Update docs and tests
2023-08-25 13:10:52 +00:00
Zhiwei Liang
b9c565f191
Remove Linode API v3 usage
2023-08-25 13:10:52 +00:00
Daniel A. Wozniak
e57901290e
Wean off load_module
2023-08-25 08:46:29 +01:00
Megan Wilhite
17a9837e36
Merge pull request #64998 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-08-24 17:58:00 +00:00
Daniel A. Wozniak
cc834784be
Close request server after testing it
2023-08-24 09:30:58 +01:00
Daniel A. Wozniak
07033471bd
Close the inotify
and watchdog
instances after each test
2023-08-24 09:30:50 +01:00
Daniel A. Wozniak
673e6ecccb
Remove dead code reference
2023-08-21 16:12:01 -07:00
Daniel A. Wozniak
ba433a71c7
Remove dead code reference
2023-08-21 10:03:26 -07:00
MKLeb
4afea71ae5
Don't let dependabot open PRs for regular version updates
2023-08-21 16:57:32 +01:00
twangboy
478ed7008c
Fix lint
2023-08-18 20:25:04 +00:00
twangboy
563afaffca
Fix lint
2023-08-18 20:25:04 +00:00
twangboy
c9512a1853
Fix pre-commit
2023-08-18 20:25:04 +00:00
Victor Zhestkov
1f7ad41df7
Add changelog entry
2023-08-18 20:25:04 +00:00
Victor Zhestkov
d940aa79b0
Update tests/pytests/functional/utils/user/test_get_group_dict.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-08-18 20:25:04 +00:00
Victor Zhestkov
ba82644375
Add test of calling salt.utils.user.get_group_dict
...
for the user having improper duplicate group
2023-08-18 20:25:04 +00:00
Victor Zhestkov
8e89a094f1
Prevent KeyError on calling grp.getgrnam in case of improper group
2023-08-18 20:25:04 +00:00
Pablo Suárez Hernández
d3f204e959
Add changes suggested by pre-commit
2023-08-18 20:15:26 +00:00
Pablo Suárez Hernández
cf7bcadedc
Add changelog file
2023-08-18 20:15:26 +00:00
Pablo Suárez Hernández
2b06ea6f65
Define __virtualname__ for transactional_update module
...
This prevent problems with LazyLoader when importing this module,
which was wrongly exposing functions for this module under "state.*"
2023-08-18 20:15:26 +00:00
MKLeb
0f26cf5b93
Add .github/dependabot.yml
2023-08-18 20:14:10 +01:00
Pedro Algarvio
a6cb942a3b
Add back code logic that pyupgrade
removed.
...
We still need this for salt-ssh
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-17 20:34:21 +01:00
Pedro Algarvio
e8a392577d
Fix merged forwarded code and test
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-17 09:54:54 +01:00
Pedro Algarvio
ad4821b87f
Run pyupgrade
on the files changed on the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-16 09:16:19 +01:00
Pedro Algarvio
22107ebd32
Merge 3006.x into master
2023-08-15 22:29:25 +01:00
Megan Wilhite
4f03b1d6ff
Merge pull request #64467 from cmcmarrow/remove_payload_Serial
...
[master] remove salt.payload.Serial
2023-08-15 20:12:28 +00:00
nicholasmhughes
245670f37f
fix duplicate ref
2023-08-14 16:42:03 +01:00
nicholasmhughes
ea5cd720f1
fix rst formatting
2023-08-14 16:42:03 +01:00
nicholasmhughes
77b516f6a8
adding to_entries and from_entries functions as jinja filters
2023-08-14 16:42:03 +01:00
nicholasmhughes
58b3ab13c9
fixes saltstack/salt#64600 implement jq-esque to_entries and from_entries functions
2023-08-14 16:42:03 +01:00
Antonio Ramón Sánchez Morales
4ac4da9aa4
fix(test_mac_brew_pkg): adapt test to also mock path.which
...
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
2199d8503b
chore(mac_brew_pkg): remove verbose if else chain
...
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
2e7b0ac875
fix(mac_brew_pkg): avoid using cmd.run on 'None' executable path
...
* Sindicate fetching os brew path for use also on __virtual__ method
without running an extra command at this moment
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
8e7c528d17
chore(mac_brew_pkg): lint fixes and changelog add
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
4fddd04ed2
fix(mac_brew_pkg): Use format instead of + operator
...
Fix for https://github.com/saltstack/salt/actions/runs/5298983857/jobs/9593610712?pr=57946
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
b258510a6d
chore(mac_brew_pkg): apply lint fixes
...
Applied lint patch suggested by this CI job: https://github.com/saltstack/salt/actions/runs/5298983857/jobs/9593574724?pr=57946
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
Antonio Ramón Sánchez Morales
2a522420ca
fix(mac_brew_pkg): Use brew path from which
...
Signed-off-by: Antonio Ramón Sánchez Morales <antonioramonsm@gmail.com>
2023-08-09 20:17:22 +00:00
cmcmarrow
67f0c5a6e5
fix pytests
2023-08-09 12:44:56 -05:00
Charles McMarrow
e0854105d6
Merge branch 'master' into remove_payload_Serial
2023-08-09 12:39:56 -05:00
cmcmarrow
584d26d5d7
update tests
2023-08-09 12:39:13 -05:00
Daniel A. Wozniak
9a4da7d2e3
remove sleeps
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
cf4e901ba8
Fix resolver
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
85504a91a6
We only use msgpack > 1.0 now
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d8d6bf1630
Do not override kwargs
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
43a3863532
Use async with for lock
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
3a84dadfd2
Revert changes to un-used deprecated class
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
528134ec18
We already have the path available
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
1d1ca7b6cb
Revert changes to MessageClient other than deprecation
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
13190ff89a
Use fixtures when already present
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
8a97ed53ef
Clean up crufty commented out code
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
ca93da0d7d
Fix up issues found in code review
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
2b90a91add
Fix msgpack tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
a951a88576
Bump msgpack minimum version
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
dadacf2685
Honor timeouts when possible
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
a04fe85ffa
Fix pr review nits
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d23f40cce9
Remove crufty comment
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
f5d84f3bd1
Clean up aexit def
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d273aef431
Gather all tasks at once
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
ccf6353126
Use async with on asyncio.Lock
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
8190791910
Clean up debugging cruft in test suite
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
3c788180ff
Fix blackout tests afer refactor
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
ae1bec97b7
Add back debug logging
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
8a14947270
More cleanup and test fixes after refactor
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
16fad0baef
Add changelog for #64488
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
3294e14752
Clean up cruft
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
9ef3a59698
Add transport factories for ipc comms
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
6320f769ea
Revert windows test fix
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
0b7285b766
Send req returns None
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
9bede19920
Prevent test hangs on windows
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d51f3b9cc5
Re-add missing skip for pam auth test on windows
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
56141835a6
Fix test_client.py test_pub_win32 unit test
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
156e75f345
Clean up
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
7d50c786e3
Increase sleep time to allow for master shutdown
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
7fc6945cba
Add timeout to tcppubclient connect
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
de4ab5fbcf
Fix deltaproxy tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
7b374707ac
Adjust timeouts to get passing tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
52239d808c
Fix windows unit tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
1a0f8dd81b
Fix manage beaconds test on windows
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
fd8cf7875b
Clean up logs and ensure callbacks are called
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
9765605d46
Shot in dark
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
c1cc4e23af
Always run SyncWrapper.close on __exit__
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
e79e3899e4
Fix wart in tcp transport
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
8890635449
More test fixes
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
0ede71eda5
Fix batch test
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
f556db26a9
Windows fix
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
8035d2418d
Reconnect without killing on_recv handler
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d52df08f22
Preserve ipc_mod logic
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
5540fd8111
Fix up on_recv logic
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d92df14ecb
Do not raise timeout error in PubClient.recv
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
4e22161bee
Fix warts in TCPPubClient recv
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
e0bea13bf2
Keep tcp as ipc transport, for now
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
5f36621afa
Fix linter warnings
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
7b58472599
Clean-up
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
d931728bfe
Clean up un-needed tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
ec7a44a52c
More test fixes
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
0dc6cfc78f
Fix minion comming up without master
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
2f6241aaff
Run with py3.10 and migrate tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
027a29fd0a
Clean up pre-commit
2023-08-08 14:47:15 -07:00
Jenkins
7d38fe0b25
Migrate master unit tests to pytest
2023-08-08 14:47:15 -07:00
Jenkins
353a9c32fa
Fix wart in network util method
2023-08-08 14:47:15 -07:00
Jenkins
31c59ce450
Cleanup and refactor TCP transport
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
b4e407a8a9
More cleanup
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
fe5990536b
Cleanup
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
ea3322b412
More test fixes
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
b31a98b3a7
Cleanup
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
4849a3529b
Do not start tracemalloc
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
a2f428e5b3
More test fixes
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
fea99b1335
Fix wart in pub_connect
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
9683260d61
Test fixes
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
077c253954
Do not close non sock
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
7e3a5b10f1
Minion uses tcp transport for ipc
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
f3522141df
un-commnet things we will keep
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
eb8328717d
Merge async work with ipc work
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
cec5aa517d
extras
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
149502ebfc
Transport and event tests pass
2023-08-08 14:47:15 -07:00
Jenkins
3a4533ee0c
Event unit tests
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
fb4ce8a741
Fix connection details for minion ipc
2023-08-08 14:47:15 -07:00
Daniel A. Wozniak
e102f8f11e
Initial pass at consolidating ipc and tcp/zeromq
2023-08-08 14:47:15 -07:00
cmcmarrow
65537f8cc6
fix tests
2023-08-08 12:10:02 -05:00
cmcmarrow
cbc40b7d43
fix pre
2023-08-08 10:52:24 -05:00
cmcmarrow
04e820258f
fix test_auth
2023-08-08 10:44:19 -05:00
Wayne Gemmell
7ec90b0fcd
Test and requested documentation added
2023-08-07 19:50:44 +00:00
Wayne Gemmell
33c9efda45
Linter fix
2023-08-07 19:50:44 +00:00
Wayne Gemmell
cdc2c20f5b
Changelog added for 63714
2023-08-07 19:50:44 +00:00
Wayne Gemmell
2b46917c4a
fixing for pre-commit
2023-08-07 19:50:44 +00:00
Wayne Gemmell
6227a8a407
_get_vpc_by_name return fixed for invalid vpc_name
2023-08-07 19:50:44 +00:00
Wayne Gemmell
5ac0683840
file permission update
2023-08-07 19:50:44 +00:00
Wayne Gemmell
49fa6669be
linting fixes
2023-08-07 19:50:44 +00:00
Wayne Gemmell
69ee788738
Linting fix
2023-08-07 19:50:44 +00:00
Wayne Gemmell
630db2b261
Clean up and linting issues
2023-08-07 19:50:44 +00:00
Wayne Gemmell
fc89d6fe8b
vpc_uuid parameter added to droplet creation
2023-08-07 19:50:44 +00:00
Megan Wilhite
c2d2522f1f
Merge pull request #64931 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-08-07 19:34:39 +00:00
Pedro Algarvio
7d1907cd73
Fix missed salt.ext.tornado.gen.Return
occurrence during merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-06 09:47:18 +01:00
Pedro Algarvio
ef367f4450
Fix changed requirements during merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-06 08:36:32 +01:00
Pedro Algarvio
6ed59e2727
Run pyupgrade
against changed files from merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-06 08:18:00 +01:00
Pedro Algarvio
af59576d96
Merge 3006.x into master
2023-08-06 08:13:52 +01:00
Megan Wilhite
3a42b0ce58
Remove onedir pytest fixture workaround
2023-08-04 16:29:46 +01:00
Megan Wilhite
bf6ab537f7
Revert coverage update
2023-08-04 16:29:46 +01:00
Megan Wilhite
131a389530
Revert "Bump cache seed"
...
This reverts commit b2dfd5e9b1c0cd1ebecaf6d64db183e79110df8c.
2023-08-04 16:29:46 +01:00
Megan Wilhite
a6ff8d0c23
Move _pkg.txt into salt directory
2023-08-04 16:29:46 +01:00
Megan Wilhite
86a8ddc6a5
Bump cache seed
2023-08-04 16:29:46 +01:00
Megan Wilhite
3e413bd82e
update coverage
2023-08-04 16:29:46 +01:00
Megan Wilhite
2de8317e70
Run onedir pytest fixture only on module tests
2023-08-04 16:29:46 +01:00
Megan Wilhite
dc07caab95
ensure we unset ONEDIR env for unit/functional tests
2023-08-04 16:29:46 +01:00
Megan Wilhite
e01ceb5284
Use _pkg.txt file for package grain
2023-08-04 16:29:46 +01:00
Megan Wilhite
34e3f90035
Add Salt package type to versions report and grain
2023-08-04 16:29:46 +01:00
Gareth J. Greenaway
b49eb84027
removing comment
2023-08-04 12:52:28 +01:00
Gareth J. Greenaway
fd6be3b6e4
moving test to pytest.
2023-08-04 12:52:28 +01:00
Gareth J. Greenaway
b39278d39f
removing unused os.path.join. moving all patch decorators into the test functions.
2023-08-04 12:52:28 +01:00
Gareth J. Greenaway
1d85a3ed89
Adding changelog.
2023-08-04 12:52:28 +01:00
Gareth J. Greenaway
9de739f9dd
Look in location salt is running from, this accounts for running from an unpacked onedir file that has not been installed.
2023-08-04 12:52:28 +01:00
Felippe Burk
7674112d14
adding obsoletes to rpm.spec for photon3 packages
...
Signed-off-by: Felippe Burk <burkf@vmware.com>
2023-08-03 19:54:07 +00:00
Jamie (Bear) Murphy
611944fa7b
fix quotes in fstring
2023-08-03 07:02:48 +01:00
Jamie (Bear) Murphy
b2dc649f90
add missing slash
2023-08-03 07:02:48 +01:00
Jamie (Bear) Murphy
318c198a6f
linting
2023-08-03 07:02:48 +01:00
Jamie (Bear) Murphy
2073e52bc4
drop latest
2023-08-03 07:02:48 +01:00
Jamie (Bear) Murphy
a58a741150
fix nightly repofile path
2023-08-03 07:02:48 +01:00
Pedro Algarvio
2974390263
Define salt_factories_default_root_dir
to try and avoid SELinux error on Fedora 38
...
```
Internal Server Error ("error setting label on mount source '/tmp': SELinux relabeling of /tmp is not allowed")
```
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
5f64fbd886
Bump to pytest-salt-factories==1.0.0rc25
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
43c7376f69
Bump to pytest-skip-markers==1.4.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
26001ed8eb
Remove salt execution and state modules only when building the windows package
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
ba106493c5
Make sys.path
cleanup work on windows
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
8b6497da72
Show sys.path
on error
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
7e709b11dd
Revert "Allow running unit/functional tests against the salt checkout for now"
...
This reverts commit 7382aa187e
.
2023-08-02 17:40:00 +00:00
Pedro Algarvio
61fc2933c4
Bump to pytest-salt-factories==1.0.0rc24
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pedro Algarvio
1826c9cf67
Test requires root permissions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-02 17:40:00 +00:00
Pablo Suárez Hernández
1f1420aa0b
Add changes suggested by pre-commit
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
70486ca1d4
Return error if there is a problem uploading openscap results to master
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
b87c24ebeb
Refactor OpenscapTestMock into pytest fixture
...
Co-authored-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
a8b88be486
Remove test that does not make sense for xccdf_eval
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
87715c4dc6
Remove kwargs from xccdf_eval function
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
0464a16c2a
Move parameters for 'xccdf_eval' out of kwargs
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
00b9b20c4c
Migrate openscap unit tests to pytest
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
9770229106
Fix code according to black suggestions
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
1c923149ae
Add deprecation warning for 'openscap.xccdf' function
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
aba6f6beae
Add versionadded tag
2023-08-01 20:00:26 +00:00
Vladimir Nadvornik
f7b5792b71
Fix error handling in openscap module
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
516ef95ca8
Rename changelog file
2023-08-01 20:00:26 +00:00
Pablo Suárez Hernández
271cf16d85
Allow 'tailoring_file' and 'tailoring_id' parameters
2023-08-01 20:00:26 +00:00
Michael Calmer
d92ba4c8e2
Enhance openscap module: add xccdf_eval call
2023-08-01 20:00:26 +00:00
Salt Project Packaging
2244d93fb4
Update the bootstrap script to v2023.07.25
2023-08-01 12:57:01 +01:00
Pedro Algarvio
22c1766113
Merge pull request #64727 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-07-28 19:25:39 +01:00
Alyssa Rock
ae11e7c061
Further changes requested by reviewers
2023-07-28 17:25:12 +00:00
Alyssa Rock
01451adf6b
Add fixes requested by reviewers
2023-07-28 17:25:12 +00:00
Alyssa Rock
41b8b8423a
Add release notes file for 3007 to allow nox builds
2023-07-28 17:25:12 +00:00
Alyssa Rock
0caa05c54f
Make changes requested by Chunga and Rob H
2023-07-28 17:25:12 +00:00
Pedro Algarvio
1decaf5711
Merge 3006.x into master
2023-07-28 11:20:24 +01:00
Megan Wilhite
0a98359776
Add documentation for external pillar cmd json
2023-07-22 21:19:51 +01:00
Pedro Algarvio
f7787f2d93
Merge pull request #64688 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-07-22 21:18:19 +01:00
Pedro Algarvio
23e96fdc6d
Run pyupgrade
on the changes from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-21 20:06:53 +01:00
Pedro Algarvio
c06f94523a
Bump a few dependency versions that got downgraded on the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-21 18:16:37 +01:00
Pedro Algarvio
112cbda97a
Merge 3006.x into master
2023-07-21 18:11:52 +01:00
David Murphy
75269c4ae2
Updates due to reviewer suggestions
2023-07-20 20:09:24 +00:00
David Murphy
bea424c18d
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
bf27a19c96
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
0ab67261b2
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
0cbee0f790
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
da2897e9bf
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
33f11e7107
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
27844363dd
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
6a256a59a1
Update salt/modules/yumpkg.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-07-20 20:09:24 +00:00
David Murphy
c81c7b3f70
Added changelog entry
2023-07-20 20:09:24 +00:00
David Murphy
5fa7a865ab
Added support for dnf5 for Fedora
2023-07-20 20:09:24 +00:00
twangboy
1ef90cbdc7
Fix failing tests
2023-07-19 12:47:47 +01:00
twangboy
e8ccb262a6
Fix pre-commit
2023-07-19 12:47:47 +01:00
Tim Hildebrandt
7b07640b32
Add changelog
2023-07-19 12:47:47 +01:00
Tim Hildebrandt
11b3b913e8
Update chocolatey.py
...
Bug Fix the last commit
2023-07-19 12:47:47 +01:00
Tim Hildebrandt
45e1ee9368
Update test_chocolatey.py
...
Add test for choco.exe in ProgramData
2023-07-19 12:47:47 +01:00
Tim Hildebrandt
52da6c2b58
Update chocolatey.py
...
Change environ key of new lication to "ProgramDataChoco" to not overwrite the environ of the chocolatey.exe path.
2023-07-19 12:47:47 +01:00
Tim Hildebrandt
fd09ab7efb
Update chocolatey.py / Search for choco.exe
...
chocolatey.exe was renamed to choco.exe by Chocolatey in Version 2.0.0
2023-07-19 12:47:47 +01:00
Pedro Algarvio
1d7309188b
Merge pull request #64652 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-07-19 12:30:29 +01:00
Pedro Algarvio
2450240d5c
Bump a few requirements that got downgraded in the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-18 17:38:08 +01:00
Pedro Algarvio
df09fd980d
Merge 3006.x into master
2023-07-18 16:37:08 +01:00
Pedro Algarvio
48749b15bc
Bump to pyyaml==6.0.1
due to https://github.com/yaml/pyyaml/issues/601
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-18 15:11:49 +01:00
Pedro Algarvio
b45c3191d6
Merge pull request #64609 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-07-09 03:48:04 +01:00
Pedro Algarvio
261e3e825d
Run pyupgrade
against the files changed on the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 21:32:10 +01:00
Pedro Algarvio
7d6f51f871
Merge 3006.x into master
2023-07-08 21:30:11 +01:00
Pedro Algarvio
3a91a197d4
Downgrade to cffi==1.14.6
on windows to fix the package upgrade tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
892aeeda0f
Downgrade to psutil==5.8.0
on windows to fix the package upgrade tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
46103123e4
Allow forcing the package tests to run by the test:pkg
label
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
51e9fb6e71
Revert to Py3.10
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-03 19:37:17 +01:00
Pedro Algarvio
d91988fa1c
Bump to pytest-shell-utilities==1.8.0
which officially support Py3.11
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-03 19:35:54 +01:00
Pablo Suárez Hernández
db5a9a1b4a
Fix test to get proper formatted version
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
a92ddf5a41
Fix salt_version execution module documentation
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
3693a0db42
Do not crash when passing numbers to 'salt_version.get_release_number'
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
8540a3fdd4
Rename changelog file according to bug report
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
a2abb1a450
Fix SaltStackVersion string for new versions format
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
4cd8fe14d4
Add changelog file
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
69696e6fd7
Add some new and fix unit tests
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
767303a3dc
Add changes suggested by pre-commit
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
f5861ccb10
Fix mess with version detection bad version definition
2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
e6abf4b2d5
Fix detection of Salt codename by salt_version module
2023-07-01 08:46:56 +01:00
Salt Project Packaging
1ef02f5e1d
Update the bootstrap script to v2023.06.28
2023-07-01 01:04:17 +01:00
Megan Wilhite
99ce534e0c
Merge pull request #64587 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-30 19:58:05 +00:00
Gareth J. Greenaway
f97b3f4419
removing text left from previous commit.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
f83d414280
remove ignore_list
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
8744762580
remove ignore_list
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
3e18925289
update documentation to include ignore_list
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
f0933cf408
Adding ignore_list argument to the decorator to filter out functions in a module that should not have the deprecation warning applied.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
60a97b6236
Using DeprecationWarning instead of FutureWarning.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
2ccda334e6
suggested fixes
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
ebe00a73d6
fix lists
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
25ad522344
Clarify what version numbers to include in the deprecation decorator.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
055277d101
Adding documentation for salt-extension.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
9a2102a0e8
Adding salt/utils/decorators/extension_deprecation.py
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
405fd40634
Adding changelog.
2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
2efc71ad12
Adding a new decorator to indicate when a module is deprecated in favor of a Salt extension
2023-06-30 19:53:08 +00:00
Pedro Algarvio
d5f14ef632
Merge 3006.x into master
2023-06-30 16:43:42 +01:00
Megan Wilhite
2d02017d6c
Merge pull request #64574 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-29 13:13:13 +00:00
Pedro Algarvio
2e962677b7
Run pyupgrade
against the changes from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-29 09:41:56 +01:00
Pedro Algarvio
819c2dc9e7
Merge 3006.x into master
2023-06-29 09:40:29 +01:00
Pedro Algarvio
c463c94b8d
Stop using the deprecated locale.getdefaultlocale()
function
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-29 08:01:12 +01:00
Pedro Algarvio
9aeed74e96
Merge pull request #64560 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-28 20:38:03 +01:00
Pedro Algarvio
31475e74e8
Run pypugrade
against the files changed in the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 11:56:47 +01:00
Pedro Algarvio
c4987f83ed
Merge 3006.x into master
2023-06-28 11:51:20 +01:00
Charles McMarrow
94763bb50b
Merge branch 'master' into remove_payload_Serial
2023-06-27 23:28:57 -05:00
Megan Wilhite
0892d07684
Merge pull request #64466 from cmcmarrow/remove_conn_func_from_napalm
...
[master] Remove salt.modules.napalm_mod.netmiko_conn and pyeapi_conn
2023-06-27 20:28:38 +00:00
jeanluc
560bacdaeb
Add test for custom wrapper usage
2023-06-26 19:53:07 +00:00
jeanluc
1e08e7d006
Correct/add versionadded
2023-06-26 19:53:07 +00:00
jeanluc
830232f9e9
run pre-commit upgrade code for Py3.8+ again
2023-06-26 19:53:07 +00:00
jeanluc
31cf73704f
Add sync_wrapper
to saltutil
state module
2023-06-26 19:53:07 +00:00
jeanluc
c81e8f045b
run pre-commit upgrade code for Py3.8+
2023-06-26 19:53:07 +00:00
jeanluc
7b0d09bd29
Add syncing of custom ssh wrappers
2023-06-26 19:53:07 +00:00
twangboy
5dc987a630
Add changelog
2023-06-26 13:40:39 +00:00
twangboy
6ae0c5ad6c
Add test
2023-06-26 13:40:39 +00:00
twangboy
38bae082f4
Fix issue when there are duplicate packages
2023-06-26 13:40:39 +00:00
Tanmoy037
eb5473596a
Structured Layered State name added insted of SaLt State file
2023-06-26 13:38:20 +00:00
James Howe
8950f1198b
Missed an "and".
2023-06-23 15:13:12 -07:00
James Howe
2215d92ab0
Fix incorrect usage of "finite" wrt ordering
2023-06-23 12:56:29 -07:00
Charles McMarrow
b5b1a9794b
add back proxy_napalm_wrap
2023-06-22 13:06:52 -05:00
Charles McMarrow
d12e128981
Merge branch 'master' into remove_conn_func_from_napalm
2023-06-21 10:56:57 -05:00
Charles McMarrow
b0bf7eba9b
[master]gpg_decrypt_must_succeed default from False to True ( #64471 )
...
* pg_decrypt_must_succeed default from False to True
* Fix pre-commit
2023-06-21 10:56:32 -05:00
Charles McMarrow
7b8c3dbacc
Update napalm_mod.py
2023-06-20 16:15:20 -05:00
Charles McMarrow
374f91f1ca
Merge branch 'master' into remove_payload_Serial
2023-06-20 15:53:18 -05:00
Charles McMarrow
1a4a4824ff
Merge branch 'master' into remove_conn_func_from_napalm
2023-06-20 15:51:49 -05:00
Charles McMarrow
ddb9c20ec8
fix pre-commit
2023-06-20 15:50:53 -05:00
Pedro Algarvio
4f027308f8
Run pyupgrade on the changes from the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-20 03:34:21 +01:00
Pedro Algarvio
5e28d77365
Improved slack notifications
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-20 03:34:21 +01:00
nicholasmhughes
77482013d6
fixes saltstack/salt#64477 file.symlink will not replace/update existing symlink
2023-06-20 03:34:21 +01:00
Pedro Algarvio
ae14412da3
Don't hardcode the python version on pkg/debian/salt-cloud.postinst
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
c6e2bd18e9
Don't hardcode the python version in the test.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
a1861c7871
Added changelog entry and updated release notes
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
d2f1990135
Generate 3.11 requirements for the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
14282d69f6
Use proper keys since Python's base64 in Py3.11 is more picky
...
```
❯ artifacts/salt/bin/python3
Python 3.10.11 (main, May 5 2023, 02:31:54) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True)
b'\x00\x00\x00\x07ssh-dq\x0fI\xe5\xb6\x13\x13&'
```
```
$ artifacts/salt/bin/python3
Python 3.11.3 (main, May 5 2023, 02:31:40) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64
>>> base64.b64decode("AAAAB3NzaC1kcQ9J5bYTEyZ==", validate=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/testing/artifacts/salt/lib/python3.11/base64.py", line 88, in b64decode
return binascii.a2b_base64(s, strict_mode=validate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
binascii.Error: Excess data after padding
```
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
ff42133e81
Switch onedir to Py3.11
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
8331264fdb
Stop using the deprecated imp
module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
ad706711d3
Backport locale.getdefaultlocale()
into Salt. It's getting removed in Py 3.13
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
3f78a510c0
Add __getstate__
to blacklisted methods, present in Py 3.11
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
e814134020
Stop using the deprecated pipes
module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
72fc1094ce
Stop using the deprecated cgi
module.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
7d57774710
Switch to FullArgSpec
since Py 3.11 no longer has ArgSpec
, deprecated since Py 3.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
b8e3a0adca
Don't hide output
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
ced7fea9f4
Don't use requirements with extras as that breaks pip constraints usage
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 07:42:10 +01:00
Pedro Algarvio
b01c195632
Run pyupgrade on the changed files
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 07:21:24 +01:00
Pedro Algarvio
088bd21073
Bump to salt-rewrite==2.5.2
and fix warn_until
calls.
...
Now that version numbers are predictable, version names no longer make sense,
and, when used, requires previous knowledge of the version name to
number mapping or a lookup.
Just use the version numbers.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 07:21:24 +01:00
cmcmarrow
ce356f1737
Remove netmiko_conn, pyeapi_conn
2023-06-18 09:00:04 +01:00
cmcmarrow
dbea252572
add changelog
2023-06-18 08:51:47 +01:00
cmcmarrow
0f4c789349
remove get event transport arg
2023-06-18 08:51:47 +01:00
David Murphy
60086b0fa0
Updated tests for removed RHEL 5 support
2023-06-18 08:45:50 +01:00
David Murphy
98422f3848
Updated to remove RHEL 5 support and single RHEL 6 instance too
2023-06-18 08:45:50 +01:00
David Murphy
2478e75dca
Removed support for RHEL 5
2023-06-18 08:45:50 +01:00
Pedro Algarvio
4cfc91da62
Merge pull request #64501 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-17 23:29:46 +01:00
Pedro Algarvio
2126a1ed21
Merge 3006.x into master
2023-06-17 23:28:57 +01:00
cmcmarrow
c070da586b
remove salt.payload.Serial
2023-06-17 21:53:53 +01:00
Pedro Algarvio
db228b3430
Merge pull request #64498 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-17 13:45:41 +01:00
Pedro Algarvio
fea52743f6
Merge 3006.x into master
2023-06-17 13:40:19 +01:00
Pedro Algarvio
5c88202087
Use a different pytest.ini
file for the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
5843cb54eb
Run pyupgrade
against the files being merged forwarded
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
50063ff617
Pass the python version too
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
2a65c3e025
Pass along the relenv version that should be used.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
MKLeb
efd6fdd24d
changelog
2023-06-16 07:32:35 +01:00
MKLeb
22c4437580
Add test suite for wheel.file_roots
and fix finding files when they are under a subdir of a root
2023-06-16 07:32:35 +01:00
Megan Wilhite
9ab90fdc63
Merge pull request #64028 from nicholasmhughes/add-keyvalue-create_if_missing
...
[master] file.keyvalue should allow creating a file if it doesn't exist
2023-06-14 19:02:07 +00:00
Pedro Algarvio
3506e7fd0e
Fix mock calls
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
3c415b222f
Address lint issue
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
5a03a24ea9
Upgrade remaining test dependencies
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Megan Wilhite
461868daf5
Merge branch 'master' into add-keyvalue-create_if_missing
2023-06-13 20:10:32 +00:00
Megan Wilhite
00dce8d08a
Merge pull request #64474 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-13 15:09:16 +00:00
Pedro Algarvio
4d2c3c43c2
Merge 3006.x into master
2023-06-13 07:53:51 +01:00
Nicholas Hughes
756af0299b
Merge branch 'master' into add-keyvalue-create_if_missing
2023-06-12 16:51:11 -04:00
Megan Wilhite
98433521d0
Merge pull request #64449 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-06-12 12:55:45 +00:00
Pedro Algarvio
5069c1f916
Run pyupgrade of the modified files from the merge forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-11 10:03:42 +01:00
Pedro Algarvio
4886b6de2d
Merge 3006.x into master
2023-06-11 10:01:52 +01:00
saville
7da18aa93a
Add option to use a fresh connection for mysql cache
2023-06-09 14:06:06 -07:00
Sébastien Blaisot
9539c31d48
Document pip.installed pkgs parameter
2023-06-09 20:39:52 +00:00
saville
96c4c441a2
Skip the isfile check to increase speed of listing large numbers of keys on slow file storage
2023-06-09 20:33:29 +00:00
David Murphy
7916ffb63e
Fixed committed reviewer suggestion
2023-06-09 20:30:12 +00:00
David Murphy
d572d1a703
Update salt/modules/network.py
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-06-09 20:30:12 +00:00
David Murphy
e6c3661b48
Update salt/modules/network.py
...
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-06-09 20:30:12 +00:00
David Murphy
dfdb2aff48
Update tests/pytests/unit/modules/test_network.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-06-09 20:30:12 +00:00
David Murphy
096b273fe6
Update salt/modules/vagrant.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-06-09 20:30:12 +00:00
David Murphy
72bedb72d0
Added changelog entry
2023-06-09 20:30:12 +00:00
David Murphy
1d02c08bad
Added support for ip neighbor for IPv4 and IPv6 and tests
2023-06-09 20:30:12 +00:00
David Murphy
d06e59c7f4
Updates to replace use of ifconfig where appropriate
2023-06-09 20:30:12 +00:00
nicholasmhughes
09569cd5fb
new changelog format
2023-06-09 19:12:03 +00:00
nicholasmhughes
72a3e74c8e
docstring and comment fixes
2023-06-09 19:12:03 +00:00
Meghann Cunningham
4e99f5053a
fixed var that was set to False for testing purposes
2023-06-09 19:12:03 +00:00
Meghann Cunningham
fa7c345977
fix in test file
2023-06-09 19:12:03 +00:00
Meghann Cunningham
222f3017ad
updated test_saltcheck.py
2023-06-09 19:12:03 +00:00
Meghann Cunningham
dac338bd1c
Update tests/pytests/unit/modules/test_saltcheck.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-06-09 19:12:03 +00:00
Meghann Cunningham
0f529c13fc
Update tests/pytests/unit/modules/test_saltcheck.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-06-09 19:12:03 +00:00
Pedro Algarvio
94bce224fa
added xmldiff package for testing expected output vs returned output
2023-06-09 19:12:03 +00:00
Meghann Cunningham
684b584623
Removed unnecessary ModuleNotFound
2023-06-09 19:12:03 +00:00
Meghann Cunningham
1375b85cba
fixes saltstack/salt#63463 add JUnit output for saltcheck
2023-06-09 19:12:03 +00:00
Pedro Algarvio
fcfe059402
Updating test requirements for saltcheck junit output
2023-06-09 19:12:03 +00:00
Meghann Cunningham
ddbb95fee4
basic JUnit output for saltcheck
2023-06-09 19:12:03 +00:00
Ryan Addessi (raddessi)
b381f39024
f-strings
2023-06-09 20:04:48 +01:00
Ryan Addessi (raddessi)
d05e5469a5
fix: slack bolt engine name is slack_bolt
2023-06-09 20:04:48 +01:00
Nicholas Hughes
528f345c87
Merge branch 'master' into add-keyvalue-create_if_missing
2023-06-09 14:41:55 -04:00
nicholasmhughes
3de03147f1
handling pyupgrade changes
2023-06-09 14:41:13 -04:00
saville
ced3436053
Add flags to create local users and groups
2023-06-08 20:34:54 +00:00
Pedro Algarvio
05d3295eba
Revert "Bump to immutables==0.19
"
...
This reverts commit 825d715356e6319f89f90fade352e727f8aae4cb.
The reason being that it breaks salt-ssh into systems with python older
than 3.6, which is apparently still supported.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
85e4687c4a
Revert "More recent versions of immutables
require typing_extensions
"
...
This reverts commit c9a6100a4f503e2640d8baf394aabae49c40b054.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
9017809e4e
Bump to pyopenssl==23.2.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
3e68d44e56
Bump to slack-bolt==1.18.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
44cb892333
Bump to twilio==8.2.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
0df47ecb62
Bump to hglib==2.6.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
292485e703
Bump to mercurial==6.4.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
36a198935a
Bump to yamllint==1.32.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
cd91e01917
Bump to pygit2==1.12.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
d2792d028f
Bump to apache-libcloud==3.7.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
7f4947449d
Bump to pyspnego==0.9.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
8cb1d6d899
Bump to pywinrm==0.4.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
72b73eded9
Bump to pypsexec==0.3.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
093370c6ab
Bump to vcert==0.9.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
15c1f5f870
Bump to watchdog==3.0.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
1851456b3f
Bump to pyvmomi==8.0.1.0.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
156b8dc3f8
Bump to paramiko==3.2.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
e4490e55bb
Bump to napalm==4.1.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
7bbd386a1f
Bump to moto==4.1.10
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
ada68ba56c
Bump to libnacl==1.8.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
1137f14cc2
Bump to kazoo==2.9.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
bec7b90566
Bump to python-telegram-bot==20.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
593cd82096
Downgrade to cheetah3==3.2.6.post1
since cheetah3==3.2.6.post2
was yanked
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
357e02f152
Bump to mako==1.2.4
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
11204d5d12
Bump to genshi==0.7.7
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
ddcd66c2d2
Upgrade ansible
and ansible-core
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
a2f0f1d783
Bump to pytest-skip-markers==1.4.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
b1a1c78a91
Bump to pytest-shell-utilities==1.7.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
6c4c8292f0
Bump to pytest-helpers-namespace==2021.12.29
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
d94bb4475f
Bump to pytest==7.3.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
de44f9931a
Bump to jxmlease==1.0.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
69b890c0f6
Bump to junos-eznc==2.6.7
and ncclient==0.6.13
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
a5a7e3b019
Bump to scp=0.14.5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
5583d8a653
Bump to transitions==0.9.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
5877cd7a59
Bump to pyserial==3.5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
c119d82495
Bump to netaddr==0.8.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
5b1031de0d
Revert "Bump to jsonschema==4.17.3
"
...
This reverts commit fa6661800dbed28cb8dfe1a25f698aeb65616b98.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
d933a235aa
Bump to jsonschema==4.17.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
8c268f47ce
Bump to docker==6.1.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
a413f068c8
No need to include the linux dependencies in lint dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
c67dba3d30
Adjust tools/docs.py
to work with the new docs requirements definition
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
180ece842c
No need to include the base and zeromq dependencies in docs dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
bef7a6ab2e
No need to include the linux dependencies in cloud dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
32ae15edb6
Bump to dnspython==2.3.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
243bf299d3
Bump to croniter==1.3.15
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
ae37cc1d6b
Bump to clustershell==1.9.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
fc1b7b2005
Bump to cassandra-driver==3.27.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
8315107e91
Bump to boto3==1.26.143
, botocore==1.29.143
and s3transfer==0.6.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
9aeea6bbbf
Bump to typing-extensions==4.6.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
68e4d2e7c3
Bump to zipp==3.15.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
319730b7a7
Bump to portend==3.1.0
and tempora==5.2.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
0e63e023b9
Bump to idna==3.4
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
679651299a
Upgrade all jaraco.*
libraries
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
cb4a3e7ead
Bump to more-itertools==9.1.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
679d5f83ea
Bump to pytz==2023.3
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
374a084403
Bump to cheroot==10.0.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
723e7a66c7
More recent versions of immutables
require typing_extensions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
588cd703af
Bump to immutables==0.19
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
1c0593b4d6
Bump to importlib-metadata==6.6.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
4b74e4612a
Bump to timelib==0.3.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
a302fcc166
Bump to python-gnupg==0.5.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
017c230f90
Bump to python-dateutil==2.8.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
023a54beb5
Revert "Bump to pycryptodomex==3.18.0
"
...
This reverts commit 2def14aefb804a0eb633d21626b5b1e1a4063edb.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
44b3f7015a
Bump to pycryptodomex==3.18.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
b763dfa21c
Bump to pycparser==2.21
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
ef6d0e93b6
Bump to lxml==4.9.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
e8c536d1d8
Bump to gitdb==4.0.10
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
e1f962e0d8
Bump to gitpython==3.1.31
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
228232f570
Bump to cherrypy==18.8.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
defca6ba10
Remove ioloop>=0.1a0
from the windows requirements
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
6e26da3c9f
Bump to cryptography==40.0.2
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
542f97bf16
Bump to pyopenssl==23.1.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
4e4ac4b177
Bump to pywin32==306
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
4574d8722d
Bump to pyzmq==25.1.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
40f86e1898
Bump to looseversion==1.2.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
cbb617d478
Bump to packaging==23.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
9a04e5ba8f
Bump to psutil==5.9.5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
6bb2906634
Bump to distro==1.8.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
06504a4ec7
Fix lint issues after the pyyaml
package upgrade
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
410e70bfda
Bump to pyyaml==6.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
0a11311113
Bump to msgpack==1.0.5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
dc3b1d615f
Bump to cherrypy==18.8.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
5ad59794fc
Bump to cffi==1.15.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
8b8c239ed7
Bump to certifi==2023.5.7
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
b88f6f1800
Properly constrain CI requirements
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Megan Wilhite
a5bd72653f
Merge branch 'master' into add-keyvalue-create_if_missing
2023-06-06 19:32:01 +00:00
nicholasmhughes
9ffbd2103d
fixes saltstack/salt#64418 configurable_test_state should be able to return False result in test mode
2023-06-06 19:12:31 +00:00
twangboy
ef40721949
Py3.8 updates
2023-06-06 18:48:58 +00:00
twangboy
faf1f267c6
Fix tests
2023-06-06 18:48:58 +00:00
twangboy
998dd6aa31
Don't use dunder modules in a salt util
2023-06-06 18:48:58 +00:00
twangboy
6aab93fcf2
Don't log powershell command
2023-06-06 18:48:58 +00:00
twangboy
499c8ea103
Add versionadded
2023-06-06 18:48:58 +00:00
Twangboy
4e7e6d8b3d
Fix docs for appx.absent state module
2023-06-06 18:48:58 +00:00
Twangboy
6ce69654c7
Reformat docs to find sphinx error... I think I found it
2023-06-06 18:48:58 +00:00
Twangboy
b1ae2106c2
Try code-block bash
2023-06-06 18:48:58 +00:00
Twangboy
1bcaac0479
Replace tildes with dashes
2023-06-06 18:48:58 +00:00
Twangboy
f8c54ddcfe
Change wording in docstring to fix literal start-string error
2023-06-06 18:48:58 +00:00
Twangboy
636eb42a4a
Add appx to doctree
2023-06-06 18:48:58 +00:00
Twangboy
a0ee6df8bc
Add missing doc stubs, use f-strings, add CLI examples
2023-06-06 18:48:58 +00:00
Twangboy
28de02a201
Fix pre-commit
2023-06-06 18:48:58 +00:00
Twangboy
78c8c11787
Add changelog
2023-06-06 18:48:58 +00:00
Twangboy
7c6d550123
Add tests
2023-06-06 18:48:58 +00:00
Twangboy
608f7acfa2
Add appx.absent state, remove duplicated code
2023-06-06 18:48:58 +00:00
Twangboy
d9b5ee5429
Rename to list_deprovisioned
2023-06-06 18:48:58 +00:00
Twangboy
bc1217c99d
Add some documentation, add functions and states in dism modules
2023-06-06 18:48:58 +00:00
Twangboy
e7785cb886
Add ability to filter reprovision apps
2023-06-06 18:48:58 +00:00
Twangboy
634b405481
Add docs, filter deprovisioned
2023-06-06 18:48:58 +00:00
Twangboy
2fc5af765b
Add ability to reprovision an app
2023-06-06 18:48:58 +00:00
Twangboy
3a50ab534b
Add appx execution module
2023-06-06 18:48:58 +00:00
Pedro Algarvio
d3b82ebdcc
Update supported versions in noxfile.py
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-06 11:13:17 +01:00
Pedro Algarvio
c84b2df3a9
Add drop Py3.7 support to release notes and changelog
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-06 11:13:17 +01:00
Megan Wilhite
398ebb961e
Merge branch 'master' into add-keyvalue-create_if_missing
2023-06-05 20:11:25 +00:00
Daniel Mach
8dfc923876
Fix utf8 handling in 'pass' renderer and make it more robust
2023-06-05 20:10:49 +00:00
Daniel Mach
098dae15cb
Migrate string formatting in 'pass' renderer to a f-string
2023-06-05 20:10:49 +00:00
Megan Wilhite
f012ab6313
Remove changelog
2023-06-05 19:57:18 +00:00
piterpunk
4b8fea8607
Added changelog entry
2023-06-05 19:57:18 +00:00
Elias Probst
a89d53d89c
auth: correct typos in docstrings
2023-06-05 19:57:18 +00:00
Augustas
5a10df14ed
Update walkthrough_macosx.rst
...
precise64 image is non existing anymore on vagrantup servers. Also changed instructions with new approach to setup virtualbox image name while executing vagrant init command.
2023-06-05 19:56:55 +00:00
jeanluc
f5ce55dd47
Address review comments
2023-06-05 19:56:32 +00:00
jeanluc
c15f469b4f
Rename changelog files to .md
2023-06-05 19:56:32 +00:00
jeanluc
cc27e2a19a
Clarify that exact pillar matching is supported
2023-06-05 19:56:32 +00:00
jeanluc
278368b908
Correct peer communication docs
2023-06-05 19:56:32 +00:00
jeanluc
20ac30d1e5
Add tests for issue 52164
2023-06-05 19:56:32 +00:00
Pedro Algarvio
e18d829f36
Drop Python 3.7 support.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-05 20:55:24 +01:00
nicholasmhughes
d988dfb5b2
fixes saltstack/salt#64420 'unable to unmount' failure should return False result
2023-06-05 19:53:52 +00:00
twangboy
41d9f33c3f
Don't report failure on task manager installs
2023-06-02 19:44:58 +00:00
Megan Wilhite
d9a421d014
Merge pull request #64323 from natalieswork/remove-azure
...
[master] Remove azure
2023-06-01 12:58:06 +00:00
Daniel A. Wozniak
d50ba4de9b
Update changelog entry
2023-05-31 15:59:57 -07:00
Daniel A. Wozniak
e8c016419b
Fix netapi tests
2023-05-31 15:59:57 -07:00
Daniel A. Wozniak
5ac48c5161
test fixes
2023-05-31 15:59:57 -07:00
Daniel A. Wozniak
e521194579
make_current is deprecated, remove it
2023-05-31 15:59:57 -07:00
Daniel A. Wozniak
063bf2959e
Do not conflict versoins for setup.py
2023-05-31 15:59:57 -07:00
Daniel A. Wozniak
3239877c78
Bump tornado to the newest version 6.3.2
2023-05-31 15:59:57 -07:00
faivirol
0ab0177629
update
2023-05-31 19:00:56 +00:00
faivirol
a0ca327de7
Clarify that it is execution modules that sync returners
2023-05-31 19:00:56 +00:00
Matthieu Boileau
a8591dd658
Update docstring for an outdated URL
2023-05-31 18:59:39 +00:00
Julian Dehm
8547e63306
lxd: include devices in container tests
2023-05-31 18:57:31 +00:00
Julian Dehm
ec3b208d76
[lxd]: fix container_create not creating devices other than of type disk
2023-05-31 18:57:31 +00:00
natalieswork
18cd662eb6
Merge branch 'master' into remove-azure
2023-05-31 11:02:44 -04:00
Pedro Algarvio
21bb7bdc9e
Merge pull request #64383 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-05-31 13:36:12 +01:00
Tanmoy037
2587905637
broken link removed
2023-05-30 18:59:24 +00:00
Pedro Algarvio
c10eb79954
Merge 3006.x into master
...
Conflicts:
* changelog/64226.fixed.md
* tests/pytests/unit/states/test_pip.py
2023-05-30 12:59:16 +01:00
Pedro Algarvio
8167cf84b8
Add @pytest.mark.flaky_jail
to tests/pytests/integration/ssh/test_ssh_setup.py::test_setup
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-30 07:03:12 +01:00
Megan Wilhite
fe0083720e
Update requests
2023-05-30 07:03:12 +01:00
Pedro Algarvio
264a52b88a
Fix nightly builds on the master branch
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-29 23:48:04 +01:00
Nicholas Hughes
51119c26dd
Merge branch 'master' into remove-azure
2023-05-26 11:19:48 -04:00
Pedro Algarvio
bb88243ff9
Only notify on nightly builds
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-26 07:22:42 +01:00
Felippe Burk
3cec258fcc
adding new slack notification on nightly workflow
...
Signed-off-by: Felippe Burk <burkf@vmware.com>
2023-05-26 07:22:42 +01:00
Natalie Lee
3f15094038
Merge branch 'remove-azure' of github.com:natalieswork/salt into remove-azure
2023-05-25 18:54:14 +00:00
Natalie Lee
f4112d94fb
rewording release note
2023-05-25 18:46:57 +00:00
Nicholas Hughes
03a4ed63b8
Merge branch 'master' into remove-azure
2023-05-25 12:32:33 -04:00
Natalie Lee
bb5f719e44
release note on azure extension
2023-05-25 15:26:03 +00:00
Natalie Lee
235cd93326
removing added pylint exception for unpacking-non-sequence pylint rule
2023-05-25 14:53:45 +00:00
Daniel A. Wozniak
23582dce20
The linter is not always right
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
356120f91a
Revert unwanted changes dependent on other PRs
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
5ad05c61cf
Fix up based on PR reviews
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
1f145c0f6e
Do not fail when cleaning up loop file handlers
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
117cd6861d
Add changelog for tornado upgrade
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
2e1097eac6
Fix cruft caught in review
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
4baea1a97b
Remove vendored tornado
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
e87bc38389
Try without the loop policy
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
9dcbea0d4b
Windows fix
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
486802f6dd
Fix more deltaproxy tests
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
ca241b75d4
Add back reporting of failed sub-proxies
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
094c2c16d8
Fix some windows tests
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
a2bebacc07
Remove cruft
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
4672a4dcdd
Work around for amazon linux 2 test dependency failure
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
b69152f31b
Docstring fixes
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
6a5e032214
Deltaproxy test fix
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
ade9da2703
Fix up pre-commit and lint
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
680301504f
Fix multimaster test
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
7727a43cc2
We're still generating 3006 changelogs for some reason
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
e237d5525e
Fix test on windows
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
c86993794f
Release 3006
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
f3bee7f70f
Remove un-needed file
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
38d1df3b46
Saltnado test fixes
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
574e6cd2c2
Add tornado to docs check pre-commit
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
d1f514ad76
More test fixes
2023-05-23 14:41:30 -07:00
Jenkins
97a77adc32
Swap for new ioloop for now
2023-05-23 14:41:30 -07:00
Jenkins
5c8550de75
Unit test fixes
2023-05-23 14:41:30 -07:00
Jenkins
4c4d017ddb
Test fix
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
1b28ce55a6
Fix docs
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
0c3ebc0795
New request context
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
166c07f6da
Get rid of RequestContext
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
a560f7c0f3
web.asynchronous should be replaced by gen.coroutine
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
5edd2259d8
Remove stack_context
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
79f240c2e9
Tornado 6.1
2023-05-23 14:41:30 -07:00
nicholasmhughes
41fe2c2b39
disable unpacking-non-sequence pylint rule
2023-05-23 15:10:39 -04:00
nicholasmhughes
bf40680835
disable unpacking-non-sequence pylint rule
2023-05-23 13:25:21 -04:00
Nicholas Hughes
a34d42b276
Merge branch 'master' into remove-azure
2023-05-23 11:04:16 -04:00
nicholasmhughes
5bb33125b8
update reqs... again... again
2023-05-23 11:03:38 -04:00
nicholasmhughes
fd88928562
update reqs... again
2023-05-23 09:56:49 -04:00
Pedro Algarvio
6d918e15a3
Drop Fedora 36 which has reached EOL
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
80ff2f662d
Skip tests/unit/{modules,states}/test_zcbuildout.py
on windows.
...
It needs special work on the golden images to get SSL to properly work.
These steps are required because the code being tested is using
`easy_install` which does not know how to get certificates from `certifi`.
Since `easy_install` is too old, and deprecated, the extra work is not
worth it, plus, they are still being tested on other platforms.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
f3edefc93a
Update to latest golden images
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
a81f58f37d
Define a variable for the path to shared-gh-workflows-context.yml
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
Pedro Algarvio
d933bec989
Try harder to detect what is the target release for changelog generation.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
natalieswork
7247f37e0f
fixes saltstack/salt#64322 adding change log
2023-05-22 16:50:28 -04:00
nicholasmhughes
e2d55c5322
update reqs
2023-05-22 16:45:26 -04:00
natalieswork
bd10d94449
removing references to Azure from existing files
2023-05-22 16:07:26 -04:00
Pedro Algarvio
eb71862449
Sometimes the first page does not have any results. Try next page if there's a next token.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:56:16 +00:00
Daniel A. Wozniak
9dffea3178
Check return code instead of stdout
2023-05-22 19:56:16 +00:00
Daniel A. Wozniak
cb396fe805
Ubuntu pkg tests run apt non-interactive mode.
...
Issue #64307
2023-05-22 19:56:16 +00:00
ScriptAutomate
bd57d085ad
Update banners and links
2023-05-22 19:56:16 +00:00
Eric Graham
83cadc12f5
Add New Line to Changelog
2023-05-22 19:56:16 +00:00
Eric Graham
724fc20824
Run Black Pre-Commit Step
2023-05-22 19:56:16 +00:00
Eric Graham
926270054d
Remove Silent Catch
2023-05-22 19:56:16 +00:00
Eric Graham
db1406a85f
Fix Changelog Typo
2023-05-22 19:56:16 +00:00
Eric Graham
a467c04d04
Clarify Failing Test Message; Search for Entire Log Line in caplog
2023-05-22 19:56:16 +00:00
Eric Graham
071a65fb10
Rename Global Logger log to logger in pip_state.py
2023-05-22 19:56:16 +00:00
Eric Graham
3c552ecb90
Add unit test for #64169
2023-05-22 19:56:16 +00:00
Eric Graham
aeaf55815a
Call global logger when catching pip.list exceptions in states.pip.installed
2023-05-22 19:56:16 +00:00
jeanluc
57608c0067
Fix x509_v2 unknown salt-internal kwargs
2023-05-22 19:56:16 +00:00
jeanluc
6503765b3f
Add test for issue 64232
2023-05-22 19:56:16 +00:00
Frode Gundersen
b91f363951
Update tests/pytests/unit/states/test_linux_acl.py
...
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-05-22 19:56:16 +00:00
Frode Gundersen
33e2538aa8
migrate unit_states_test_linux_acl to pytest
2023-05-22 19:56:16 +00:00
MKLeb
4896c90684
Address review comments (typos, docs)
2023-05-22 19:56:16 +00:00
MKLeb
75a93eefc3
Refactor the tools pkg repo
commands into a subdirectory
2023-05-22 19:56:16 +00:00
Pedro Algarvio
b713c3441b
Pass the LATEST_SALT_RELEASE
environment variables through to the VM
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:56:16 +00:00
Tanmoy037
82ba2a5da8
remove the header comment about masterless
2023-05-22 19:50:48 +00:00
natalieswork
df28d77fbc
adding .env to git ignore
2023-05-22 14:23:44 -04:00
natalieswork
15849a5911
removing azure code from repo
2023-05-22 14:21:25 -04:00
Alex Dehnert
b897734f4a
Add warning about effective rights mask
...
Group permission on the file should generally be at least as broad as
any file ACLs, to avoid ineffective ACLs and/or changes each time the
state is run.
2023-05-18 19:20:25 +00:00
Megan Wilhite
b2090e26bd
Merge branch 'master' into add-keyvalue-create_if_missing
2023-05-17 19:42:17 +00:00
pjcreath
7fc547faff
Move the mac_user._kcpassword unit test into the pytests directory.
...
Also fix a typo in the pytests README.
2023-05-15 20:46:34 +00:00
pjcreath
64def39282
Add changelog.
2023-05-15 20:46:34 +00:00
pjcreath
402aa367ed
Fix the password hashing function of mac_user.enable_auto_login
...
Fixes #64226
2023-05-15 20:46:34 +00:00
jeanluc
6867accbc4
Update versionadded
2023-05-15 20:45:48 +00:00
jeanluc
7ca76a8bea
Rename changelog files to .md
2023-05-15 20:45:48 +00:00
jeanluc
fceb58d543
Fix tests, return res dict
2023-05-15 20:45:48 +00:00
jeanluc
c76fdd638a
Reduce versionadded
...
in case it makes its way into 3006
2023-05-15 20:45:48 +00:00
jeanluc
b622d96a62
Return minion_id on success
...
This makes checking the response downstream more reliable.
2023-05-15 20:45:48 +00:00
jeanluc
0873ece26c
Add match runner
2023-05-15 20:45:48 +00:00
Nicholas Hughes
40ce1d1580
Merge branch 'master' into add-keyvalue-create_if_missing
2023-05-11 15:42:54 -04:00
nicholasmhughes
780d348bbc
remove explicit close
2023-05-11 15:39:35 -04:00
Marius Hoch
0cb3dc87e7
Fix two typos in the salt.state.cryptdev examples
2023-05-09 20:06:28 +00:00
hiteshbedre
f68e9616b9
corrected misleading comment
2023-05-09 20:05:23 +00:00
jeanluc
4d617dd44a
Add signed_by_[any|all]
parameters to gpg.verify
( #63168 )
...
* Add test for issue 63145
* Make gpg.verify respect gnupghome
* Add `signed_by_any`/`signed_by_all` params to gpg.verify
* Reconsider status check
* Fix tests
* Plug verification issue after status check reconsideration
Since missing pubkeys also cause the previous signature's
fingerprint to be overwritten, this would have led to
situations where the check could have passed when it
should not have.
* Cleanup logic
* Workaround python-gnupg issue
https://github.com/vsajip/python-gnupg/issues/214
* Adapt offical fix for workaround
ee94a7ecc1
That was very fast.
* Backport more meaningful test
* Update versionadded
* Avoid exception on import w/ missing gnupg lib
* Do not apply workaround on fixed versions
* Correct bool comparison
* Account for subkeys
sig_info["fingerprint"] contains the actual signing key's fingerprint,
which might be a subkey. The primary key's fingerprint is always found in
sig_info["pubkey_fingerprint"]. In cases where a signing subkey was
used, the intended behavior is still comparison with the primary key.
* Bump versionadded
* Rename changelog files to .md
2023-05-09 13:24:48 -06:00
Pedro Algarvio
6b1a49e341
Pull requests targeting master
should also trigger the logic.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
bf964ccd25
Create the release notes template(if missing)
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
0b0c29e79c
The master branch is now for 3007(Chlorine) development
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
4d2787c6af
Merge pull request #64247 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-05-08 17:44:45 +01:00
Pedro Algarvio
dfa273bc5e
Merge 3006.x into master
2023-05-06 08:37:41 +01:00
Shane Lee
b2e91cccba
Merge pull request #64245 from twangboy/fix_update_winrepo
...
[master] Update create-pull-request action to v5
2023-05-05 16:44:46 -06:00
Twangboy
e2d4a223cc
Update create-pull-request action to v5
2023-05-05 16:44:28 -06:00
Shane Lee
a02127f7db
Merge pull request #64244 from twangboy/fix_update_winrepo
...
[master] Fix update winrepo
2023-05-05 15:24:39 -06:00
Twangboy
0e89ac8050
Update python script to use load_yaml
2023-05-05 15:20:41 -06:00
Twangboy
5b69f6e5ed
Fix repo url
2023-05-05 15:18:04 -06:00
Dominik Gedon
5300cc451c
docs: small fixes for transactional update
...
This will fix some spellings and layout issues.
Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
2023-05-05 12:52:03 -07:00
Charles McMarrow
894c26780d
[master] dec doc m ( #64101 )
...
* master port
* add space
* Update CONTRIBUTING.rst
* Update writing_tests.rst
2023-05-03 14:31:45 -07:00
Pedro Algarvio
5a7854908f
Formatting fix
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-03 14:30:45 -07:00
Clay Sweetser
e8e033a8f7
Update py
renderer documentation with information on user-provided context
...
Update the `py` renderer's documentation to include information on how user-provided context data is typically presented.
2023-05-03 14:30:45 -07:00
Shea Craig
4fc4450bf0
[master] Fix issue 63779: Handle xattr.read unicode errors by mimicking builtin xattr ( #64039 )
...
* Handle xattr.read unicode errors by mimicking builtin xattr.
Uses `bytes.decode` argument `errors="replace"`
* Add changelog
* Add newline
* Add test for xattr.read and non-UTF-8 bytes.
* Fix line break
2023-05-02 18:32:51 -07:00
Twangboy
afcd6a8114
Fix test description
2023-05-02 07:14:09 +01:00
Twangboy
962f708c92
Write some tests
2023-05-02 07:14:09 +01:00
nicholasmhughes
8f0f4f1d3b
fixes saltstack/salt#64122 state_queue type checking does not allow int values
2023-05-02 07:14:09 +01:00
cmcmarrow
9a6ab55c3b
remove dead line
2023-05-01 08:37:17 +01:00
Pedro Algarvio
5be5cf890e
Merge pull request #64155 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-04-29 11:10:47 +01:00
Pedro Algarvio
c33b56281b
Merge 3006.x into master
...
Conflicts:
* doc/ref/configuration/minion.rst
2023-04-28 10:20:04 +01:00
Salt Project Packaging
cab551c697
Update the bootstrap script to v2023.04.26
2023-04-27 21:41:58 +01:00
nicholasmhughes
98ecf8d45c
fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode
2023-04-27 09:20:59 +01:00
Pedro Algarvio
99cb7c0e08
Add backports support
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-26 19:25:17 +01:00
joshmcorreia
639ba5613e
Fix incorrect reactor target
...
The documentation has an incorrect reactor target
The current documentation will cause the following error
```
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'data'
```
2023-04-25 11:55:45 +01:00
Pedro Algarvio
ad68e6b99d
Merge pull request #63712 from Airtonomy/fix-typo
...
[DOCS] Fix a small typo in `CONTRIBUTING.rst`.
2023-04-24 19:25:16 +01:00
Pedro Algarvio
14d62ec971
Merge pull request #63723 from joshmcorreia/patch-2
...
[DOCS] Fix typo "occurence" -> "occurrence" in ps module
2023-04-24 19:24:01 +01:00
Pedro Algarvio
2f6064de88
Merge pull request #63818 from OrangeDog/patch-12
...
Change saltenv description
2023-04-24 19:22:13 +01:00
Pedro Algarvio
5e177c0d90
Merge pull request #64127 from cmcmarrow/merge-forward/3006.x/master
...
[master] Merge forward/3006.x/master
2023-04-21 11:27:24 +01:00
cmcmarrow
13437829fc
Merge remote-tracking branch 'upstream/3006.x' into merge-forward/3006.x/master
2023-04-20 17:39:55 -05:00
Nicholas Hughes
d9e8dfa6b4
Merge branch 'master' into add-keyvalue-create_if_missing
2023-04-12 16:06:59 -04:00
Pedro Algarvio
da6403b722
Match Py3.11 requirements to Py3.10 requirements.
...
When we upgrade requirements, we upgrade on all possible Python
versions.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-12 06:47:29 +01:00
Daniel A. Wozniak
3caa552c64
Add python 3.11 to pkg and ci requirements
2023-04-12 06:47:29 +01:00
Nicholas Hughes
125275ffbf
Merge branch 'master' into add-keyvalue-create_if_missing
2023-04-06 06:01:00 -04:00
Derek Schaller
2bd55266c8
fix lint
2023-04-05 20:05:20 +00:00
Derek Schaller
7bafef9047
add changelog
2023-04-05 20:05:20 +00:00
Derek Schaller
2618bbb5c0
fix unit test and lint
2023-04-05 20:05:20 +00:00
Derek Schaller
fbac15ee92
use shutils / tests
2023-04-05 20:05:20 +00:00
Derek
9d5b65435b
macpackage state: cleanup temporary mountpoint dir
2023-04-05 20:05:20 +00:00
Julian Dehm
a17239e607
lxd: remove outdated monkey patch
2023-04-05 19:19:33 +00:00
nicholasmhughes
4730bea00b
fixes saltstack/salt#63982 aptpkg.latest_version calls apt-cache too much
2023-04-05 19:15:46 +00:00
nicholasmhughes
e4ba3fd7d2
add pkg.latest show installable version in test mode
2023-04-05 19:12:31 +00:00
nicholasmhughes
b93e9a9e2d
fixes saltstack/salt#63985 add pkg.installed show installable version in test mode
2023-04-05 19:12:31 +00:00
nicholasmhughes
9955845052
fixes saltstack/salt#63545 file.keyvalue should allow creating a file if it doesn't exist
2023-04-05 12:18:47 -04:00
Pedro Algarvio
eaeccf72c6
Merge pull request #64013 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-04-03 07:29:17 +01:00
Pedro Algarvio
7160266006
Merge 3006.x into master
2023-04-01 09:41:41 +01:00
Pedro Algarvio
70d6164770
Merge pull request #64002 from s0undt3ch/hotfix/merge-forward
...
[master] Merge 3006.x into master
2023-04-01 09:40:18 +01:00
Pedro Algarvio
4e8b725794
Merge 3006.x into master
2023-03-30 14:29:37 +01:00
Gareth J. Greenaway
8a1e4c120f
Ensure kwargs is passed along to _call_apt when passed into install function.
2023-03-28 05:06:43 +01:00
Pedro Algarvio
41a39417f8
Remaining test fixes regarding the recent GitHub RSA key change
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-28 05:06:43 +01:00
Daniel A. Wozniak
371a9243c0
Add missing deb package dependencies to docs
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
8462f04bff
Updating keys in known hosts file.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
017add2474
Updating the github.com fingerprint.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
5f62373cf9
Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
e88b4f7d90
grammar fixes.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
25ad71e934
Fixing typo.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
e195723514
Clarifying the documentation for extension_modules configuration option
2023-03-28 05:06:43 +01:00
Pedro Algarvio
26fe276a4d
Upgrade to relenv==0.10.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-28 05:06:43 +01:00
Thomas Phipps
14a0709271
fix 63724
2023-03-28 05:06:43 +01:00
Frode Gundersen
8da111674a
migrate test_swift to pytest
2023-03-28 05:06:43 +01:00
Frode Gundersen
f829deaf63
migrate test_haproxyconn to pytest
2023-03-28 05:06:43 +01:00
Frode Gundersen
3306e291a4
migrate test_config to pytest
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
0d249eed9a
adding changelog.
2023-03-28 05:06:43 +01:00
Gareth J. Greenaway
464ff358d6
Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available.
2023-03-28 05:06:43 +01:00
Pedro Algarvio
55b7c000e5
Stop re-running workflows using GitHub Actions.
...
The GitHub Actions Runners backend takes care of that.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-27 12:43:35 +01:00
joshmcorreia
5b152e5979
Fix typo "occurence" -> "occurrence"
2023-03-24 10:09:14 -07:00
Gareth J. Greenaway
0b73c80085
Merge pull request #63930 from s0undt3ch/hotfix/merge-forward
...
Merge 3006.x into master
2023-03-22 18:54:09 -07:00
Pedro Algarvio
d86d7338d8
Merge 3006.x into master
2023-03-22 15:09:39 +00:00
Pedro Algarvio
b6b6ccde7b
Merge pull request #63908 from s0undt3ch/hotfix/merge-forward
...
Merge 3006.x into master
2023-03-19 23:57:36 +00:00
Pedro Algarvio
73c1289490
Merge 3006.x into master
2023-03-19 18:39:26 +00:00
Pedro Algarvio
778d4f4633
Don't trigger scheduled jobs if requirements were not met
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:34:54 +00:00
Pedro Algarvio
8ac339f2be
For release it's an argument, not a flag
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:34:53 +00:00
Pedro Algarvio
3fe729c471
Query the GH Api authenticated if GITHUB_TOKEN
env variable is available
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:34:53 +00:00
Pedro Algarvio
c9c1e2414e
Don't delete the .release-backup-done
file
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:34:53 +00:00
Pedro Algarvio
3133b46807
Promote from staging to release based on a list of files instead of searching
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:34:53 +00:00
Pedro Algarvio
ff921f9b31
We no longer have to pass --rc-build
...
That can be inferred from the passed salt version.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:20:19 +00:00
Pedro Algarvio
56ac61af0d
Better handling of exception
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-19 18:20:19 +00:00
Pedro Algarvio
abc5d290e0
Merge pull request #63865 from s0undt3ch/hotfix/merge-forward
...
Merge 3006.x into master
2023-03-18 07:10:48 +00:00
Pedro Algarvio
57926865d6
Merge 3006.x into master
2023-03-17 12:43:48 +00:00
Alex Dehnert
585603c50e
Fix wayward uses of "RPM" in dpkg module
...
It looks like this function was added in commit 52ef17fa99
based on
(then) `salt/modules/rpm.py`, and the documentation was never fully
updated to reflect that it was now for .deb's, not RPMs.
2023-03-15 13:16:02 -06:00
Twangboy
e6d2e1390c
Use registry to detect VC Redist installation
2023-03-15 07:32:42 -06:00
Gareth J. Greenaway
3979168773
renaming 63699.fixed to 63699.fixed.md
2023-03-15 07:30:53 -06:00
Gareth J. Greenaway
3fcb1e225e
fix broken tests.
2023-03-15 07:30:53 -06:00
Gareth J. Greenaway
171a9e33d5
When removing hidden times and returning the data, make sure we're not updating the running schedule.
2023-03-15 07:30:53 -06:00
Gareth J. Greenaway
e34e2a8ea7
Check if _next_fire_tiem is less than or equal to now, eg. the time is now or has passed.
2023-03-15 07:30:53 -06:00
Gareth J. Greenaway
e786d60d78
Adding changelog.
2023-03-15 07:30:53 -06:00
Gareth J. Greenaway
cf441d46a9
When a job is disabled only increase it's _next_fire_time value if the job would have run at the current time, eg. the current _next_fire_time == now.
2023-03-15 07:30:53 -06:00
Dafydd Jones
c475db0b6f
add changelog
2023-03-15 07:30:15 -06:00
Dafydd Jones
6fe80c9ee6
feat(win_pkg): add debug logging for win_pkg.remove
2023-03-15 07:30:15 -06:00
Dafydd Jones
0d2b934823
test: debug logging for win_pkg.remove
2023-03-15 07:30:15 -06:00
Gareth J. Greenaway
7ecaca5c9b
Fixing inotify example in the beacons documentation.
2023-03-14 07:22:30 +00:00
Gareth J. Greenaway
98b151afc5
Merge pull request #63842 from MKLeb/hotfix/salt-run-in-spec-file
...
Update ssl shared object locations
2023-03-13 07:04:50 -07:00
Gareth J. Greenaway
b0eb60fe66
Merge pull request #63859 from Ch3LL/master_update_pkg_docs
...
Port #63832 to master
2023-03-10 10:49:06 -08:00
Gareth J. Greenaway
30570ad2bd
Merge pull request #63858 from Ch3LL/master_fix-rpm-ver
...
Port #63849 to master
2023-03-10 09:10:53 -08:00
Megan Wilhite
f49a88153b
Remove # in bash commands
2023-03-10 09:39:54 -07:00
Pedro Algarvio
3db7d31358
Only de-select build-source-tarball
if build-docs
is also False
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-10 09:39:48 -07:00
Megan Wilhite
b4ddd2624b
Implement Review Feedback
2023-03-10 09:39:39 -07:00
Megan Wilhite
903c1b4bf4
Implement requested feedback
2023-03-10 09:39:34 -07:00
Megan Wilhite
dafba12af6
Add documentation for onedir builds
2023-03-10 09:39:24 -07:00
Gareth J. Greenaway
365aa667e8
Merge pull request #63851 from whytewolf/salt-api_errors_master
...
porting #63836 to master
2023-03-10 08:36:03 -08:00
Megan Wilhite
ebfdf66845
Move the expected assertions to the correct place
2023-03-10 07:05:30 -07:00
Megan Wilhite
4f5435b589
Fix rpm_lowpkg version comparison logic when using rpm-vercmp
2023-03-10 07:05:22 -07:00
Twangboy
ec8ab6d688
Timestamp files to match git commit
2023-03-10 06:07:06 +00:00
Thomas Phipps
a34899f885
porting #63836 to master
2023-03-09 20:41:56 +00:00
Caleb Beard
2fbb30b668
Merge branch 'master' into hotfix/salt-run-in-spec-file
2023-03-09 12:33:27 -05:00
Twangboy
1d6379a759
Add back ssm.exe. It is needed for VMtools
2023-03-09 06:15:16 +00:00
Daniel A. Wozniak
6b9463836e
Remove un-needed 'scripts' property in setup.py
2023-03-09 06:12:41 +00:00
Pedro Algarvio
cbbcebd78f
Use requests
to download files
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
bd7bdd2eb9
Fix the bash comparisson
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
98a56353dd
Remove nox sessions and requirements files which are no longer necessary
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
f158710818
Switch to using our onedir to run the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
fe440b5d49
Try to get the VM environment from the instance tags
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
2e3b27e775
Allow jobs on forks which have self hosted runners setup.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
d64b74ff91
Default to not running scheduled builds on forks.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
Pedro Algarvio
01a465fa88
Trigger schedule(nightly) builds on non default branches
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-09 06:09:50 +00:00
MKLeb
a3293afcca
Add check for leftover old file locations when installing the packages
2023-03-08 17:16:45 -05:00
MKLeb
b644e2d25b
Update ssl shared object locations
2023-03-08 14:13:16 -05:00
Pedro Algarvio
2dbdea9065
Stop running tests on Jenkins, with the exception of the cloud tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-07 13:25:52 -07:00
Pedro Algarvio
4557dd0157
Drop Python 3.6 requirements files
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-07 13:25:52 -07:00
James Howe
52e795a0f5
Change saltenv description
...
I don't know what it's trying to say about "isolation" and it confuses a lot of people.
2023-03-06 13:06:05 +00:00
Pedro Algarvio
7cf39d8992
Fix dictionary key typo
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-06 13:05:40 +00:00
Timothy Warren
f34f21c517
Fix typo
2023-02-10 13:48:56 -05:00
Jamie Bliss
43f4eeb4ee
Merge branch '2018.3' into patch-3
2019-06-28 15:37:30 -04:00
Jamie Bliss
4bed6e90c7
Merge remote-tracking branch 'origin/2018.3' into patch-3
2019-06-26 16:24:57 -04:00
Jamie Bliss
f68568d6c3
Use @mchugh19's suggestion
2019-06-26 16:24:01 -04:00
Jamie Bliss
b5cec62be3
Rephrase and restructure better.
2019-06-01 20:44:43 -04:00
Jamie Bliss
8cbe82e039
Modular Systems: Document saltenvs and modules
2019-06-01 20:25:27 -04:00