$location = '',
$release = $::apt::xfacts['lsbdistcodename'],
$repos = 'main',
- $include_src = false,
- $include_deb = true,
+ $include = {},
$key = undef,
$pin = false,
$architecture = undef,
- $trusted_source = false,
+ $allow_unsigned = false,
) {
validate_string($architecture, $comment, $location, $repos)
- validate_bool($trusted_source, $include_src, $include_deb)
+ validate_bool($allow_unsigned)
+ validate_hash($include)
unless $release {
fail('lsbdistcodename fact not available: release parameter required')
}
$_before = Apt::Setting["list-${title}"]
+ $_include = merge($::apt::include_defaults, $include)
if $key {
if is_hash($key) {