aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ea187f3..8588932 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -10,6 +10,14 @@ class apt {
require => undef,
}
+ $real_main_apt_source = $main_apt_source ? {
+ '' => $operatingsystem ? {
+ "Ubuntu" => "http://de.archive.ubuntu.com/ubuntu/",
+ default => "http://ftp.debian.org/debian/",
+ },
+ default => $main_apt_source,
+ }
+
include lsb
config_file {
# include main, security and backports