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=177350d84918f8cd64fa304ee9b5c55a1952a17d;hp=b78e33d946cf2618383db90d56a4749b47211692;hpb=9256d1252b65cf11561181642a45105a4654253e;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 b78e33d94..2c9429e04 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -5,36 +5,19 @@ <%= 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} -when /(zandonai|zelenka).debian.org/ then ignore << %w{samhain zabbix-agent rrdcollect} -when /zappa.debian.org/ then ignore << %w{samhain} -when /(mayer|corelli).debian.org/ then ignore << "linux-base" -when /(alkman|caballero|merulo|mundy|zani).debian.org/ then ignore << "samhain" -when "franck.debian.org" then ignore << %w{python-apt} -when /(abel|arnold|antheil).debian.org/ then ignore << %w{flash-kernel linux-firmware-image} -when /(asachi|arm-linaro-01|arm-linaro-03).debian.org/ then ignore << "flash-kernel" -when /harris.debian.org/ then ignore << %w{flash-kernel kernel linux-firmware-image} -when /(hartmann|hasse|henze|hoiby).debian.org/ then ignore << %w{flash-kernel kernel linux-firmware-image} -when /(parry|partch).debian.org/ then ignore << "yaboot" -when "blavet.debian.org" then ignore << %w{dpkg-dev libdpkg-perl dpkg} +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 /(pasquini|tristano).debian.org/ then ignore << %w{ganeti-instance-image} -when "zemlinsky.debian.org" then ignore << %w{initramfs-tools} -when "sibelius.debian.org" then ignore << %w{tivsm-ba tivsm-api64 gskssl64 gskcrypt64 tivsm-api gskssl gskcrypt} -when "vogler.debian.org" then ignore << %w{repro libresiprocate-1.9 resiprocate-turn-server} -when /(mailly|muffat).debian.org/ then ignore << %w{python-dsa-mq} -when /(csail|grnet)-node(01|02).debian.org/ then ignore << %w{openvswitch-switch openvswitch-common} +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 -case fqdn -when /geo[123].debian.org/ then ignore << %w{geoip-database} -end - -case fqdn -when /((csail|grnet)-node(01|02)|powell|bm-bl1).debian.org/ then ignore << %w{ganeti-os-noop} +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")