bundles/icinga2: only nodes which have bundle:apt have unattended-upgrades (for now)

This commit is contained in:
Franzi 2021-06-28 19:48:05 +02:00
parent 95ed5c6932
commit dfbdbe73bd
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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}"