2010-10-25 19:58:14 +02:00
|
|
|
# This file is managed by puppet
|
2010-10-25 07:13:44 +02:00
|
|
|
# all local modifications will be overwritten
|
2007-06-25 11:50:19 +02:00
|
|
|
|
2012-12-05 19:46:23 +01:00
|
|
|
### Debian current: <%= codename=scope.lookupvar('apt::codename') %>
|
2010-10-06 11:56:56 +02:00
|
|
|
|
|
|
|
# basic
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= debian_url=scope.lookupvar('apt::debian_url') %> <%= codename %> <%= lrepos=scope.lookupvar('apt::real_repos') %>
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if scope.lookupvar('apt::include_src') -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= debian_url %> <%= codename %> <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
2010-10-06 11:56:56 +02:00
|
|
|
|
|
|
|
# security
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if ((release=scope.lookupvar('apt::release')) == "unstable" || release == "experimental") -%>
|
2010-10-06 11:56:56 +02:00
|
|
|
# There is no security support for <%= release %>
|
2010-10-10 12:38:18 +02:00
|
|
|
<% else -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= security_url=scope.lookupvar('apt::security_url') %> <%= codename %>/updates <%= lrepos %>
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if include_src -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= security_url %> <%= codename %>/updates <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2010-10-06 11:56:56 +02:00
|
|
|
|
|
|
|
# backports
|
2010-10-10 12:38:18 +02:00
|
|
|
<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
|
2010-10-06 11:56:56 +02:00
|
|
|
# There is no backports archive for <%= release %>
|
2010-10-10 12:38:18 +02:00
|
|
|
<% else -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= backports_url=scope.lookupvar('apt::backports_url') %> <%= codename %>-backports <%= lrepos %>
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if include_src -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= backports_url %> <%= codename %>-backports <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2008-09-28 23:56:11 +02:00
|
|
|
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if use_volatile=scope.lookupvar('apt::use_volatile') -%>
|
2010-10-06 12:00:32 +02:00
|
|
|
# volatile
|
2010-10-10 12:38:18 +02:00
|
|
|
<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
|
2010-10-06 12:00:32 +02:00
|
|
|
# There is no volatile archive for <%= release %>
|
2010-10-10 12:38:18 +02:00
|
|
|
<% else -%>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% if (codename == "lenny" || codename == "etch") -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= volatile_url=scope.lookupvar('apt::volatile_url') %> <%= codename %>/volatile <%= lrepos %>
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if include_src -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= volatile_url %> <%= codename %>/volatile <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% else -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= debian_url %> <%= codename %>-updates <%= lrepos %>
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if include_src -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= debian_url %> <%= codename %>-updates <%= lrepos %>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2010-10-06 12:00:32 +02:00
|
|
|
|
2012-06-08 17:16:46 +02:00
|
|
|
<% if next_release=scope.lookupvar('apt::use_next_release') -%>
|
|
|
|
### Debian next: <%= next_codename=scope.lookupvar('apt::next_codename') %>
|
2010-10-06 12:39:50 +02:00
|
|
|
|
|
|
|
# basic
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= debian_url %> <%= next_codename %> <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% if include_src then -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= debian_url %> <%= next_codename %> <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
2010-10-06 12:39:50 +02:00
|
|
|
|
|
|
|
# security
|
2010-10-10 12:38:18 +02:00
|
|
|
<% if (next_release == "unstable" || next_release == "experimental") -%>
|
2010-10-06 12:39:50 +02:00
|
|
|
# There is no security support for <%= next_release %>
|
2010-10-10 12:38:18 +02:00
|
|
|
<% else -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= security_url %> <%= next_codename %>/updates <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% if include_src then -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= security_url %> <%= next_codename %>/updates <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2010-10-06 12:39:50 +02:00
|
|
|
|
2010-10-10 12:38:18 +02:00
|
|
|
<% if use_volatile -%>
|
2010-10-06 12:39:50 +02:00
|
|
|
# volatile
|
2010-10-10 12:38:18 +02:00
|
|
|
<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>
|
2010-10-06 12:39:50 +02:00
|
|
|
# There is no volatile archive for <%= next_release %>
|
2010-10-10 12:38:18 +02:00
|
|
|
<% else -%>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% if (next_codename == "lenny" || next_codename == "etch") -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= volatile_url %> <%= next_codename %>/volatile <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% if include_src then -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= volatile_url %> <%= next_codename %>/volatile <%= lrepos %>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% else -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb <%= debian_url %> <%= next_codename %>-updates <%= lrepos %>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% if include_src then -%>
|
2012-06-18 22:33:42 +02:00
|
|
|
deb-src <%= debian_url %> <%= next_codename %>-updates <%= lrepos %>
|
2011-02-07 11:17:07 +01:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2010-10-10 12:32:23 +02:00
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|