diff options
author | varac <varacanero@zeromail.org> | 2013-04-30 08:36:10 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-04-30 08:36:10 +0200 |
commit | 3804178236e8e3988df4fd08e317028db08cf1bc (patch) | |
tree | c1b4007c5964bedbe29b178287cffc84771a6ac2 /templates | |
parent | 46c58b07bfd6d6d6ed4bc4139ed4fd14bfe8ada3 (diff) | |
download | puppet-apt-3804178236e8e3988df4fd08e317028db08cf1bc.tar.gz puppet-apt-3804178236e8e3988df4fd08e317028db08cf1bc.tar.bz2 |
There is no security support for lenny anymore
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Debian/sources.list.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Debian/sources.list.erb b/templates/Debian/sources.list.erb index 49cf38c..2aac837 100644 --- a/templates/Debian/sources.list.erb +++ b/templates/Debian/sources.list.erb @@ -10,7 +10,7 @@ deb-src <%= debian_url %> <%= codename %> <%= lrepos %> <% end -%> # security -<% if ((release=scope.lookupvar('apt::release')) == "unstable" || release == "experimental") -%> +<% if ((release=scope.lookupvar('apt::release')) == "unstable" || release == "experimental" || codename == "lenny" ) -%> # There is no security support for <%= release %> <% else -%> deb <%= security_url=scope.lookupvar('apt::security_url') %> <%= codename %>/updates <%= lrepos %> |