diff options
author | Pascal Terjan <pterjan@mageia.org> | 2025-06-28 19:03:24 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2025-06-28 19:03:24 +0000 |
commit | fb086940d9d4244ab058697dc43e7f7e723f0c0a (patch) | |
tree | 7772f323af704027850b9af6bc885a1e6ace117a | |
parent | ec77ab64dc8a327fd0d699c5e0e57a90c53a63c7 (diff) | |
download | puppet-master.tar puppet-master.tar.gz puppet-master.tar.bz2 puppet-master.tar.xz puppet-master.zip |
-rw-r--r-- | modules/youri-check/manifests/init.pp | 6 |
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, |