projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update HP apt repo
[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 1a5d6850bebe4f5a8e86ca6ed74f5f7e99e3013c..aa8fc7ee8dfecdd67b380550dd20dbddbfd3e9da 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 < 14.04 -%>
deb <%= @url %> precise/current non-free
+<% else -%>
+deb <%= @url %> trusty/current non-free
+<% end -%>