Commit graph

113 commits

Author SHA1 Message Date
Salt Project Packaging
b40833ed15
Release v3006.9 2024-07-29 07:51:58 +00:00
David Murphy
6b0690e5af Remove debug output from shell scripts for packaging 2024-07-25 14:51:49 -07:00
David Murphy
82070dc46d Cleanup of debug, and revision of tests 2024-07-15 14:21:02 -07:00
David Murphy
18a4dd8282 Update to allow for systemctl daemon-reload after installing new packages 2024-07-15 14:21:02 -07:00
David Murphy
b44bd4be78 Fix typo's and parsing of RESLT 2024-07-15 14:21:02 -07:00
David Murphy
fc428ef22f Updated templates for systemd api, master and minion 2024-07-15 14:21:02 -07:00
David Murphy
ead4d3b90c More idea testing 2024-07-15 14:21:02 -07:00
David Murphy
161e23f3e5 Testing some ideas 2024-07-15 14:21:02 -07:00
David Murphy
665451d3cf Testing debconf with salt-minion 2024-07-15 14:21:02 -07:00
David Murphy
840e22c734 Further updates for Debian post install scripts 2024-07-15 14:21:02 -07:00
David Murphy
0b2eb2db8f Install fixes 2024-07-15 14:21:02 -07:00
David Murphy
6319f9c981 Adjusting install, upgrade scripts 2024-07-15 14:21:02 -07:00
David Murphy
f9bd4ad1b6 Updated preinst and initial downgrade and upgrade salt-master tests 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
949e30cc74 Fixed typo 2024-07-15 14:21:02 -07:00
David Murphy
d3e0bf3437 Fixed issues in pre and post install for salt-master 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
Salt Project Packaging
c5392cdbdb
Release v3006.8 2024-04-29 03:29:26 +00:00
David Murphy
78625d8db7 Add leading slash to salt helper file paths as per dh_links requirement 2024-03-28 10:12:22 +00:00
Salt Project Packaging
ce9d09bc9c
Release v3006.7 2024-02-20 22:04:07 +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
Salt Project Packaging
0472fd381e
Release v3006.5 2023-12-12 18:03:35 +00:00
David Murphy
d891daa222 Ensure any pre-exiting incorrect ufw directory /etc/ufw/applications.d/salt-master is removed 2023-11-04 06:24:42 +00:00
David Murphy
90fe04b304 Adjust break in control file to 3006.4, for updated salt-common commit b3fcdf8 2023-11-03 18:30:04 +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
Pedro Algarvio
16dce0b4cc
Merge v3006.4 into 3006.x 2023-10-29 09:24:34 +00:00
David Murphy
d683fade39 Updated salt-master install and test for ufw 2023-10-27 09:06:45 +01:00
David Murphy
51a4a3ba5b WIP packaging test for salt.ufw 2023-10-27 09:06:45 +01:00
David Murphy
1941ebe28e Move salt.ufw to correct location /etc/ufw/applications.d/ 2023-10-27 09:06:45 +01:00
Salt Project Packaging
e37fbda4de Release v3006.4 2023-10-16 17:32:52 +00:00
MKLeb
b52f1b3b60 Update breaks statements to be <=3006.3 2023-09-11 21:41:05 +01:00
MKLeb
6795de1e43 Force salt-common to create /etc/salt 2023-09-11 21:41:05 +01:00
MKLeb
2077995108 Allow getting the latest 3005 release from GH releases, we are publishing them consistently now 2023-09-11 21:41:05 +01:00
MKLeb
6f5fc9ba18 Add Breaks for salt-ssh and salt-cloud 2023-09-11 21:41:05 +01:00
MKLeb
1518b9617c Fix windows downgrade tests 2023-09-11 21:41:05 +01:00
MKLeb
65a9522409 Fix breaks and replaces conditions in debian control file 2023-09-11 21:41:05 +01:00
MKLeb
ad93c28386 Finally fix the debian downgrade tests, and hopefully fix the 3006.1 upgrades 2023-09-11 21:41:05 +01:00
MKLeb
b3fcdf8bfd Move /etc/salt/cloud and /etc/salt/roster to salt-cloud and salt-ssh packages respectively 2023-09-11 21:41:05 +01:00
MKLeb
79096a5118 Fix the debian upgrade problem from 3006.0 to 3006.1 or later versions 2023-09-11 21:41:05 +01:00
Salt Project Packaging
8505972418
Release v3006.3 2023-09-06 17:02:29 +00:00
Daniel A. Wozniak
d8721e5cd5 Add debug debian package 2023-09-06 16:38:52 +00:00
Barney Sowood
a1188e2d5f Don't change ownership of /etc/salt/minion.d
No longer changes ownership of /etc/salt/minion.d to salt user for the
salt-master. Requires #64219 to be resolved.
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
ae40410dee Ensure salt-api service is enabled
Ensure salt-api service is enabled now we've added a postinst script
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
da6cfc99ab Reduce perms for salt user on other salt dirs
Reduces the permissions granted to the salt user used to run the
salt-master:

* Under /etc/salt limit ownership to  /etc/salt/pki/master and
  /etc/salt/master.d
* Until #64219 is resolved also include /etc/salt/minion.d
* Under /var/cache/salt and /var/run/salt only give ownership on
  master directories
* Under /var/log/salt, ensure /var/log/salt/master exists and give
  ownership oof that. Also update logrotate config to create that with
  correct ownership and perms and install that on debian packages.
2023-08-16 15:53:29 -07:00