From a56f94b9b994baa0d381b1908594cf9eca8066ef Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 25 Jun 2018 13:49:10 +0100 Subject: [PATCH] Use the xenial repository for HP tools on 16.04 and later --- cookbooks/apt/templates/default/hp.list.erb | 4 ++++ 1 file changed, 4 insertions(+) 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 -%> -- 2.39.5