- 'debian': {
- case $::lsbdistcodename {
- 'squeeze': {
- $backports_location = 'http://backports.debian.org/debian-backports'
- }
- 'wheezy': {
- $backports_location = 'http://ftp.debian.org/debian/'
- }
- default: {
- $backports_location = 'http://http.debian.net/debian/'
+ 'ubuntu', 'debian': {
+ $distid = $::lsbdistid
+ $distcodename = $::lsbdistcodename
+ }
+ 'linuxmint': {
+ if $::lsbdistcodename == 'debian' {
+ $distid = 'debian'
+ $distcodename = 'wheezy'
+ } else {
+ $distid = 'ubuntu'
+ $distcodename = $::lsbdistcodename ? {
+ 'qiana' => 'trusty',
+ 'petra' => 'saucy',
+ 'olivia' => 'raring',
+ 'nadia' => 'quantal',
+ 'maya' => 'precise',