2020-11-14 10:47:44 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'radvd': {},
|
|
|
|
},
|
|
|
|
},
|
2020-12-21 08:50:15 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'radvd': {
|
|
|
|
'services': {
|
|
|
|
'RADVD PROCESS': {
|
|
|
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C radvd -c 1:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-14 10:47:44 +00:00
|
|
|
}
|
2020-11-15 08:56:06 +00:00
|
|
|
|
2020-12-18 15:30:17 +00:00
|
|
|
if node.has_bundle('pppd'):
|
|
|
|
defaults.update({
|
|
|
|
'pppd': {
|
|
|
|
'wait-until-stopped': {
|
|
|
|
'radvd.service',
|
|
|
|
},
|
2020-11-15 08:56:06 +00:00
|
|
|
}
|
2020-12-18 15:30:17 +00:00
|
|
|
})
|