module-apt/templates/Debian/sources.list.erb

89 lines
2.7 KiB
Text
Raw Normal View History

# This file is managed by puppet
# all local modifications will be overwritten
### Debian current: <%= codename %>
# basic
2010-10-09 21:31:25 +02:00
deb <%= debian_url %> <%= codename %> <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= debian_url %> <%= codename %> <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
# security
2010-10-10 12:38:18 +02:00
<% if (release == "unstable" || release == "experimental") -%>
# There is no security support for <%= release %>
2010-10-10 12:38:18 +02:00
<% else -%>
2010-10-09 21:31:25 +02:00
deb <%= security_url %> <%= codename %>/updates <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= security_url %> <%= codename %>/updates <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
<% end -%>
# backports
2010-10-10 12:38:18 +02:00
<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
# There is no backports archive for <%= release %>
2010-10-10 12:38:18 +02:00
<% else -%>
2010-10-09 21:31:25 +02:00
deb <%= backports_url %> <%= codename %>-backports <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= backports_url %> <%= codename %>-backports <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
<% end -%>
2010-10-10 12:38:18 +02:00
<% if use_volatile -%>
# volatile
2010-10-10 12:38:18 +02:00
<% if (release == "testing" || release == "unstable" || release == "experimental") -%>
# There is no volatile archive for <%= release %>
2010-10-10 12:38:18 +02:00
<% else -%>
<% if (codename == "lenny" || codename == "etch") -%>
2010-10-09 21:31:25 +02:00
deb <%= volatile_url %> <%= codename %>/volatile <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= volatile_url %> <%= codename %>/volatile <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
<% else -%>
deb <%= debian_url %> <%= codename %>-updates <%= repos %>
<% if include_src then -%>
deb-src <%= debian_url %> <%= codename %>-updates <%= repos %>
<% end -%>
<% end -%>
2010-10-10 12:32:23 +02:00
<% end -%>
<% end -%>
2010-10-10 12:32:23 +02:00
<% if use_next_release then -%>
### Debian next: <%= next_codename %>
# basic
2010-10-09 21:31:25 +02:00
deb <%= debian_url %> <%= next_codename %> <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= debian_url %> <%= next_codename %> <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
# security
2010-10-10 12:38:18 +02:00
<% if (next_release == "unstable" || next_release == "experimental") -%>
# There is no security support for <%= next_release %>
2010-10-10 12:38:18 +02:00
<% else -%>
2010-10-09 21:31:25 +02:00
deb <%= security_url %> <%= next_codename %>/updates <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= security_url %> <%= next_codename %>/updates <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
<% end -%>
2010-10-10 12:38:18 +02:00
<% if use_volatile -%>
# volatile
2010-10-10 12:38:18 +02:00
<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>
# There is no volatile archive for <%= next_release %>
2010-10-10 12:38:18 +02:00
<% else -%>
<% if (next_codename == "lenny" || next_codename == "etch") -%>
2010-10-09 21:31:25 +02:00
deb <%= volatile_url %> <%= next_codename %>/volatile <%= repos %>
2010-10-10 12:32:23 +02:00
<% if include_src then -%>
2010-10-09 21:31:25 +02:00
deb-src <%= volatile_url %> <%= next_codename %>/volatile <%= repos %>
2010-10-10 12:32:23 +02:00
<% end -%>
<% else -%>
deb <%= debian_url %> <%= next_codename %>-updates <%= repos %>
<% if include_src then -%>
deb-src <%= debian_url %> <%= next_codename %>-updates <%= repos %>
<% end -%>
<% end -%>
2010-10-10 12:32:23 +02:00
<% end -%>
<% end -%>
<% end -%>