Update manifests/pin.pp

This commit is contained in:
albac 2012-04-27 21:23:48 -03:00 committed by Nan Liu
parent 1c6b9d4a6a
commit feee023b24

View file

@ -4,7 +4,8 @@
define apt::pin(
$ensure = present,
$packages = '*',
$priority = 0
$priority = 0,
$release = "${name}"
) {
include apt::params
@ -17,6 +18,6 @@ define apt::pin(
owner => root,
group => root,
mode => '0644',
content => "# ${name}\nPackage: ${packages}\nPin: release a=${name}\nPin-Priority: ${priority}",
content => "# ${name}\nPackage: ${packages}\nPin: release a=${release}\nPin-Priority: ${priority}",
}
}