bundles/icinga2: only nodes which have bundle:apt have unattended-upgrades (for now)
This commit is contained in:
parent
95ed5c6932
commit
dfbdbe73bd
1 changed files with 1 additions and 1 deletions
|
@ -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_any_bundle(['apt', 'c3voc-addons']):
|
||||||
object ScheduledDowntime "unattended_upgrades" {
|
object ScheduledDowntime "unattended_upgrades" {
|
||||||
host_name = "${monitored_node.name}"
|
host_name = "${monitored_node.name}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue