From e42b54af40ca47ada74a4bb1e410046975b89c32 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 10:51:06 +0200 Subject: Support choosing a custom Ubuntu mirror. --- manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests') 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 ? { -- cgit v1.2.3