aboutsummaryrefslogtreecommitdiff
path: root/templates/sources.list.erb
blob: 687e7908a9c8ab2b1ae47bcc832f6fc7e13e193b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# This file is brought to you by puppet

### Debian current: <%= codename %>

# basic
deb http://ftp.debian.org/debian/ <%= codename %> <%= repos %>
<% if include_src then %>
deb-src http://ftp.debian.org/debian/ <%= codename %> <%= repos %>
<% end %>

# security
<% if (release == "unstable" || release == "experimental") %>
# There is no security support for <%= release %>
<% else %>
deb http://security.debian.org/ <%= codename %>/updates <%= repos %>
<% if include_src then %>
deb-src http://security.debian.org/ <%= codename %>/updates <%= repos %>
<% end %>
<% end %>

# backports
<% if (release == "testing" || release == "unstable" || release == "experimental") %>
# There is no backports archive for <%= release %>
<% else %>
deb http://backports.debian.org/debian-backports/ <%= codename %>-backports <%= repos %>
<% if include_src then %>
deb-src http://backports.debian.org/debian-backports/ <%= codename %>-backports <%= repos %>
<% end %>
<% end %>

<% if use_volatile %>
# volatile
<% if (release == "testing" || release == "unstable" || release == "experimental") %>
# There is no volatile archive for <%= release %>
<% else %>
deb http://volatile.debian.org/debian-volatile/ <%= codename %>/volatile <%= repos %>
<% if include_src then %>
deb-src http://volatile.debian.org/debian-volatile/ <%= codename %>/volatile <%= repos %>
<% end %>
<% end %>
<% end %>

<% if use_next_release then %>
### Debian next: <%= next_codename %>

# basic
deb http://ftp.debian.org/debian/ <%= next_codename %> <%= repos %>
<% if include_src then %>
deb-src http://ftp.debian.org/debian/ <%= next_codename %> <%= repos %>
<% end %>

# security
<% if (next_release == "unstable" || next_release == "experimental") %>
# There is no security support for <%= next_release %>
<% else %>
deb http://security.debian.org/ <%= next_codename %>/updates <%= repos %>
<% if include_src then %>
deb-src http://security.debian.org/ <%= next_codename %>/updates <%= repos %>
<% end %>
<% end %>

# backports
<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") %>
# There is no backports archive for <%= next_release %>
<% else %>
deb http://backports.debian.org/debian-backports/ <%= next_codename %>-backports <%= repos %>
<% if include_src then %>
deb-src http://backports.debian.org/debian-backports/ <%= next_codename %>-backports <%= repos %>
<% end %>
<% end %>

<% if use_volatile %>
# volatile
<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") %>
# There is no volatile archive for <%= next_release %>
<% else %>
deb http://volatile.debian.org/debian-volatile/ <%= next_codename %>/volatile <%= repos %>
<% if include_src then %>
deb-src http://volatile.debian.org/debian-volatile/ <%= next_codename %>/volatile <%= repos %>
<% end %>
<% end %>
<% end %>
<% end %>