system-config/roles
Ian Wienand 7f2e6f3325
roles/openafs-client: small overhaul of rpm builds
The main failure case for the openafs packages is when the images are
running an old kernel and upstream has moved on, and we only have
headers available for new kernels.  This usually indicates image
building is stuck.  This adds an inline check to make sure the running
kernel has headers available; if not it bails out with a clear
message.

When this does fail to build, we'd like to get some output of why the
service fails.  This adds an error handler to systemctl dump the
status on failure.

We can cleanup the build a bit to remove the centos7 builds now.

Finally, the log copying was broken -- the paths are different on
centos 8 and 9.  The extant "cp" would fail on centos8 and then the
chown would never run, so we wouldn't collect the build logs.  Make
this a find/cp pair too.

Change-Id: Iaa38357a8a683a474c38900f5dc322e088849416
2024-01-18 19:32:30 +11:00
..
bazelisk-build Remove obsolete Bazel spawn strategies 2021-05-07 11:06:15 +10:00
kerberos-client kerberos-client: remove kstart requirement on CentOS 2020-01-23 12:27:46 +11:00
openafs-client roles/openafs-client: small overhaul of rpm builds 2024-01-18 19:32:30 +11:00
puppet-install Remove Puppet 5 testing 2020-06-09 10:15:05 +10:00
set-hostname Split eavesdrop into its own playbook 2020-04-23 14:34:28 -05:00