Skip to content

Commit

Permalink
Merge pull request #112 from rightscale/sprint12_08_a57667_rhel6_supp…
Browse files Browse the repository at this point in the history
…ort_cont

[db_mysql] providers/default.rb - fixed variable name
  • Loading branch information
Lopaka Delp committed Sep 26, 2012
2 parents 816ac71 + 606e523 commit ffbfc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/db_mysql/providers/default.rb
Expand Up @@ -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
Expand Down

0 comments on commit ffbfc3c

Please sign in to comment.