Skip to content

Commit

Permalink
(CAT-1483) - Enhancement of validation for apt::source parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramesh7 committed Sep 27, 2023
1 parent 0a23900 commit c0e0eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -978,9 +978,9 @@ Default value: `undef`

##### <a name="-apt--source--repos"></a>`repos`

Data type: `String`
Data type: `String[1]`

Specifies a component of the Apt repository.
Specifies a component of the Apt repository. Default 'main'.

Default value: `'main'`

Expand Down
4 changes: 2 additions & 2 deletions manifests/source.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Specifies a distribution of the Apt repository.
#
# @param repos
# Specifies a component of the Apt repository.
# Specifies a component of the Apt repository. Default 'main'.
#
# @param include
# Configures include options. Valid options: a hash of available keys.
Expand Down Expand Up @@ -69,7 +69,7 @@
String $comment = $name,
String $ensure = present,
Optional[String] $release = undef,
String $repos = 'main',
String[1] $repos = 'main',
Variant[Hash] $include = {},
Optional[Variant[String, Hash]] $key = undef,
Optional[Stdlib::AbsolutePath] $keyring = undef,
Expand Down

0 comments on commit c0e0eb8

Please sign in to comment.