diff options
author | Micah Anderson <micah@riseup.net> | 2013-05-26 17:04:05 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-05-26 17:04:05 -0400 |
commit | 61a2f4894898baa98dbaaba7b69b7198864ca04a (patch) | |
tree | d0a5253e66eaf69bee0db5aa7d85ab305aeeb66c /manifests/init.pp | |
parent | 6bf7a6ab5d6e63f75c94f49aa0f12959e954efa8 (diff) | |
parent | c38be6cb7c2cbd53a133291b2750d053877ebe4f (diff) |
Merge branch 'master' into leap
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0f60efb..faddf09 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,19 +4,19 @@ # See LICENSE for the full license granted to you. class apt( - $codename = $::lsbdistcodename, - $use_volatile = false, - $include_src = false, - $use_next_release = false, - $debian_url = 'http://http.debian.net/debian/', - $security_url = 'http://security.debian.org/', - $backports_url = 'http://backports.debian.org/debian-backports/', - $volatile_url = 'http://volatile.debian.org/debian-volatile/', - $ubuntu_url = 'http://archive.ubuntu.com/ubuntu', - $repos = 'auto', - $custom_preferences = '', - $disable_update = false -){ + $codename = $apt::params::codename, + $use_volatile = $apt::params::use_volatile, + $include_src = $apt::params::include_src, + $use_next_release = $apt::params::use_next_release, + $debian_url = $apt::params::debian_url, + $security_url = $apt::params::security_url, + $backports_url = $apt::params::backports_url, + $volatile_url = $apt::params::volatile_url, + $ubuntu_url = $apt::params::ubuntu_url, + $repos = $apt::params::repos, + $custom_preferences = $apt::params::custom_preferences, + $disable_update = $apt::params::disable_update +) inherits apt::params { case $::operatingsystem { 'debian': { $real_repos = $repos ? { @@ -26,7 +26,7 @@ class apt( } 'ubuntu': { $real_repos = $repos ? { - '' => 'main restricted universe multiverse', + 'auto' => 'main restricted universe multiverse', default => $repos, } } |