forked from evolvingweb/puppet-apt
-
Notifications
You must be signed in to change notification settings - Fork 468
Open
Description
Describe the Bug
If the source class is called without the repos parameter you get an error saying "For deb822 sources, 'repos' must be specified as an array. Converting to array."
Expected Behavior
No error should be displayed.
Steps to Reproduce
apt::source { 'puppetlabs':
location => 'http://apt.puppetlabs.com',
keyring => '/etc/apt/keyrings/puppetlabs.asc';
}
Environment
- Version 10.0.1
- Platform Ubuntu 20.04
Additional Context
My suggestion is to change the repos default parameter to a list in source.pp to "Variant[String[1], Array[String[1]]] $repos = ['main'],".
Metadata
Metadata
Assignees
Labels
No labels