projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
85aa3cd
)
Update HP apt repo
author
Grant Slater
<git@firefishy.com>
Sat, 15 Aug 2015 15:40:24 +0000
(16:40 +0100)
committer
Grant Slater
<git@firefishy.com>
Sat, 15 Aug 2015 15:40:24 +0000
(16:40 +0100)
cookbooks/apt/templates/default/hp.list.erb
patch
|
blob
|
history
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 -%>