bundles/icinga2: do not schedule downtimes for hosts which do not do unattended-upgrades
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-16 22:31:51 +01:00
parent 173746fe9c
commit 35abb92daf
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,5 +1,5 @@
% for monitored_node in sorted(monitored_nodes): % for monitored_node in sorted(monitored_nodes):
% if not monitored_node.dummy: % if monitored_node.has_bundle('apt'):
object ScheduledDowntime "unattended_upgrades" { object ScheduledDowntime "unattended_upgrades" {
host_name = "${monitored_node.name}" host_name = "${monitored_node.name}"