diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2015-06-09 11:35:41 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2015-06-09 11:35:41 -0400 |
commit | d87876a16fdf6cb710210b1a11572d553dec755a (patch) | |
tree | af25c8c3452824cb04aed781a715db871c98ba18 /templates | |
parent | 3da1db27075082603a862c8fd5c3c1396e062bc8 (diff) | |
download | puppet-apt-d87876a16fdf6cb710210b1a11572d553dec755a.tar.gz puppet-apt-d87876a16fdf6cb710210b1a11572d553dec755a.tar.bz2 |
also disable volatile on ubuntu if relevant
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Ubuntu/sources.list.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/Ubuntu/sources.list.erb b/templates/Ubuntu/sources.list.erb index f3ef37c..213f051 100644 --- a/templates/Ubuntu/sources.list.erb +++ b/templates/Ubuntu/sources.list.erb @@ -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 %> |