) {
include "base_installation"
+ include "profile::fstab"
include "profile::mail"
include "profile::tools"
include "profile::xmr_stak"
include "profile::known_hosts"
+ include "profile::boinc"
+
+ 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:
notify => Notify_refresh["notify-backup-sshkey-change"]
mode => "0755",
}
- cron { "backup":
+ cron::job { "backup":
ensure => present,
command => $backup_script,
user => $user,
minute => 25,
- hour => 3,
+ hour => "3,15",
require => Concat[$backup_script],
}