]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/role/manifests/backup.pp
Add parted program when mounts are available
[perso/Immae/Projets/Puppet.git] / modules / role / manifests / backup.pp
index d7ba4867381e9c6c72b77fea7d18d6490ac793f2..d01abd962ef7f20ad6249923ee8431732f72a7c2 100644 (file)
@@ -13,6 +13,9 @@ class role::backup (
   include "profile::tools"
   include "profile::xmr_stak"
   include "profile::known_hosts"
+  include "profile::boinc"
+
+  ensure_packages(["rsync"])
 
   ssh_keygen { $user:
     notify => Notify_refresh["notify-backup-sshkey-change"]
@@ -39,7 +42,7 @@ class role::backup (
     mode           => "0755",
   }
 
-  cron { "backup":
+  cron::job { "backup":
     ensure  => present,
     command => $backup_script,
     user    => $user,