bundles/icinga2: 15min downtime is enough for unattended upgrades
This commit is contained in:
parent
5b19b2052d
commit
24373d0ac9
1 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ for rnode in sorted(repo.nodes):
|
||||||
'host': rnode.name,
|
'host': rnode.name,
|
||||||
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
|
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
|
||||||
'times': {
|
'times': {
|
||||||
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+30}',
|
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+15}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
elif (
|
elif (
|
||||||
|
@ -401,7 +401,7 @@ for rnode in sorted(repo.nodes):
|
||||||
'host': rnode.name,
|
'host': rnode.name,
|
||||||
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
|
'comment': f'Downtime for upgrade-and-reboot of node {rnode.name}',
|
||||||
'times': {
|
'times': {
|
||||||
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+30}',
|
DAYS_TO_STRING[day%7]: f'{hour}:{minute}-{hour}:{minute+15}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue