Skip to content

Commit

Permalink
Merge pull request #910 from paladox/patch-1
Browse files Browse the repository at this point in the history
Add 'include' param to apt::backports
  • Loading branch information
carabasdaniel authored Feb 19, 2020
2 parents 1bcd0b2 + 36fcde9 commit 8b8b1ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/backports.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@
# Specifies a pin priority for the backports. Valid options: a number or string to be passed to the `id` parameter of the `apt::pin` defined
# type, or a hash of `parameter => value` pairs to be passed to `apt::pin`'s corresponding parameters.
#
# @param include
# Specifies whether to include 'deb' or 'src', or both.
#
class apt::backports (
Optional[String] $location = undef,
Optional[String] $release = undef,
Optional[String] $repos = undef,
Optional[Variant[String, Hash]] $key = undef,
Optional[Variant[Integer, String, Hash]] $pin = 200,
Optional[Variant[Hash]] $include = {},
){

include apt
Expand Down Expand Up @@ -102,6 +106,7 @@
location => $_location,
release => $_release,
repos => $_repos,
include => $include,
key => $_key,
pin => $_pin,
}
Expand Down

0 comments on commit 8b8b1ed

Please sign in to comment.