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

27 lines
906 B
Text
Raw Normal View History

# This file is managed by puppet
# all local modifications will be overwritten
# basic <%= codename=scope.lookupvar('apt::codename') %>
deb <%= ubuntu_url=scope.lookupvar('apt::ubuntu_url') %> <%= codename %> <%= lrepos=scope.lookupvar('apt::real_repos') %>
2012-06-08 17:16:46 +02:00
<% if include_src=scope.lookupvar('apt::include_src') -%>
deb-src <%= ubuntu_url %> <%= codename %> <%= lrepos %>
<% end -%>
# updates
deb <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
2012-06-08 17:16:46 +02:00
<% if include_src -%>
deb-src <%= ubuntu_url %> <%= codename %>-updates <%= lrepos %>
<% end -%>
# security suppport
deb <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
2012-06-08 17:16:46 +02:00
<% if include_src -%>
deb-src <%= ubuntu_url %> <%= codename %>-security <%= lrepos %>
<% end -%>
# backports
deb <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
2012-06-08 17:16:46 +02:00
<% if include_src -%>
deb-src <%= ubuntu_url %> <%= codename %>-backports <%= lrepos %>
<% end -%>