]> WPIA git - infra.git/blobdiff - environments/production/manifests/site.pp
upd: launch apt-update at least daily
[infra.git] / environments / production / manifests / site.pp
index 92e033744c092caa36dc04838f5851e8b8a6b7d8..282d200f8ad5e1767e136495d98b758b86c189ee 100644 (file)
@@ -1,3 +1,10 @@
+class { 'apt':
+  update => {
+    frequency => 'daily',
+  },
+}
+Exec["apt_update"] -> Package <| |>
+
 node  cassiopeia {
   include container::contained
 if $signerLocation == 'self' {
@@ -5,7 +12,6 @@ if $signerLocation == 'self' {
 } else {
   include container::ssh
 }
-  class{'apt':}
   apt_key{ 'E643C483A426BB5311D26520A631B6AF9FD3DF94':
     source => 'http://deb.dogcraft.de/signer.gpg',
     ensure => 'present'