From: Grant Slater Date: Sat, 15 Aug 2015 15:40:24 +0000 (+0100) Subject: Update HP apt repo X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8a0430ab542eec954baa48b4f55813e05b382ec6?hp=85aa3cddd6f386369cae97a9f5e35361373075c5 Update HP apt repo --- diff --git a/cookbooks/apt/templates/default/hp.list.erb b/cookbooks/apt/templates/default/hp.list.erb index 1a5d6850b..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 +<% if node[:lsb][:release].to_f < 14.04 -%> deb <%= @url %> precise/current non-free +<% else -%> +deb <%= @url %> trusty/current non-free +<% end -%>