Use the xenial repository for HP tools on 16.04 and later
[chef.git] / cookbooks / apt / templates / default / hp.list.erb
index 42f7a037f85fedc44a42ad018fd1d4336890fc80..f76d66efbf564cc56856c87e498170e97fde6f12 100644 (file)
@@ -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 -%>