bundlewrap/bundles/smartd/items.py
Franzi 295ff72b4b
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/smartd: introduce, add to hosts where *we* need to keep track of disk health
2020-11-29 12:07:27 +01:00

21 lines
432 B
Python

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
},
}