X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/75c5da85dcd5a6b5b66040dfd838c2bbf30ba4d5..c24c8641fdae91ebe7b1165828041dbcb6abf13a:/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 42f7a037f..f76d66efb 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 >= 16.04 -%> +deb <%= @url %> xenial/current non-free +<% else -%> deb <%= @url %> trusty/current non-free +<% end -%>