left4me: assert nftables + systemd bundle membership

Catches misconfiguration at bw test time if a node attaches left4me
without those two bundles. Both contribute load-bearing metadata
materializers (nftables/output rules; systemd/units → unit files).
This commit is contained in:
CroneKorkN 2026-05-10 18:06:35 +02:00
parent a8fc3f2298
commit f9bf289ef0
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -1,3 +1,11 @@
assert node.has_bundle('nftables'), (
f'{node.name}: bundle left4me requires bundle nftables (uses nftables/output for srcds DSCP marking)'
)
assert node.has_bundle('systemd'), (
f'{node.name}: bundle left4me requires bundle systemd (declares units via systemd/units metadata)'
)
defaults = { defaults = {
'left4me': { 'left4me': {
'gunicorn_workers': 1, 'gunicorn_workers': 1,