X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Ftemplates%2Fobsolete-packages-ignore.d-hostspecific.erb;h=a1265ffe8dab2188863dc4000ca3487a93ecf475;hb=6b3f2197570ae91174b38c04329414c5166c8d05;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..a1265ffe8 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -5,7 +5,7 @@ <%= 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} @@ -14,8 +14,8 @@ when "sibelius.debian.org" then ignore << %w{tivs when /(storace|backuphost).debian.org/ then ignore << %w{postgresql-client-9.1} end -if @lsbmajdistrelease <= '8' - case fqdn +if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 + case @fqdn when /(acker|aagaard).debian.org/ then ignore << %w{qemu-efi} end end