We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08122e commit ffe1f0bCopy full SHA for ffe1f0b
manifests/source.pp
@@ -284,9 +284,18 @@
284
}
285
286
'deb822': {
287
- if ($pin) {
+ if $pin {
288
fail('apt::source::pin parameter is not supported with deb822 format')
289
290
+ if !$uris {
291
+ fail('You must specify a list of URIs for the apt::source resource')
292
+ }
293
+ if !$suites {
294
+ fail('You must specify a list of suites for the apt::source resource')
295
296
+ if !$components {
297
+ fail('You must specify a list of components for the apt::source resource')
298
299
$_file_suffix = 'sources'
300
case $ensure {
301
'present': {
0 commit comments