2013-03-20 22:09:29 +01:00
|
|
|
class apt::params () {
|
2015-02-07 17:12:55 +01:00
|
|
|
$use_lts = false
|
2013-03-20 22:09:29 +01:00
|
|
|
$use_volatile = false
|
2015-06-09 17:25:34 +02:00
|
|
|
$use_backports = true
|
2013-03-20 22:09:29 +01:00
|
|
|
$include_src = false
|
|
|
|
$use_next_release = false
|
2015-04-28 20:59:46 +02:00
|
|
|
$debian_url = 'http://httpredir.debian.org/debian/'
|
2013-03-20 22:09:29 +01:00
|
|
|
$security_url = 'http://security.debian.org/'
|
2015-12-04 18:33:35 +01:00
|
|
|
$ubuntu_url = 'http://archive.ubuntu.com/ubuntu'
|
2015-05-11 16:49:27 +02:00
|
|
|
$backports_url = $::debian_codename ? {
|
2015-04-28 20:57:23 +02:00
|
|
|
'squeeze' => 'http://backports.debian.org/debian-backports/',
|
2015-12-04 18:33:35 +01:00
|
|
|
default => $::operatingsystem ? {
|
|
|
|
'Ubuntu' => $ubuntu_url,
|
|
|
|
default => $debian_url,
|
|
|
|
}
|
2013-03-20 22:11:46 +01:00
|
|
|
}
|
2015-02-07 17:12:55 +01:00
|
|
|
$lts_url = $debian_url
|
2013-03-20 22:09:29 +01:00
|
|
|
$volatile_url = 'http://volatile.debian.org/debian-volatile/'
|
|
|
|
$repos = 'auto'
|
|
|
|
$custom_preferences = ''
|
|
|
|
$disable_update = false
|
2013-01-26 18:20:30 +01:00
|
|
|
$custom_key_dir = false
|
2013-03-20 22:09:29 +01:00
|
|
|
}
|