$apt_conf_d = "${root}/apt.conf.d"
$preferences_d = "${root}/preferences.d"
+ if $::osfamily != 'Debian' {
+ fail('This module only works on Debian or derivatives like Ubuntu')
+ }
+
case $::lsbdistid {
'ubuntu', 'debian': {
$distid = $::lsbdistid
$legacy_origin = true
$origins = ['${distro_id} ${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
}
- 'precise', 'trusty', 'utopic': {
+ 'precise', 'trusty', 'utopic', 'vivid': {
$backports_location = 'http://us.archive.ubuntu.com/ubuntu'
$ppa_options = '-y'
$legacy_origin = true