X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Ftemplates%2Fobsolete-packages-ignore.d-hostspecific.erb;h=2c9429e04d9fd22baeacc58eb9058420eb8a3ad2;hb=ca313b295cb7aa28d76169c3172d6e5bbf00e8bc;hp=196f1833d9eb538bce34a22c0d7d77740e417efb;hpb=2ba026766b02ceea98285b507b303ba3cd0f080f;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb index 196f1833d..2c9429e04 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -3,4 +3,22 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## -# this fine intentially kept empty +<%= +ignore = [] +case @fqdn +when /draghi.debian.org/ then ignore << %w{userdir-ldap userdir-ldap-cgi libheimdal-kadm5-perl django-ldapdb ud python-cdb python-nameparser python-django-ldapdb} +when "handel.debian.org" then ignore << %w{puppet-dashboard} +when "reger.debian.org" then ignore << %w{librt-extension-commandbymail-perl} +when /(rainier|rapoport).debian.org/ then ignore << %w{rabbitmq-server} +when "sibelius.debian.org" then ignore << %w{tivsm-ba tivsm-bacit tivsm-api64 gskssl64 gskcrypt64 tivsm-api tivsm-apicit gskssl gskcrypt} +when /(storace|backuphost).debian.org/ then ignore << %w{postgresql-client-9.1 libssl1.0.0:amd64 postgresql-client-9.4} +end + +if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 + case @fqdn + when /(conova-node02|conova-node01).debian.org/ then ignore << %w{qemu-efi} + end +end + +ignore.flatten.join("\n") +%>