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 {}