Commit graph

117212 commits

Author SHA1 Message Date
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
Pedro Algarvio
2e3f98a95c Add unit test to validate logic on calls to destroy()
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Pedro Algarvio
c94b36c441 Don't cache the file client at the class level
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Daniel A. Wozniak
3962fcd281 Add regression test for #64111
Test importing jinja files
2023-04-28 06:24:27 +01:00
Pedro Algarvio
3e5c06b4fb Don't cache the file client
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Pedro Algarvio
25821ae58a Make sure the file client is destroyed upon used
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Pedro Algarvio
1a63beb506 Add changelog file
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
Pedro Algarvio
13d571807c Add regression test for https://github.com/saltstack/salt/issues/64118
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
Pedro Algarvio
7f2650ae37 Drop **kwargs usage and be explicit about the supported keyword arguments.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
Massimiliano Torromeo
a747b034c3 fix passing wrong keyword arguments to cp.cache_file in pkg.installed with sources 2023-04-27 20:58:18 -07:00
Salt Project Packaging
cab551c697 Update the bootstrap script to v2023.04.26 2023-04-27 21:41:58 +01:00
MKLeb
89c858b854 changelog 2023-04-27 21:27:50 +01:00
MKLeb
9c7f819817 Move the systemd unit to salt-minion for salt-proxy 2023-04-27 21:27:50 +01:00
MKLeb
959ea4fc29 Move /etc/salt/proxy to the salt-minion debian package 2023-04-27 21:27:50 +01:00
Thomas Phipps
0f9ed5103d corrections number 2 2023-04-27 21:19:48 +01:00
Thomas Phipps
48e71b713a corrections 2023-04-27 21:19:48 +01:00
Thomas Phipps
a099e92bdc fix #63589 2023-04-27 21:19:48 +01:00
Twangboy
54be72064d Don't fail when registry.pol missing 2023-04-27 09:28:25 +01:00
Twangboy
4d52af1336 Join masters if it is a list 2023-04-27 09:25:45 +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
cmcmarrow
102b93a707 red 2023-04-27 09:20:06 +01:00
cmcmarrow
ae7e0d1b1a flacky jail most have label 2023-04-27 09:20:06 +01:00
Pedro Algarvio
99cb7c0e08 Add backports support
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-26 19:25:17 +01:00
David Murphy
e25da80c7e Test to check for passing of dunder globals outside of execution modules 2023-04-26 09:50:47 -07:00
David Murphy
b78d771454 Updated test 2023-04-26 09:50:47 -07:00
David Murphy
c63920b2f1 Remove extra value() in cp.py, leaving it to pillar usage 2023-04-26 09:50:47 -07:00
David Murphy
fdf905da6b Updated changelog to reflect reviewer changes 2023-04-26 09:50:47 -07:00
David Murphy
f86e6a935f Further refinement of use of dunder globals 2023-04-26 09:50:47 -07:00
David Murphy
44d5501388 Updates to code to handle NamedLoaderContext with dunder globals, per reviewer comments 2023-04-26 09:50:47 -07:00
David Murphy
25e9a5c706 Updated check and return if obj.value() if dict else empty dictionary 2023-04-26 09:50:47 -07:00
David Murphy
8c60ddb291 Updated as per reviewers comments 2023-04-26 09:50:47 -07:00
David Murphy
a1f54d9f27 Check NamedLoaderContext obj is not None, before creating a dictionary 2023-04-26 09:50:47 -07:00
Thomas Phipps
196023a086 fix #64082 2023-04-26 13:03:55 +01:00
Shane Lee
47a54696db
Merge pull request #64164 from cmcmarrow/pick_nichol_cmd_fix
[3006.x] Fix cmd.run doesn't output changes in test mode
2023-04-26 06:01:01 -06:00
Charles McMarrow
f0df597691
Merge branch '3006.x' into pick_nichol_cmd_fix 2023-04-25 21:52:58 -05:00
nicholasmhughes
62e438a4b6 fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode 2023-04-25 21:47:40 -05:00
joshmcorreia
b420772dfd 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'
```

(cherry picked from commit 639ba5613e)
2023-04-25 15:39:20 +01:00
Pedro Algarvio
4112f05b77 Bump to sqlparse>=0.4.4 due to https://github.com/advisories/GHSA-rrm6-wvj7-cwh2
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-25 12:14:52 +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
Timothy Warren
2771e9aae2 Fix typo
(cherry picked from commit f34f21c517)
2023-04-25 11:50:42 +01:00