projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debian.restricted.list apt source on hosts without proliant raid
[mirror/dsa-puppet.git]
/
modules
/
nagios
/
templates
/
obsolete-packages-ignore.d-hostspecific.erb
diff --git
a/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb
b/modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb
index
8f81582
..
a1265ff
100644
(file)
--- a/
modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb
+++ b/
modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb
@@
-14,7
+14,7
@@
when "sibelius.debian.org" then ignore << %w{tivs
when /(storace|backuphost).debian.org/ then ignore << %w{postgresql-client-9.1}
end
when /(storace|backuphost).debian.org/ then ignore << %w{postgresql-client-9.1}
end
-if
@lsbmajdistrelease <= '8'
+if
scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0
case @fqdn
when /(acker|aagaard).debian.org/ then ignore << %w{qemu-efi}
end
case @fqdn
when /(acker|aagaard).debian.org/ then ignore << %w{qemu-efi}
end