diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-17 10:51:06 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-17 10:51:06 +0200 |
commit | e42b54af40ca47ada74a4bb1e410046975b89c32 (patch) | |
tree | 795bb4cac7665eb11642e2065b0f3bf2d988a8ce /manifests | |
parent | 2d75cda2dbefb730777ab03c592f8cd58e30d617 (diff) |
Support choosing a custom Ubuntu mirror.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 82eb231..f3c8845 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -44,6 +44,10 @@ class apt { '' => 'http://volatile.debian.org/debian-volatile/', default => "${apt_volatile_url}", } + $ubuntu_url = $apt_ubuntu_url ? { + '' => 'http://archive.ubuntu.com/ubuntu', + default => "${apt_ubuntu_url}", + } case $operatingsystem { 'debian': { $repos = $apt_repos ? { |