bundles: code style improvements
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
2af911c29f
commit
f52df58517
24 changed files with 80 additions and 95 deletions
|
@ -17,11 +17,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/wide-dhcpv6/dhcp6c.conf'] = {
|
||||
'content_type': 'mako',
|
||||
|
@ -48,8 +48,8 @@ files['/etc/systemd/system/wide-dhcpv6-client.service'] = {
|
|||
|
||||
svc_systemd = {
|
||||
'wide-dhcpv6-client': {
|
||||
'running': should_be_running,
|
||||
'enabled': should_be_enabled,
|
||||
'running': SHOULD_BE_RUNNING,
|
||||
'enabled': SHOULD_BE_ENABLED,
|
||||
'needs': {
|
||||
'file:/etc/systemd/system/wide-dhcpv6-client.service',
|
||||
'file:/etc/wide-dhcpv6/dhcp6c.conf',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue