Skip to content

Commit

Permalink
[COOK-633] ensure "cloud" attribute is available
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed Jul 12, 2011
1 parent 532bdd4 commit fc4e3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql/attributes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

default['mysql']['bind_address'] = cloud ? cloud['local_ipv4'] : ipaddress
default['mysql']['bind_address'] = attribute?('cloud') ? cloud['local_ipv4'] : ipaddress
default['mysql']['data_dir'] = "/var/lib/mysql"

case node["platform"]
Expand Down

0 comments on commit fc4e3fb

Please sign in to comment.