}
$ppa_options = undef
$ppa_package = undef
- if versioncmp($facts['os']['release']['major'], '9') >= 0 {
- $auth_conf_owner = '_apt'
- } else {
- $auth_conf_owner = 'root'
- }
+ $auth_conf_owner = '_apt'
}
'Ubuntu': {
$backports = {
}
$ppa_options = '-y'
$ppa_package = 'software-properties-common'
- if versioncmp($facts['os']['release']['full'], '16.04') >= 0 {
- $auth_conf_owner = '_apt'
- } else {
- $auth_conf_owner = 'root'
- }
+ $auth_conf_owner = '_apt'
}
undef: {
fail('Unable to determine value for fact os[\"name\"]')