module-apt/manifests/params.pp
varac 207218cee8 [refactor] Get rid of the disable_update parameter
The `disable_update` parameter has been removed. The main apt class
defaults to *not* run an `apt-get update` on every run anyway so
this parameter seems useless.
You can include the `apt::update` class if you want it to be
run every time.
2016-02-01 20:42:37 +01:00

22 lines
675 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 = ''
$custom_key_dir = false
}