also disable volatile on ubuntu if relevant
This commit is contained in:
parent
3da1db2707
commit
d87876a16f
1 changed files with 4 additions and 2 deletions
|
@ -7,11 +7,13 @@ deb <%= ubuntu_url=scope.lookupvar('apt::ubuntu_url') %> <%= codename %> <%= lre
|
||||||
deb-src <%= ubuntu_url %> <%= codename %> <%= lrepos %>
|
deb-src <%= ubuntu_url %> <%= codename %> <%= lrepos %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
<% if use_volatile=scope.lookupvar('apt::use_volatile') -%>
|
||||||
# updates
|
# updates
|
||||||
deb <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
|
deb <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
|
||||||
<% if include_src -%>
|
<% if include_src -%>
|
||||||
deb-src <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
|
deb-src <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
|
||||||
<% end -%>
|
<% end
|
||||||
|
end -%>
|
||||||
|
|
||||||
# security suppport
|
# security suppport
|
||||||
deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
|
deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
|
||||||
|
|
Loading…
Reference in a new issue