Commit graph

119712 commits

Author SHA1 Message Date
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
Daniel A. Wozniak
d7549bd155 Fix docstring 2023-12-10 21:06:45 -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
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