also disable volatile on ubuntu if relevant

This commit is contained in:
Antoine Beaupré 2015-06-09 11:35:41 -04:00
parent 3da1db2707
commit d87876a16f

View file

@ -7,11 +7,13 @@ deb <%= ubuntu_url=scope.lookupvar('apt::ubuntu_url') %> <%= codename %> <%= lre
deb-src <%= ubuntu_url %> <%= codename %> <%= lrepos %>
<% end -%>
<% if use_volatile=scope.lookupvar('apt::use_volatile') -%>
# updates
deb <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
<% if include_src -%>
<% if include_src -%>
deb-src <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
<% end -%>
<% end
end -%>
# security suppport
deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>