Skip to content

Commit 9fef375

Browse files
jamesps-ebimalikparvez
authored andcommitted
Update data types and documentation
Re-apply data-type changes for apt::source::pin from 1e1baad Regenerate puppet strings to match.
1 parent 6519322 commit 9fef375

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

REFERENCE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#### Private Classes
1515

16-
* `apt::params`: Provides defaults for the Apt module parameters.
1716
* `apt::update`: Updates the list of available packages using apt-get update.
1817

1918
### Defined types
@@ -403,6 +402,10 @@ Default value:
403402
'path' => $sources_list_d,
404403
'ext' => '.list',
405404
},
405+
'sources' => {
406+
'path' => $sources_list_d,
407+
'ext' => '.sources',
408+
},
406409
}
407410
```
408411

@@ -1227,7 +1230,7 @@ Default value: `undef`
12271230

12281231
##### <a name="-apt--source--pin"></a>`pin`
12291232

1230-
Data type: `Optional[Variant[Hash, Numeric, String]]`
1233+
Data type: `Optional[Variant[Hash, Integer, String[1]]]`
12311234

12321235
Creates a declaration of the apt::pin defined type. Valid options: a number or string to be passed to the `priority` parameter of the
12331236
`apt::pin` defined type, or a hash of `parameter => value` pairs to be passed to `apt::pin`'s corresponding parameters.

manifests/source.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
Hash $include = {},
113113
Optional[Variant[String[1], Hash]] $key = undef,
114114
Optional[Stdlib::AbsolutePath] $keyring = undef,
115-
Optional[Variant[Hash, Numeric, String]] $pin = undef,
115+
Optional[Variant[Hash, Integer, String[1]]] $pin = undef,
116116
Optional[Variant[String[1], Array[String[1]]]] $architecture = undef,
117117
Optional[Boolean] $allow_unsigned = undef,
118118
Optional[Boolean] $allow_insecure = undef,

0 commit comments

Comments
 (0)