bundlewrap/bundles/radvd/metadata.py

22 lines
370 B
Python

defaults = {
'apt': {
'packages': {
'radvd': {},
},
},
}
@metadata_reactor
def pppd(metadata):
if metadata.get('wide-dhcp6c/integrate-with-pppd', False):
return {
'pppd': {
'wait-until-stopped': {
'radvd.service',
},
}
}
return {}