Skip to content

Commit

Permalink
add squeeze support
Browse files Browse the repository at this point in the history
  • Loading branch information
krivospitsky committed May 23, 2013
1 parent 3dfad9a commit f538ee7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f538ee7

Please sign in to comment.