Update manifests/pin.pp
This commit is contained in:
parent
1c6b9d4a6a
commit
feee023b24
1 changed files with 3 additions and 2 deletions
|
@ -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}",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue