Compare commits

...

2 Commits

Author SHA1 Message Date
Franzi 5b2e5fc838
bundles/backup-server: do not alert for one missing day of backups
kunsi/bundlewrap/pipeline/head There was a failure building this commit Details
2022-01-09 08:26:08 +01:00
Franzi 5df546754f
bundles/pacman: fix install_gui package definition 2022-01-09 08:23:59 +01:00
2 changed files with 6 additions and 3 deletions

View File

@ -42,9 +42,12 @@ try:
datetime.fromtimestamp(last_snap).strftime('%Y-%m-%d %H:%M:%S'),
))
if delta > (DAY_SECONDS * 2):
# One day without backups is still okay. There may be fluctuations
# because of transfer speed, amount of data, changes in backup
# schedule etc.
if delta > (DAY_SECONDS * 3):
exit(2)
elif delta > DAY_SECONDS:
elif delta > (DAY_SECONDS * 2):
exit(1)
else:
exit(0)

View File

@ -79,7 +79,7 @@ pkg_pacman = {
}
if node.metadata.get('pacman/install_gui', False):
pkg_pacman = {
pkg_pacman.update({
'fish': {},
'netctl': {},
'rfkill': {},