Commit graph

158 commits

Author SHA1 Message Date
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
David Murphy
73bb35d943 Correct bash-completion for Debian / Ubuntu 2024-09-18 15:08:12 -07:00
David Murphy
d3ad2520d3 Updated salt-syndic to utilize user/group for Salt (master settings), and maintain on upgrade 2024-09-09 13:30:49 -07:00
Daniel A. Wozniak
8dd2e3473c Merge branch '3006.x' into merge/3007.x/3006.x 2024-08-26 19:26:17 -07:00
Salt Project Packaging
b40833ed15
Release v3006.9 2024-07-29 07:51:58 +00:00
David Murphy
6319f9c981 Adjusting install, upgrade scripts 2024-07-15 14:21:02 -07:00
David Murphy
5ec86050ca Updated Debian and RPM to allow for correct ownership and systemd status 2024-07-15 14:21:02 -07:00
David Murphy
306e3ded4f WIP - Testing salt-master maintain ownership fixes 2024-07-15 14:21:02 -07:00
David Murphy
cb6802b35d WIP - testing rpm solution for ownership on upgrade 2024-07-15 14:21:02 -07:00
David Murphy
060b0d2e43 Ensure on rpm systems, that user and group for existing Salt, is maintained on upgrade 2024-07-15 14:21:02 -07:00
Daniel A. Wozniak
60cc8dbce8 Merge forward 3006.x into 3007.x 2024-06-21 23:53:49 -07:00
Daniel A. Wozniak
0958595262 Fix rpm provides and requires 2024-06-10 18:03:10 -07:00
Daniel A. Wozniak
79b4ffa116 Revert change to spec file 2024-06-10 18:03:10 -07:00
Salt Project Packaging
2b266935e4
Release v3007.1 2024-05-19 12:59:07 +00:00
Pedro Algarvio
44eb14b74c
Merge 3006.x into 3007.x 2024-05-02 14:19:16 +01:00
Salt Project Packaging
c5392cdbdb
Release v3006.8 2024-04-29 03:29:26 +00:00
Pedro Algarvio
90cfdc1143
Merge 3006.x into 3007.x 2024-04-24 12:19:15 +01:00
Daniel A. Wozniak
975c2a439b Package fix 2024-04-24 12:17:41 +01:00
Pedro Algarvio
7f98810ea6
Merge 3006.x into 3007.x 2024-03-28 13:50:44 +00:00
David Murphy
93dadb2116 Ensure symbolic links are created before using systemctl 2024-03-27 19:16:29 +00:00
David Murphy
61df4d8c86 Ensure path for systemctl to stop spoofing (security fix moved from classic spec) and debug helper scripts 2024-03-27 19:16:29 +00:00
David Murphy
53fce6957d Fix RedHat family systemd restart on upgrade, and updated tests 2024-03-27 19:16:29 +00:00
Salt Project Packaging
31c9d0df19
Release v3007.0 2024-03-03 07:00:21 +00:00
Pedro Algarvio
823886028b
Merge 3006.x into 3007.x 2024-02-21 19:14:47 +00:00
Salt Project Packaging
ce9d09bc9c
Release v3006.7 2024-02-20 22:04:07 +00:00
Pedro Algarvio
d5732b1611
Merge 3006.x into 3007.x 2024-02-15 14:03:35 +00:00
Shane Lee
62a58e3cca Handle upgrade scenario 2024-02-14 14:24:38 -07:00
Shane Lee
0021cb870d Fix the spec file for RPMs
Looked up the actual code for the macros being replaced
Made sure we're doing the proper if statements
Cleaned up the tests a little
2024-02-14 14:24:38 -07:00
ScriptAutomate
6fa6c86a47 Fix systemd scriptlet calls in RPMs 2024-02-14 14:24:38 -07:00
Pedro Algarvio
e5d3ef7ff7
Merge 3006.x into 3007.x 2024-02-01 09:00:02 +00:00
Salt Project Packaging
b1fa82b9a8
Release v3006.6 2024-01-26 12:06:14 +00:00
Pedro Algarvio
6bb31e2534 Fix source package build
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 16:58:39 -07: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
Pedro Algarvio
ab4b5e7ae9 Fix source package build
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-04 15:11:37 -07:00
Salt Project Packaging
257c067ef6
Release v3007.0rc1 2024-01-02 21:47:46 +00:00
Salt Project Packaging
0472fd381e
Release v3006.5 2023-12-12 18:03:35 +00:00
Felippe Burk
c5e9cc2d0d adding usermod, groupadd, useradd to requires for rpm
Signed-off-by: Felippe Burk <burkf@vmware.com>
2023-11-30 07:55:02 +00:00
Pedro Algarvio
b6caa71b6e Make sure PIP_CONSTRAINT is also set when building RPM's from source
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
5463132e9d Only generate the HMAC's for `libssl.so.1.1 and libcrypto.so.1.1` if those files exist.
Fixes #65581

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-20 21:17:51 +00:00
Barney Sowood
1abcf81601 Fix install of logrotate config for debian pkg
Fixes the install of logrotate config for the debian pkg
by moving file to pkg/common/logrotate/salt-common. File
is installed via salt-common.install file, which can't
rename files, only copy them to a directory, so we need to
rename the file and put it in a subdir of pkg/common.

Adds /etc/logrotate.d/salt-common to salt.common.conffiles to
ensure that dpkg will not overwrite configs modified by users.

Also updates RPM spec file for new location of logrotate config.

Config needs to be /etc/logrotate.d/salt-common as that is what
is used by 3005.x packages.
2023-11-03 06:46:00 +00:00
Salt Project Packaging
e37fbda4de Release v3006.4 2023-10-16 17:32:52 +00:00
Salt Project Packaging
8505972418
Release v3006.3 2023-09-06 17:02:29 +00:00
Daniel A. Wozniak
5a58aada3c Ignore un-packaged source files for source builds 2023-09-06 16:38:52 +00:00
Daniel A. Wozniak
a189dab40d Build an rpm with debug symbols 2023-09-06 16:38:52 +00:00
Barney Sowood
6bdbae00d7 Calculaate python version 2023-08-16 15:53:29 -07:00
Barney Sowood
215975bac0 Fix call to sys.stdout.flush() 2023-08-16 15:53:29 -07:00
Barney Sowood
76df410a36 Add support for fixing old pkg perms
Adds support for fixing old package (3006.0/3006.1) perms that used the
salt user too widely.
Without doing this, tests don't pass for upgrades.
2023-08-16 15:53:29 -07:00
Barney Sowood
5d3ffc9e77 Handle creation of /var/log/salt/key 2023-08-16 15:53:29 -07:00
Barney Sowood
194e1a4603 Create empty log for salt-api
Creates empty log for salt-api owned by salt user in same way we do for
the master and salt-cloud
2023-08-16 15:53:29 -07:00
Barney Sowood
25c5a8e8d8 Move log creation and chown to posttrans
Moves log creation for /var/log/salt/master and /var/log/salt/cloud
and setting ownership to salt:salt to the %posttrans scriplets.
Whilst using %post work fine for fresh installs, upgrading means that
the previous package %postun removes those files. Using %posttrans
ensures the logs are created at the end of the full install/upgrade
transaction.
2023-08-16 15:53:29 -07:00