aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-06-11 11:04:46 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-12-04 12:36:25 -0500
commite4a9222d861ae05a8d9d0a43f2ed4aa0be229390 (patch)
tree4bedf834df211a088f6715505ebb8fa8e03c50a9 /templates
parentbfa973a66896208e2cf0bea37ec15a4f950f09bd (diff)
downloadpuppet-apt-e4a9222d861ae05a8d9d0a43f2ed4aa0be229390.tar.gz
puppet-apt-e4a9222d861ae05a8d9d0a43f2ed4aa0be229390.tar.bz2
move backports to snippets
this allows for third party modules to enable this on the fly
Diffstat (limited to 'templates')
-rw-r--r--templates/Debian/sources.list.erb12
-rw-r--r--templates/Ubuntu/sources.list.erb8
2 files changed, 0 insertions, 20 deletions
diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb
index bde87ac..44eea53 100644
--- a/templates/Debian/sources.list.erb
+++ b/templates/Debian/sources.list.erb
@@ -19,18 +19,6 @@ deb-src <%= security_url %> <%= codename %>/updates <%= lrepos %>
# There is no security support for <%= release %>
<% end -%>
-<% if use_backports=scope.lookupvar('apt::use_backports') -%>
-# backports
-<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
-# There is no backports archive for <%= release %>
-<% else -%>
-deb <%= backports_url=scope.lookupvar('apt::backports_url') %> <%= codename %>-backports <%= lrepos %>
-<% if include_src -%>
-deb-src <%= backports_url %> <%= codename %>-backports <%= lrepos %>
-<% end
- end
- end -%>
-
<% if use_volatile=scope.lookupvar('apt::use_volatile') -%>
# volatile
<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
diff --git a/templates/Ubuntu/sources.list.erb b/templates/Ubuntu/sources.list.erb
index d0a3a5a..e6d2f64 100644
--- a/templates/Ubuntu/sources.list.erb
+++ b/templates/Ubuntu/sources.list.erb
@@ -20,11 +20,3 @@ deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
<% if include_src -%>
deb-src <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
<% end -%>
-
-<% if use_backports=scope.lookupvar('apt::use_backports') -%>
-# backports
-deb <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
-<% if include_src -%>
-deb-src <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
-<% end
- end -%>