X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fpin.pp;h=402e79ede7a813327ec956935e07a2d9ee4e15d0;hb=d0b8ed8f64e413b4d33eaa6b9ce06dd197f1e9b1;hp=e6e293e45260db337f3b2d80f4fe2fc74f8bd4d5;hpb=414c57926c21e53222807b42ea9281296988bf6c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/pin.pp b/manifests/pin.pp index e6e293e..402e79e 100644 --- a/manifests/pin.pp +++ b/manifests/pin.pp @@ -14,7 +14,7 @@ define apt::pin( $release_version = '', # v= $component = '', # c= $originator = '', # o= - $label = '', # l= + $label = '' # l= ) { include apt::params @@ -25,13 +25,14 @@ define apt::pin( fail('Only integers are allowed in the apt::pin order param') } - $pin_release = join([ + $pin_release_array = [ $release, $codename, $release_version, $component, $originator, - $label], '') + $label] + $pin_release = join($pin_release_array, '') # Read the manpage 'apt_preferences(5)', especially the chapter # 'Thea Effect of APT Preferences' to understand the following logic