module-apt/manifests/params.pp
Gabriel Filion bfa973a668 Use $ubuntu_url as default value of $backports_url on Ubuntu
Ubuntu shouldn't be using debian backports by default.

This was written by Anoine Beaupré, but split from the commit "move
backports to snippets" since the change is unrelated and needs to be
more visible in the commit history.
2015-12-04 12:36:25 -05:00

23 خطوط
701 B
Puppet

class apt::params () {
$use_lts = false
$use_volatile = false
$use_backports = true
$include_src = false
$use_next_release = false
$debian_url = 'http://httpredir.debian.org/debian/'
$security_url = 'http://security.debian.org/'
$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/'
$repos = 'auto'
$custom_preferences = ''
$disable_update = false
$custom_key_dir = false
}