vagrant-mcs 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1d04f871a77d6011f24da561985a87d3bb3e298
|
4
|
+
data.tar.gz: 5890d6d6eb5921e6fb1cf376669b15d786e5bb30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5309e34e097026f01767eefd4f0c036cbd046e45facc38f96a80b53e7d36f813e83db9ac73e394ea8a564de909f2fb0d4d4418e1521bf63b4060c3b4073e38
|
7
|
+
data.tar.gz: f1f4ffe23744ef2044649529a38eec6e828cd7f6df9640a648fdc78d6f5ad02379f1671641eb4edb30e3a3fff410440c9421d1d8cca5941c2fd916b7bfe3d20c
|
@@ -21,8 +21,8 @@ module VagrantPlugins
|
|
21
21
|
return nil if machine.id.nil?
|
22
22
|
|
23
23
|
# Find the machine
|
24
|
-
|
25
|
-
server
|
24
|
+
server = mcs.describe_instances([machine.id])
|
25
|
+
puts server
|
26
26
|
#server = mcs.servers.get(machine.id)
|
27
27
|
if server.nil?
|
28
28
|
# The machine can't be found
|
@@ -39,7 +39,7 @@ module VagrantPlugins
|
|
39
39
|
ssh_attrs = (Array(ssh_host_attribute) + ssh_attrs).uniq if ssh_host_attribute
|
40
40
|
# try each attribute, get out on first value
|
41
41
|
host_value = nil
|
42
|
-
|
42
|
+
|
43
43
|
while !host_value and attr_name = ssh_attrs.shift
|
44
44
|
begin
|
45
45
|
host_value = server.send(attr_name)
|
@@ -126,7 +126,6 @@ module VagrantPlugins
|
|
126
126
|
|
127
127
|
# Immediately save the ID since it is created at this point.
|
128
128
|
env[:machine].id = server['instanceId']
|
129
|
-
puts env[:machine].id
|
130
129
|
|
131
130
|
# Wait for the instance to be ready first
|
132
131
|
env[:metrics]["instance_ready_time"] = Util::Timer.time do
|
data/lib/vagrant-mcs/version.rb
CHANGED