Compare commits
2 commits
40a9ac4523
...
5b2e5fc838
Author | SHA1 | Date | |
---|---|---|---|
Franzi | 5b2e5fc838 | ||
Franzi | 5df546754f |
|
@ -42,9 +42,12 @@ try:
|
||||||
datetime.fromtimestamp(last_snap).strftime('%Y-%m-%d %H:%M:%S'),
|
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)
|
exit(2)
|
||||||
elif delta > DAY_SECONDS:
|
elif delta > (DAY_SECONDS * 2):
|
||||||
exit(1)
|
exit(1)
|
||||||
else:
|
else:
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
|
@ -79,7 +79,7 @@ pkg_pacman = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if node.metadata.get('pacman/install_gui', False):
|
if node.metadata.get('pacman/install_gui', False):
|
||||||
pkg_pacman = {
|
pkg_pacman.update({
|
||||||
'fish': {},
|
'fish': {},
|
||||||
'netctl': {},
|
'netctl': {},
|
||||||
'rfkill': {},
|
'rfkill': {},
|
||||||
|
|
Loading…
Reference in a new issue