2020-11-14 10:34:16 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'wide-dhcpv6-client': {},
|
|
|
|
},
|
|
|
|
},
|
2021-06-03 11:59:15 +00:00
|
|
|
'nftables': {
|
|
|
|
'rules': {
|
2021-12-14 13:03:13 +00:00
|
|
|
'10-wide-dhcp6c': [
|
|
|
|
'inet filter input udp dport { 546, 547 } ip6 saddr ff00::/12 accept',
|
|
|
|
'inet filter input udp dport { 546, 547 } ip6 saddr fe80::/10 accept',
|
|
|
|
],
|
2020-11-14 10:34:16 +00:00
|
|
|
},
|
|
|
|
},
|
2020-12-21 08:50:15 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'wide-dhcp6c': {
|
|
|
|
'services': {
|
|
|
|
'WIDE-DHCP6CD PROCESS': {
|
|
|
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C dhcp6c -c 1:',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-14 10:34:16 +00:00
|
|
|
'wide-dhcp6c': {
|
|
|
|
'subnet_len': '8',
|
|
|
|
},
|
|
|
|
}
|
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': {
|
|
|
|
'wide-dhcpv6-client.service',
|
|
|
|
},
|
2020-11-15 08:56:06 +00:00
|
|
|
}
|
2020-12-18 15:30:17 +00:00
|
|
|
})
|