Skip to content

Commit

Permalink
Fixed bug when using Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkare committed Apr 24, 2012
1 parent 9eb99ac commit 4081119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/server_debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
end
when "debian"
case
when platform_version.to_f <= 5.0
when node['platform_version'].to_f <= 5.0
service_name "postgresql-#{node['postgresql']['version']}"
when platform_version =~ /squeeze/
when node['platform_version'] =~ /squeeze/
service_name "postgresql"
else
service_name "postgresql"
Expand Down

0 comments on commit 4081119

Please sign in to comment.