Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated setters in mod_cluster/recipes/server.rb for Chef 11 compatibility #5

Open
wants to merge 1 commit into from

2 participants

@anhkind

No description provided.

@swistaczek

@anhkind is this pull request still needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 11, 2013
  1. @anhkind
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod_cluster/recipes/server.rb
View
4 mod_cluster/recipes/server.rb
@@ -32,11 +32,11 @@
# Allow bind_ip entries like ["cloud", "local_ipv4"]
if node[:mod_cluster][:mcpm_bind_ip].is_a?(Array)
- node[:mod_cluster][:mcpm_bind_ip_resolved] = node[:mod_cluster][:mcpm_bind_ip].inject(node) do |hash, key|
+ node.set[:mod_cluster][:mcpm_bind_ip_resolved] = node[:mod_cluster][:mcpm_bind_ip].inject(node) do |hash, key|
hash[key]
end
else
- node[:mod_cluster][:mcpm_bind_ip_resolved] = node[:mod_cluster][:mcpm_bind_ip]
+ node.set[:mod_cluster][:mcpm_bind_ip_resolved] = node[:mod_cluster][:mcpm_bind_ip]
end
[ "slotmem", "proxy_cluster", "manager"].each do |mod|
Something went wrong with that request. Please try again.