]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/templates/default/hp.list.erb
Drop unused brightbox-ruby-ng repository from ridley
[chef.git] / cookbooks / apt / templates / default / hp.list.erb
index 49449dd0384d48ac236f965ec670539f47028af7..f76d66efbf564cc56856c87e498170e97fde6f12 100644 (file)
@@ -1,3 +1,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-deb <%= @url %> <%= node.lsb.codename %>/current non-free
+<% if node[:lsb][:release].to_f >= 16.04 -%>
+deb <%= @url %> xenial/current non-free
+<% else -%>
+deb <%= @url %> trusty/current non-free
+<% end -%>