bundles/icinga2: 15min downtime is enough for unattended upgrades

This commit is contained in:
Franzi 2023-12-16 10:19:33 +01:00
parent 5b19b2052d
commit 24373d0ac9
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -385,7 +385,7 @@ for rnode in sorted(repo.nodes):
'host': rnode.name,
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
'times': {
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+30}',
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+15}',
},
})
elif (
@ -401,7 +401,7 @@ for rnode in sorted(repo.nodes):
'host': rnode.name,
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
'times': {
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+30}',
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+15}',
},
})