Skip to content

Commit

Permalink
fix regexp, squeeze is the proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamont Granquist committed Nov 14, 2011
1 parent 9dc2f8d commit 5755523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attributes/default.rb
Expand Up @@ -24,7 +24,7 @@

if platform_version.to_f == 5.0
default[:postgresql][:version] = "8.3"
elsif platform_version =~ /.*sid/
elsif platform_version =~ /squeeze/
default[:postgresql][:version] = "8.4"
end

Expand Down
2 changes: 1 addition & 1 deletion recipes/server_debian.rb
Expand Up @@ -41,7 +41,7 @@
case
when platform_version.to_f <= 5.0
service_name "postgresql-#{node.postgresql.version}"
when platform_version =~ /.*sid/
when platform_version =~ /squeeze/
service_name "postgresql"
else
service_name "postgresql"
Expand Down

0 comments on commit 5755523

Please sign in to comment.