validate_string($content)
}
- if $setting_type == 'list' {
+ if ($setting_type == 'list') or ($setting_type == 'pref') {
$_priority = ''
} else {
$_priority = $priority
$_ext = $::apt::params::config_files[$setting_type]['ext']
if $notify_update {
- $_notify = Exec['apt_update']
+ $_notify = Class['apt::update']
} else {
$_notify = undef
}