15 lines
305 B
Python
15 lines
305 B
Python
|
files = {
|
||
|
'/etc/dhcp/dhcpd.conf': {
|
||
|
'content_type': 'mako',
|
||
|
'context': {
|
||
|
'dhcp_config': node.metadata.get('dhcpd'),
|
||
|
},
|
||
|
'needs': {
|
||
|
'pkg_apt:'
|
||
|
},
|
||
|
'triggers': {
|
||
|
'svc_systemd:isc-dhcp-server:restart',
|
||
|
},
|
||
|
},
|
||
|
}
|