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=0f51d271af05aadcd1e95ad8359634a3882bcf88;hp=f307ec6effb624bf3121a40bb414406ffea801b7;hpb=9ca657d08fdd45d8771d77e4100128d17904609b;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 f307ec6ef..2c9429e04 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -5,18 +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 /(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