From: Matt Callaway Date: Fri, 31 Jan 2014 21:56:28 +0000 (-0600) Subject: Remove the quotes from the origin line. This doesn't matter on Ubuntu Precise with... X-Git-Tag: 1.5.0~36^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=3922a1bdf505947bd2425378035f0edaffc385e6;hp=9b165839640210b8d99e5853bfe171d322f79439;p=puppet-modules%2Fpuppetlabs-apt.git Remove the quotes from the origin line. This doesn't matter on Ubuntu Precise with apt 0.8, but for those of us still using Ubuntu Lucid, apt 0.7 silently ignores preferences with the quotes. --- diff --git a/templates/pin.pref.erb b/templates/pin.pref.erb index 62c44c7..eed0c10 100644 --- a/templates/pin.pref.erb +++ b/templates/pin.pref.erb @@ -12,7 +12,7 @@ if @pin_release.length > 0 elsif @version.length > 0 @pin = "version #{@version}" elsif @origin.length > 0 - @pin = "origin \"#{@origin}\"" + @pin = "origin #{@origin}" end -%> # <%= @name %>