From f538ee7ad2823f4b050d4852dfd5e1617b9c0c26 Mon Sep 17 00:00:00 2001 From: alex krivospitsky Date: Thu, 23 May 2013 14:06:51 +0400 Subject: [PATCH] add squeeze support --- recipes/default.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/recipes/default.rb b/recipes/default.rb index 2447fda..d5aa80d 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -38,7 +38,15 @@ # Configure Dotdeb repos # TODO: move this to it's own 'dotdeb' cookbook? # http://www.dotdeb.org/instructions/ - if node.platform_version.to_f >= 5.0 + if node.lsb.codename = 'squeeze' + apt_repository "dotdeb" do + uri "http://packages.dotdeb.org" + distribution "squeeze" + components ['all'] + key "http://www.dotdeb.org/dotdeb.gpg" + action :add + end + elsif node.platform_version.to_f >= 5.0 apt_repository "dotdeb" do uri "http://packages.dotdeb.org" distribution "stable"