From 2c07d5039e8884dfe0d869c5e39dfe2f44dc83c0 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 26 Feb 2017 09:39:40 +0100 Subject: [PATCH] ignore old puppet-common on stretch hosts --- .../templates/obsolete-packages-ignore.d-hostspecific.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb index 9f97d63f9..d75b95c88 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -15,5 +15,9 @@ when /(storace|backuphost).debian.org/ then ignore << %w{post when /(sompek|stadler).debian.org/ then ignore << %w{libsbuild-perl buildd sbuild} end +if @lsbmajdistrelease >= '9' +ignore << %w{puppet-common} +end + ignore.flatten.join("\n") %> -- 2.20.1