aboutsummaryrefslogtreecommitdiff
path: root/templates/Ubuntu
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2010-10-25 11:55:15 -0400
committerGabriel Filion <lelutin@gmail.com>2010-10-25 14:12:18 -0400
commite2578c3b9820e9ff17f8a8881b8b22b5e241ee21 (patch)
tree70dbe662f0c17c253f43a9b8fc75fa3523e73877 /templates/Ubuntu
parent3c88b19dd33b4da1f37e2c08c981ccbcbe5a45a8 (diff)
downloadpuppet-apt-e2578c3b9820e9ff17f8a8881b8b22b5e241ee21.tar.gz
puppet-apt-e2578c3b9820e9ff17f8a8881b8b22b5e241ee21.tar.bz2
Add $main_apt_source
Currently, it's either we use the default source that's hardcoded in the sources.list template or we redefine entirely this template. Make it easier to just change the URL of the apt source while using the rest of the default template by adding a $main_apt_source variable. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'templates/Ubuntu')
-rw-r--r--templates/Ubuntu/sources.list.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Ubuntu/sources.list.erb b/templates/Ubuntu/sources.list.erb
index a37fffc..2719934 100644
--- a/templates/Ubuntu/sources.list.erb
+++ b/templates/Ubuntu/sources.list.erb
@@ -2,7 +2,7 @@
# all local modifications will be overwritten
# basic <%= lsbdistcodename %>
-deb http://de.archive.ubuntu.com/ubuntu <%= lsbdistcodename %> main restricted universe multiverse
+deb <%= real_main_apt_source %> <%= lsbdistcodename %> main restricted universe multiverse
# updates
deb http://de.archive.ubuntu.com/ubuntu <%= lsbdistcodename %>-updates main restricted universe multiverse