X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Ftemplates%2Fobsolete-packages-ignore.d-hostspecific.erb;h=963019b5b357b63806065c4f2e8f7dc3e6d5f090;hb=0e95fbdd080c4c7156bf2c4f938c0b85629a3981;hp=813d7e639da442a09f67db2adcba4ec1b7b8ae71;hpb=16eed32a3024a77e67ff9cab8e0126d3777484d1;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 813d7e639..963019b5b 100644 --- a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb +++ b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb @@ -1,37 +1,23 @@ ## ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. -## USE then git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## <%= ignore = [] -case fqdn -when "bellini.debian.org" then ignore << "mcelog" -when "cilea.debian.org" then ignore << "/freeswitch.*/" -when /draghi.debian.org/ then ignore << %w{userdir-ldap userdir-ldap-cgi libheimdal-kadm5-perl django-ldapdb} -when /orff.debian.org/ then ignore << %w{libnet-dns-sec-perl libnet-dns-zone-parser-perl} -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).debian.org/ then ignore << "samhain" -when "franck.debian.org" then ignore << %w{python-apt} -when /(abel|arnold|alain|alwyn|antheil|arne).debian.org/ then ignore << %w{flash-kernel linux-firmware-image} -when /harris.debian.org/ then ignore << %w{flash-kernel kernel linux-firmware-image} -when /(hasse|hebden|henze|hildegard|howells|hummel|hoiby).debian.org/ then ignore << %w{flash-kernel kernel linux-firmware-image} -when /(parry|partch|piston).debian.org/ then ignore << "yaboot" -when "grieg.debian.org" then ignore << %w{dpkg} -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 /(pasquini|tristano).debian.org/ then ignore << %w{ganeti-instance-image} +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 -case fqdn -when /geo[123].debian.org/ then ignore << %w{geoip-database} -end - -if fqdn == "arne.debian.org" - ignore << %w{/linux-headers-.*/} +if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 + case @fqdn + when /(conova-node02|aagaard).debian.org/ then ignore << %w{qemu-efi} + end end ignore.flatten.join("\n")