node_location = node['location'] ? node['location']['name'] : nil
if my_location == node_location
if facts = @node.manager.facts[node.name]
- if facts['ec2_local_ipv4']
- hosts[node.name]['ip_address'] = facts['ec2_local_ipv4']
+ if facts['ec2_public_ipv4']
+ hosts[node.name]['ip_address'] = facts['ec2_public_ipv4']
end
end
end
module LeapCli
unless defined?(LeapCli::VERSION)
- VERSION = '1.2.1'
- COMPATIBLE_PLATFORM_VERSION = '0.2.3'..'1.99'
+ VERSION = '1.2.2'
+ COMPATIBLE_PLATFORM_VERSION = '0.2.4'..'1.99'
SUMMARY = 'Command line interface to the LEAP platform'
DESCRIPTION = 'The command "leap" can be used to manage a bevy of servers running the LEAP platform from the comfort of your own home.'
LOAD_PATHS = ['lib', 'vendor/certificate_authority/lib', 'vendor/rsync_command/lib']