elbow 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/elbow/capistrano.rb +1 -1
- data/lib/elbow/version.rb +1 -1
- metadata +2 -2
data/lib/elbow/capistrano.rb
CHANGED
@@ -19,7 +19,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
19
19
|
raise "EC2 Load Balancer not found for #{name} in region #{aws_region}" if load_balancer.nil?
|
20
20
|
|
21
21
|
load_balancer.instances.each do |instance|
|
22
|
-
hostname = instance.dns_name
|
22
|
+
hostname = instance.dns_name || instance.private_ip_address
|
23
23
|
server(hostname, *args)
|
24
24
|
end
|
25
25
|
end
|
data/lib/elbow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elbow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|