From: Peter Palfrader Date: Tue, 22 Sep 2009 23:12:13 +0000 (+0200) Subject: Revert "Revert "try some template magic"" X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=05ad0013eec3a96c79434bebc8cb9e417a9ca47f;p=mirror%2Fdsa-puppet.git Revert "Revert "try some template magic"" This reverts commit 22ff227cc4266957cb45c731f0e26339116877d2. --- diff --git a/modules/debian-org/templates/etc/apt/sources.list.d/security.list.erb b/modules/debian-org/templates/etc/apt/sources.list.d/security.list.erb index 2dd8072e8..d78540213 100644 --- a/modules/debian-org/templates/etc/apt/sources.list.d/security.list.erb +++ b/modules/debian-org/templates/etc/apt/sources.list.d/security.list.erb @@ -3,4 +3,7 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## +<% if nodeinfo.has_key?('squeeze') and not nodeinfo['squeeze'].empty? %> +<% else %> deb http://security.geo.debian.org/ lenny/updates main +<% end %>