diff options
author | intrigeri <intrigeri@boum.org> | 2015-02-07 16:25:05 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2015-02-07 16:25:05 +0000 |
commit | 7c55bee06ab952c914b3a367f495e36a2539807f (patch) | |
tree | 39d3c2ca80305641ea85179cd8192949bccff09d /templates | |
parent | 85c7554c4bb06130ab3e88170842dc1b2ddbb186 (diff) | |
parent | c826a07dfec73811a35d67c269c0cc1629d71df9 (diff) | |
download | puppet-apt-7c55bee06ab952c914b3a367f495e36a2539807f.tar.gz puppet-apt-7c55bee06ab952c914b3a367f495e36a2539807f.tar.bz2 |
Merge remote-tracking branch 'shared/master' into feature/squeeze-lts
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Debian/sources.list.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb index 7b99df6..8c9b28d 100644 --- a/templates/Debian/sources.list.erb +++ b/templates/Debian/sources.list.erb @@ -10,13 +10,13 @@ deb-src <%= debian_url %> <%= codename %> <%= lrepos %> <% end -%> # security -<% if ((release=scope.lookupvar('apt::release')) == "unstable" || release == "experimental") -%> -# There is no security support for <%= release %> -<% else -%> +<% if ((release=scope.lookupvar('apt::release')) == "stable" || release == "oldstable") -%> deb <%= security_url=scope.lookupvar('apt::security_url') %> <%= codename %>/updates <%= lrepos %> <% if include_src -%> deb-src <%= security_url %> <%= codename %>/updates <%= lrepos %> <% end -%> +<% else -%> +# There is no security support for <%= release %> <% end -%> # backports |