3 $provider = '/usr/bin/apt-get'
4 $sources_list_d = "${root}/sources.list.d"
5 $apt_conf_d = "${root}/apt.conf.d"
6 $preferences_d = "${root}/preferences.d"
8 if $::osfamily != 'Debian' {
9 fail('This module only works on Debian or derivatives like Ubuntu')
14 $distid = $::lsbdistid
15 $distcodename = $::lsbdistcodename
18 if $::lsbdistcodename == 'debian' {
20 $distcodename = 'wheezy'
23 $distcodename = $::lsbdistcodename ? {
33 fail('Unable to determine lsbdistid, is lsb-release installed?')
36 fail("Unsupported lsbdistid (${::lsbdistid})")
45 'precise', 'trusty', 'utopic', 'vivid': {