]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add cron to update pacman keys
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 17 Mar 2018 09:48:34 +0000 (10:48 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 17 Mar 2018 11:06:03 +0000 (12:06 +0100)
modules/base_installation/manifests/cronie.pp

index 72f2d8f709b97b98566b8e54cd1123638fd336a8..e8d5dfd6980f2d2531963097e1b35893fdb513dc 100644 (file)
@@ -29,5 +29,12 @@ class base_installation::cronie inherits base_installation {
       user    => root,
       special => "reboot"
     }
+    cron { 'pacman_keys':
+      ensure  => present,
+      command => "pacman-key --populate archlinux",
+      user    => root,
+      minute  => "0",
+      hour    => "1",
+    }
   }
 }