Permalink
Browse files

support debian 7 (wheezy)

  • Loading branch information...
1 parent ff499fc commit 3858c1455c7bb13a0ea294130f2db61620cb8aa5 @ermolaev committed Jul 22, 2013
Showing with 9 additions and 1 deletion.
  1. +9 −1 recipes/debian_backports.rb
@@ -5,8 +5,16 @@
# backports for initial support
+backports_uri = case node["lsb"]["codename"]
+ when 'wheezy'
+ "http://cdn.debian.net/debian"
+ else
+ "http://backports.debian.org/debian-backports"
+ end
+
+
apt_repository "debian-backports" do
- uri "http://backports.debian.org/debian-backports"
+ uri backports_uri
distribution "#{node["lsb"]["codename"]}-backports"
components ["main"]
action :add

0 comments on commit 3858c14

Please sign in to comment.