Commit graph

1507 commits

Author SHA1 Message Date
Daniel A. Wozniak
6034b98413 Update changelog 2023-11-16 17:21:41 +00:00
Pedro Algarvio
3f3154ed41 Use `sha256 as the default hash_type`. It has been the default since Salt v2016.9
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Daniel A. Wozniak
be5ef66a3a Connect callback closes it's request channel 2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
84c6b703c2 Relenv 0.14.1 2023-11-14 17:52:21 +00:00
Daniel A. Wozniak
068c5e8777 Upgrade relenv to 0.14.0 2023-11-14 17:52:21 +00:00
David Murphy
1bbe6489fd Ensure quoted filespec when using egrep to allow for regex with selinux 2023-11-14 17:00:07 +00:00
MKLeb
e0e6546586 Add more coverage for the saltfile mixin and ensure passed CLI options take priority 2023-11-13 21:16:29 +00:00
ScriptAutomate
46f3e39332 Add Amazon Linux 2023; update Amazon Linux 2 AMI 2023-11-09 17:23:55 +00:00
David Murphy
024eb3f10b Added changelog for issue 2023-11-09 17:03:03 +00:00
Daniel A. Wozniak
5942fb296e Add changelog for 65400 fix 2023-11-07 13:04:53 -07:00
Barney Sowood
ffb8e84f60 Add changelog 2023-11-03 06:46:00 +00:00
Daniel A. Wozniak
096314341f Add changelog 2023-10-31 07:55:54 +00:00
David Murphy
1941ebe28e Move salt.ufw to correct location /etc/ufw/applications.d/ 2023-10-27 09:06:45 +01:00
twangboy
636eff5fda Add changelog 2023-10-24 14:59:53 -07:00
David Murphy
639ec023f1 Ensure sync from _grains occurs before attempting pillar compilation in case custom grain used in pillar file 2023-10-21 19:49:07 +01:00
MKLeb
02848e8710 move changelog to the correct location 2023-10-18 15:57:09 +01:00
Pedro Algarvio
13a8f69153 Fix bug from 2017, by removing unwanted comma.
fda41ede76 (diff-f6c5d53219e55de2e0d3321b81d1041965330dfd79f2f9eecb269df8ba829611R719)

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-16 14:00:47 -06:00
ScriptAutomate
f7e290deff Add support for Debian 12 2023-10-10 08:44:19 -07:00
Gareth J. Greenaway
6164155e24 Adding changelog. 2023-09-30 18:41:36 +01:00
jeanluc
93859b1e6c Improve error message with multiple string-valued state args 2023-09-27 12:38:48 +00:00
Pedro Algarvio
5241abd10a Bump to cryptography==41.0.4 due to https://github.com/advisories/GHSA-v8gr-m533-ghj9
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 21:03:45 +01:00
Clay Oster
667542ccbd Fix salt user login shell path in Debian packages
(cherry picked from commit f4efa4fb79)

# Conflicts:
#	pkg/tests/integration/test_salt_user.py
2023-09-24 21:01:13 +01:00
nicholasmhughes
165621c166 add negative tests for _getgrall 2023-09-21 10:40:58 -07:00
nicholasmhughes
0be8c475d9 add changlog entries 2023-09-21 10:40:58 -07:00
Megan Wilhite
7b8cb7697e Add changelog for int state ID issue 2023-09-18 19:05:30 +01:00
MKLeb
9f43707ea7 changelog 2023-09-17 13:03:38 +01:00
Gareth J. Greenaway
7f5f3c8015 Update 65179.fixed.md 2023-09-14 12:41:38 +00:00
Gareth J. Greenaway
f2511ff711 Ensure kwargs are sent along correctly to multiple sub proxies. 2023-09-14 12:41:38 +00:00
cmcmarrow
fdaccae476 add 65086 changelog 2023-09-12 19:57:04 +00:00
Thomas Phipps
2475f4fd14 rpm doenst need to check digest and signing when listing packages 2023-09-12 10:16:55 -07:00
MKLeb
d337303731 changelog 2023-09-12 10:15:31 -07:00
jeanluc
ab2a508761 Fix x509_v2 privkey handling/reporting, correct docs 2023-09-11 13:19:16 +01:00
Salt Project Packaging
8505972418
Release v3006.3 2023-09-06 17:02:29 +00:00
cmcmarrow
1fbc0ca564 clean up clean old remotes 2023-09-05 22:01:02 -07:00
jeanluc
0db673aff6 Fix creation of wildcard DNS in SAN in x509_v2 2023-09-05 19:33:37 +00:00
Megan Wilhite
05b10ec9cd
Merge pull request #65084 from garethgreenaway/65033_schedule_state_documentation
[3006.x] Allow schedule state module to update schedule when the minion is offline
2023-09-05 19:32:33 +00:00
twangboy
7c82945cb8 Add changelog 2023-08-31 14:30:32 -07:00
twangboy
32ca12b87f Add changelog 2023-08-30 19:35:30 +00:00
Gareth J. Greenaway
62ab889c71
Allow schedule state module to update schedule when the minion is offline 2023-08-29 14:39:46 -07:00
Daniel A. Wozniak
bb710a03f7 Add changelog for #64627 2023-08-28 19:13:54 +00:00
Daniel A. Wozniak
771abcb739 Syndic's async request channel is actually async 2023-08-28 07:42:41 +01:00
Daniel A. Wozniak
442796b011 Only return job results to originating master. 2023-08-26 19:44:17 +01:00
Megan Wilhite
3d4c25303c Ensure we raise an error when the name argument is invalid in pkgrepo.managed 2023-08-25 19:42:53 +00:00
Megan Wilhite
ba963a8806 Add ssh_auth.manage test and fix pre-commit 2023-08-25 15:35:26 +00:00
rittycat
b2ef44e62f Fix inconsistent use of args in ssh_auth.managed 2023-08-25 15:35:26 +00:00
Pedro Algarvio
717ae8089f Handle permissions access error when calling lsb_release with the salt user
```
[ERROR   ] [SaltMaster(id='master-NkEYGW')] An un-handled exception was caught by Salt's global exception handler:
CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 126.
Traceback (most recent call last):
  File "/usr/bin/salt-master", line 11, in <module>
    sys.exit(salt_master())
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/scripts.py", line 88, in salt_master
    master.start()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/cli/daemons.py", line 204, in start
    self.master.start()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/master.py", line 723, in start
    chan = salt.channel.server.PubServerChannel.factory(opts)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/server.py", line 721, in factory
    return cls(opts, transport, presence_events=presence_events)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/server.py", line 727, in __init__
    self.aes_funcs = salt.master.AESFuncs(self.opts)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/master.py", line 1233, in __init__
    self.mminion = salt.minion.MasterMinion(
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 974, in __init__
    self.opts = salt.config.mminion_config(
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/config/__init__.py", line 2332, in mminion_config
    opts["grains"] = salt.loader.grains(opts)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/__init__.py", line 1116, in grains
    ret = funcs[key]()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 159, in __call__
    ret = self.loader.run(run_func, *args, **kwargs)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 1245, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 1260, in _run_as
    return _func_or_method(*args, **kwargs)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/grains/core.py", line 2602, in os_data
    grains.update(_linux_distribution_data())
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/grains/core.py", line 2189, in _linux_distribution_data
    return _legacy_linux_distribution_data(grains, os_release, lsb_has_error)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/grains/core.py", line 2324, in _legacy_linux_distribution_data
    x.strip('"').strip("'") for x in _linux_distribution()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/platform.py", line 21, in linux_distribution
    return distro.name(), distro.version(best=True), distro.codename()
  File "/opt/saltstack/salt/lib/python3.10/site-packages/distro.py", line 287, in version
    return _distro.version(pretty, best)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/distro.py", line 741, in version
    self.lsb_release_attr('release'),
  File "/opt/saltstack/salt/lib/python3.10/site-packages/distro.py", line 903, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/opt/saltstack/salt/lib/python3.10/site-packages/distro.py", line 556, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/opt/saltstack/salt/lib/python3.10/site-packages/distro.py", line 1014, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/opt/saltstack/salt/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/opt/saltstack/salt/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 126.
```

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-25 13:57:39 +00:00
MKLeb
2cffe32721 changelog 2023-08-24 20:00:17 +00:00
Megan Wilhite
fb41af8032 Ensure runners properly save information to job cache 2023-08-24 09:55:29 +01:00
MKLeb
506e84b1b7 changelog 2023-08-23 09:03:34 +01:00
Pablo Suárez Hernández
53a19511cd Add changelog file 2023-08-21 19:29:35 +00:00