bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-12 20:37:36 +01:00
parent 2af911c29f
commit f52df58517
Signed by: kunsi
GPG key ID: 12E3D2136B818350
24 changed files with 80 additions and 95 deletions

View file

@ -9,11 +9,11 @@ if node.has_bundle('pppd'):
}
# Will be started and stopped by pppd.
should_be_running = None
should_be_enabled = False
SHOULD_BE_RUNNING = None
SHOULD_BE_ENABLED = False
else:
should_be_running = True
should_be_enabled = True
SHOULD_BE_RUNNING = True
SHOULD_BE_ENABLED = True
files['/etc/radvd.conf'] = {
'content_type': 'mako',
@ -27,8 +27,8 @@ files['/etc/radvd.conf'] = {
svc_systemd = {
'radvd': {
'running': should_be_running,
'enabled': should_be_enabled,
'running': SHOULD_BE_RUNNING,
'enabled': SHOULD_BE_ENABLED,
'needs': {
'file:/etc/radvd.conf',
},