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"