bundlewrap/bundles/smartd/items.py

21 lines
432 B
Python
Raw Normal View History

files = {
'/etc/smartd.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:smartd:reload',
},
},
'/usr/local/share/icinga/plugins/check_smart': {
'mode': '0755',
},
}
svc_systemd = {
'smartd': {
'needs': {
'pkg_apt:smartmontools',
},
'enabled': None, # FIXME this is symlinked to smartmontools.service on bullseye
},
}