Commit graph

118225 commits

Author SHA1 Message Date
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
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