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=ded933abb3cb77fa843fcadb767f6f3959f2ae83;hp=9f5a806c27ef101d637bdf111c75256ff210e807;hpb=e5fdbdee4e9211ed20929592109729dbcfa8901f;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 9f5a806c2..2c9429e04 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -5,19 +5,18 @@ <%= ignore = [] -case fqdn +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} -when /(sompek|stadler).debian.org/ then ignore << %w{libsbuild-perl buildd sbuild} +when /(storace|backuphost).debian.org/ then ignore << %w{postgresql-client-9.1 libssl1.0.0:amd64 postgresql-client-9.4} end -if @lsbmajdistrelease <= '8' - case fqdn - when /(acker|aagaard).debian.org/ then ignore << %w{qemu-efi} +if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 + case @fqdn + when /(conova-node02|conova-node01).debian.org/ then ignore << %w{qemu-efi} end end