From: Zach Leslie Date: Mon, 21 May 2012 22:03:30 +0000 (-0700) Subject: Preserve backwards compatibility X-Git-Tag: 0.0.4~9^2~4 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3ac02c5c4252ec93a34580309ad46e4d2e222fd1;p=puppet-modules%2Fpuppetlabs-apt.git Preserve backwards compatibility --- diff --git a/manifests/pin.pp b/manifests/pin.pp index f19df00..73f5795 100644 --- a/manifests/pin.pp +++ b/manifests/pin.pp @@ -18,7 +18,7 @@ define apt::pin( } elsif $origin != '' { $pin = "origin \"${origin}\"" } else { - err("Apt::Pin needs either $release or $origin") + $pin = "release a=${name}" } file { "${name}.pref":