X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/805ab61e66fe3adb45e57f50e49b168d84a6a8b1..dbf7c55e6db5cfa92c0702bada70d4d9757fa39a:/cookbooks/apt/templates/default/hp.list.erb diff --git a/cookbooks/apt/templates/default/hp.list.erb b/cookbooks/apt/templates/default/hp.list.erb index 49449dd03..aa8fc7ee8 100644 --- a/cookbooks/apt/templates/default/hp.list.erb +++ b/cookbooks/apt/templates/default/hp.list.erb @@ -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 -%>