Compare commits
No commits in common. "5b2e5fc8388c7ed64e34936f328ca6550184f04f" and "40a9ac4523c22bad7007bbfead4bd1d5b0deec18" have entirely different histories.
5b2e5fc838
...
40a9ac4523
2 changed files with 3 additions and 6 deletions
|
@ -42,12 +42,9 @@ try:
|
||||||
datetime.fromtimestamp(last_snap).strftime('%Y-%m-%d %H:%M:%S'),
|
datetime.fromtimestamp(last_snap).strftime('%Y-%m-%d %H:%M:%S'),
|
||||||
))
|
))
|
||||||
|
|
||||||
# One day without backups is still okay. There may be fluctuations
|
if delta > (DAY_SECONDS * 2):
|
||||||
# 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 * 2):
|
elif delta > DAY_SECONDS:
|
||||||
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.update({
|
pkg_pacman = {
|
||||||
'fish': {},
|
'fish': {},
|
||||||
'netctl': {},
|
'netctl': {},
|
||||||
'rfkill': {},
|
'rfkill': {},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue