left4me: terse bundle-membership asserts
This commit is contained in:
parent
7d3554f8a5
commit
5d69180466
1 changed files with 2 additions and 6 deletions
|
|
@ -1,9 +1,5 @@
|
||||||
assert node.has_bundle('nftables'), (
|
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')
|
||||||
)
|
|
||||||
assert node.has_bundle('systemd'), (
|
|
||||||
f'{node.name}: bundle left4me requires bundle systemd (declares units via systemd/units metadata)'
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue