aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2025-06-28 19:03:24 +0000
committerPascal Terjan <pterjan@mageia.org>2025-06-28 19:03:24 +0000
commitfb086940d9d4244ab058697dc43e7f7e723f0c0a (patch)
tree7772f323af704027850b9af6bc885a1e6ace117a
parentec77ab64dc8a327fd0d699c5e0e57a90c53a63c7 (diff)
downloadpuppet-master.tar
puppet-master.tar.gz
puppet-master.tar.bz2
puppet-master.tar.xz
puppet-master.zip
Update Age check for new mass rebuildHEADmaster
-rw-r--r--modules/youri-check/manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp
index aef33d17..1a992113 100644
--- a/modules/youri-check/manifests/init.pp
+++ b/modules/youri-check/manifests/init.pp
@@ -40,9 +40,9 @@ class youri-check {
$pgsql_server = $base::pgsql_server
$pgsql_user = "youri${version}"
$pgsql_password = extlookup('youri_pgsql','x')
- # We want to alert to packages older than last mass rebuild
- # 1646092800 is 2022-03-01 (get it with "TZ=UTC date -d2022-03-01 +%s")
- $max_days = (time() - 1646092800)/(24*3600)
+ # We want to alert for packages older than the cut-off for latest mass rebuild
+ # 1745605215 is 2025-04-25
+ $max_days = (time() - 1745605215)/(24*3600)
file { "${config}":
ensure => present,