projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the xenial repository for HP tools on 16.04 and later
[chef.git]
/
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 42f7a037f85fedc44a42ad018fd1d4336890fc80..f76d66efbf564cc56856c87e498170e97fde6f12 100644
(file)
--- 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 -%>