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"
10 $distid = $::lsbdistid
11 $distcodename = $::lsbdistcodename
14 if $::lsbdistcodename == 'debian' {
16 $distcodename = 'wheezy'
19 $distcodename = $::lsbdistcodename ? {
29 fail('Unable to determine lsbdistid, is lsb-release installed?')
32 fail("Unsupported lsbdistid (${::lsbdistid})")
39 $backports_location = 'http://backports.debian.org/debian-backports'
41 $origins = ['${distro_id} oldstable', #lint:ignore:single_quote_string_with_variables
42 '${distro_id} ${distro_codename}-security', #lint:ignore:single_quote_string_with_variables
43 '${distro_id} ${distro_codename}-lts'] #lint:ignore:single_quote_string_with_variables
46 $backports_location = 'http://ftp.debian.org/debian/'
47 $legacy_origin = false
48 $origins = ['origin=Debian,archive=stable,label=Debian-Security']
51 $backports_location = 'http://http.debian.net/debian/'
52 $legacy_origin = false
53 $origins = ['origin=Debian,archive=stable,label=Debian-Security']
60 $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
63 $origins = ['${distro_id} ${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
65 'precise', 'trusty': {
66 $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
69 $origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
72 $backports_location = 'http://old-releases.ubuntu.com/ubuntu'
75 $origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables