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: 1764eba21f6d2d0f1166bdf4b02a440e1680bf85
4
- data.tar.gz: 474a2b8622fccd2378c56205e26d2605001b220c
3
+ metadata.gz: e1d04f871a77d6011f24da561985a87d3bb3e298
4
+ data.tar.gz: 5890d6d6eb5921e6fb1cf376669b15d786e5bb30
5
5
  SHA512:
6
- metadata.gz: 7a4050295966d162317c9de52009f3b9123b439bcdd058af00b5ec7b66677b93fcc9415c4e31d05bfea2d92aca866c37871e69a55111d7d373a001e5001a4094
7
- data.tar.gz: f563ef2af496d54c1638a0cabd0c335113fd81e15de016794243d1eb4942b459be83e4d15b068e8ed1e8b9b1befb33c829aaaf25afa6a4ca634da484f57ac92e
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
- puts "ssh machine id: #{machine.id}"
25
- server = mcs.describe_instances(env[:machine].id)
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
- puts server
42
+
43
43
  while !host_value and attr_name = ssh_attrs.shift
44
44
  begin
45
45
  host_value = server.send(attr_name)
@@ -23,7 +23,7 @@ module VagrantPlugins
23
23
  # Find the machine
24
24
  #puts mcs
25
25
  #puts machine.id
26
- server = mcs.describe_instances(machine.id)
26
+ server = mcs.describe_instances([machine.id])
27
27
  puts "read_state"
28
28
  puts server
29
29
  puts "finish read_state"
@@ -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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MCS
3
- VERSION = '0.8.7'
3
+ VERSION = '0.8.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangchangsheng