]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
change /etc/hosts to use ec2_public_ipv4 (instead of ec2_local_ipv4) if defined....
authorelijah <elijah@ChrUbuntu.(none)>
Fri, 6 Sep 2013 05:36:43 +0000 (22:36 -0700)
committerelijah <elijah@ChrUbuntu.(none)>
Fri, 6 Sep 2013 05:36:43 +0000 (22:36 -0700)
lib/leap_cli/config/macros.rb
lib/leap_cli/version.rb

index 03bd2d552350b6686fb2b658892f0fd511ae9a2d..432e66d8776b71b6f38eeba9b65719d0971da0e9 100644 (file)
@@ -171,8 +171,8 @@ module LeapCli; module Config
           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
index b3a23247505c4f133133e76b1c54e48b67d7cf52..5e2b139b66221d71dd16a2e826670f90aad27e0f 100644 (file)
@@ -1,7 +1,7 @@
 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']