From: Zach Leslie Date: Tue, 22 May 2012 00:06:10 +0000 (-0700) Subject: add .pref extension, which according to apt_preferences(5) may or may not be present... X-Git-Tag: 0.0.4~9^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=836f16e946b316d7eb3a38fb38c9e1a2d064f557;p=puppet-modules%2Fpuppetlabs-apt.git add .pref extension, which according to apt_preferences(5) may or may not be present, and is helpful if you are going to have an extension at all --- diff --git a/manifests/pin.pp b/manifests/pin.pp index 73f5795..58694d6 100644 --- a/manifests/pin.pp +++ b/manifests/pin.pp @@ -23,7 +23,7 @@ define apt::pin( file { "${name}.pref": ensure => $ensure, - path => "${preferences_d}/${name}", + path => "${preferences_d}/${name}.pref", owner => root, group => root, mode => '0644',