From dfbdbe73bd6ab279ae1136fd85aa3cf14501d83c Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 28 Jun 2021 19:48:05 +0200 Subject: [PATCH] bundles/icinga2: only nodes which have bundle:apt have unattended-upgrades (for now) --- bundles/icinga2/files/icinga2/downtimes.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/icinga2/files/icinga2/downtimes.conf b/bundles/icinga2/files/icinga2/downtimes.conf index 421ffd8..f0febda 100644 --- a/bundles/icinga2/files/icinga2/downtimes.conf +++ b/bundles/icinga2/files/icinga2/downtimes.conf @@ -1,5 +1,5 @@ % for monitored_node in sorted(monitored_nodes): -% if not monitored_node.dummy: +% if monitored_node.has_any_bundle(['apt', 'c3voc-addons']): object ScheduledDowntime "unattended_upgrades" { host_name = "${monitored_node.name}"