include "profile::xmr_stak"
include "profile::known_hosts"
include "profile::boinc"
+ include "profile::monitoring"
include "role::backup::postgresql"
- ensure_packages(["python", "python-pip"])
- package { "pylog2rotate":
- source => "git+https://github.com/avian2/pylog2rotate",
- ensure => present,
- provider => "pip3",
- require => Package["python-pip"],
- }
-
ensure_packages(["rsync"])
ssh_keygen { $user:
order => "$order_dirname-$order_part",
}
}
+
+ @profile::monitoring::local_service { "Last backup in $base is not too old":
+ local => {
+ check_command => "check_last_file_date!$base!14",
+ }
+ }
}
}