Update HP apt repo
authorGrant Slater <git@firefishy.com>
Sat, 15 Aug 2015 15:40:24 +0000 (16:40 +0100)
committerGrant Slater <git@firefishy.com>
Sat, 15 Aug 2015 15:40:24 +0000 (16:40 +0100)
cookbooks/apt/templates/default/hp.list.erb

index 1a5d6850bebe4f5a8e86ca6ed74f5f7e99e3013c..aa8fc7ee8dfecdd67b380550dd20dbddbfd3e9da 100644 (file)
@@ -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 -%>