diff options
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 12273ac..28af06e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,18 +1,22 @@ class apt::params () { - $codename = $::lsbdistcodename + $use_lts = false $use_volatile = false + $use_backports = true $include_src = false $use_next_release = false - $debian_url = 'http://http.debian.net/debian/' + $debian_url = 'http://httpredir.debian.org/debian/' $security_url = 'http://security.debian.org/' - $backports_url = $::lsbdistcodename ? { - 'wheezy' => $debian_url, - default => 'http://backports.debian.org/debian-backports/', + $ubuntu_url = 'http://archive.ubuntu.com/ubuntu' + $backports_url = $::debian_codename ? { + 'squeeze' => 'http://backports.debian.org/debian-backports/', + default => $::operatingsystem ? { + 'Ubuntu' => $ubuntu_url, + default => $debian_url, + } } + $lts_url = $debian_url $volatile_url = 'http://volatile.debian.org/debian-volatile/' - $ubuntu_url = 'http://archive.ubuntu.com/ubuntu' $repos = 'auto' $custom_preferences = '' - $disable_update = false $custom_key_dir = false } |