bundlewrap/bundles/lldp/items.py

29 lines
484 B
Python
Raw Normal View History

directories = {
'/etc/lldpd.d': {
'purge': True,
'triggers': {
'svc_systemd:lldpd:restart',
},
},
}
files = {
2021-02-18 14:10:50 +00:00
'/etc/lldpd.conf': {
'delete': True,
},
'/etc/lldpd.d/bundlewrap.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:lldpd:restart',
},
},
}
svc_systemd = {
'lldpd': {
'needs': {
'file:/etc/lldpd.d/bundlewrap.conf',
},
},
}