diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-06 13:29:38 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-06 13:29:38 +0200 |
commit | fab154da39fc3f68e66b8d36f44457533e53dac1 (patch) | |
tree | 6e1ccc80690acb443818b5e321ac5bb2eb2c67c3 /manifests/init.pp | |
parent | 6dd66425880e2504c0583b7bf3386243d1208177 (diff) |
Allow specifying custom mirrors for every supported archive.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 095fe79..63f489f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -26,6 +26,23 @@ class apt { default => $apt_use_next_release, } + $debian_url = $apt_debian_url ? { + '' => 'http://ftp.debian.org/debian/', + default => "${apt_debian_url}", + } + $security_url = $apt_security_url ? { + '' => 'http://security.debian.org/', + default => "${apt_security_url}", + } + $backports_url = $apt_backports_url ? { + '' => 'http://backports.debian.org/debian-backports/', + default => "${apt_backports_url}", + } + $volatile_url = $apt_volatile_url ? { + '' => 'http://volatile.debian.org/debian-volatile/', + default => "${apt_volatile_url}", + } + package { apt: ensure => installed, require => undef, |