]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/templates/default/hp.list.erb
Don't try and tune nr_requests on jakelong
[chef.git] / cookbooks / apt / templates / default / hp.list.erb
index 49449dd0384d48ac236f965ec670539f47028af7..aa8fc7ee8dfecdd67b380550dd20dbddbfd3e9da 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 < 14.04 -%>
+deb <%= @url %> precise/current non-free
+<% else -%>
+deb <%= @url %> trusty/current non-free
+<% end -%>