Signed-off-by: Stephen Gran <steve@lobefin.net>
template => 'debian-org/etc/apt/sources.list.d/backports.debian.org.list.erb',
}
site::aptrepo { 'volatile':
+ noop => true,
template => 'debian-org/etc/apt/sources.list.d/volatile.list.erb',
}
}
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
-<% if lsbdistcodename == 'lenny' %>
-deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
-<% elsif lsbdistcodename != 'n/a' %>
+<% unless %w{lenny n/a}.include?(scope.lookupvar('::lsbdistcodename')) %>
deb http://ftp.debian.org/debian <%= lsbdistcodename %>-updates main contrib non-free
<% end %>