bundles/icinga2: more auto-generation of stuff
This commit is contained in:
parent
7df6b1d13a
commit
d1bb94fd74
2 changed files with 35 additions and 35 deletions
|
@ -275,23 +275,6 @@ files = {
|
|||
'mode': '0660',
|
||||
'group': 'icingaweb2',
|
||||
},
|
||||
|
||||
# Statusmonitor
|
||||
'/etc/icinga2/icinga_statusmonitor.py': {
|
||||
'triggers': {
|
||||
'svc_systemd:icinga_statusmonitor:restart',
|
||||
},
|
||||
},
|
||||
'/etc/systemd/system/icinga_statusmonitor.service': {
|
||||
'triggers': {
|
||||
'action:systemd-reload',
|
||||
'svc_systemd:icinga_statusmonitor:restart',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
pkg_pip = {
|
||||
'easysnmp': {}, # for check_usv_snmp
|
||||
}
|
||||
|
||||
actions = {
|
||||
|
@ -337,13 +320,6 @@ svc_systemd = {
|
|||
'icinga2': {
|
||||
'needs': icinga_run_deps,
|
||||
},
|
||||
'icinga_statusmonitor': {
|
||||
'needs': {
|
||||
'file:/etc/icinga2/icinga_statusmonitor.py',
|
||||
'file:/etc/systemd/system/icinga_statusmonitor.service',
|
||||
'pkg_apt:python3-flask',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue