Skip to content

Commit

Permalink
Merge pull request #33 from rightscale-cookbooks/st_15_02_remove_clou…
Browse files Browse the repository at this point in the history
…dstack_ip_workaround

Remove logic to ignore cloud/public_ips for server-id on cloudstack.
  • Loading branch information
EfrainOlivares committed Jan 21, 2015
2 parents 128a858 + 96f6730 commit 9eb585e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ rs-mysql Cookbook CHANGELOG

This file is used to list changes made in each version of the rs-mysql cookbook.

v1.1.6
------

- Remove logic to ignore cloud/public_ips for server-id on cloudstack.

v1.1.5
------

Expand Down
3 changes: 1 addition & 2 deletions libraries/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Helper
def self.get_server_ip(node)
instance_ips = Array.new

# For cloudstack, ignore 'cloud/public_ips'
if node['cloud']['public_ips'] && node['cloud']['provider'] != 'cloudstack'
if node['cloud']['public_ips']
instance_ips += node['cloud']['public_ips']
end

Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs and configures a MySQL server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.1.5'
version '1.1.6'

depends 'chef_handler', '~> 1.1.6'
depends 'marker', '~> 1.0.1'
Expand Down

0 comments on commit 9eb585e

Please sign in to comment.