Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #112 from rightscale/sprint12_08_a57667_rhel6_supp…

…ort_cont

[db_mysql] providers/default.rb - fixed variable name
  • Loading branch information...
commit ffbfc3cd885d0eeef0e3f0c5ade2e8f60c9e608c 2 parents 816ac71 + 606e523
@lopaka lopaka authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cookbooks/db_mysql/providers/default.rb
View
2  cookbooks/db_mysql/providers/default.rb
@@ -261,7 +261,7 @@
packages = node[:db_mysql][:client_packages_uninstall]
log " Packages to uninstall: #{packages.join(",")}" unless packages.empty?
packages.each do |p|
- (node[:db_mysql][:version] == "5.5" and node[:platform] =~ /redhat/ and node[:platform_version].to_i == 6 and package == "postfix") ? use_rpm = true : use_rpm = false
+ (node[:db_mysql][:version] == "5.5" and node[:platform] =~ /redhat/ and node[:platform_version].to_i == 6 and p == "postfix") ? use_rpm = true : use_rpm = false
r = package p do
action :nothing
options = "--nodeps" if use_rpm
Please sign in to comment.
Something went wrong with that request. Please try again.