vagrant-mos 0.9.3 → 0.9.4

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: ada26139a6677d9bd56938b1f77b709602633f4b
4
- data.tar.gz: 5d66771b781a2c8d2d97351b80f9b6d6d2b39121
3
+ metadata.gz: b53ef944e0c1df000c256f8b5e7ad21156df6a87
4
+ data.tar.gz: e3a28038db2f2cdca8b0f1662bc1e5df8aeb26c5
5
5
  SHA512:
6
- metadata.gz: 0d6de3737839fc4f82bb0d3e238d2cd5fde93d173491c7cf81e60717fc688bae423d55937f26818ae9c227614d7c54fd7eb3962e45d2dbbcb1261eaaf1561f94
7
- data.tar.gz: f46a8bd1194de2f85167b466dc98055894fea2c9577aeb8036163769689131d6894462fb725027a7f38ab3a4896e632b46b07b74882bc29d8a04c4fa31f86b6d
6
+ metadata.gz: ecd6943953a92c016c76a17c81483bec8bd27b560839ae8331a8967d4f35783c9048f158bf841bbcd733c17bf170bcd9b782f35192d44d615609f34d0fe07e65
7
+ data.tar.gz: 93b17a00c601edff7fbbb092a8fb212e263b1dd3c027bf33aadf45401c58305027d4cc02c74f5a15b38d856ccfa54f3e0cb01ba9e60cbf5730a813d10b103dcc
@@ -9,11 +9,12 @@ module VagrantPlugins
9
9
  def initialize(app, env)
10
10
  @app = app
11
11
  @logger = Log4r::Logger.new("vagrant_mos::action::read_state")
12
+ puts 1
12
13
  end
13
14
 
14
15
  def call(env)
15
16
  env[:machine_state_id] = read_state(env[:mos_compute], env[:machine])
16
-
17
+ puts 2
17
18
  @app.call(env)
18
19
  end
19
20
 
@@ -22,13 +23,14 @@ module VagrantPlugins
22
23
 
23
24
  # Find the templates
24
25
  server = (mos.describe_templates())
26
+ puts 4
25
27
  if server.nil? || [:"deleting"].include?(server["status"])
26
28
  # The machine can't be found
27
29
  @logger.info("Machine not found or terminated, assuming it got destroyed.")
28
30
  machine.id = nil
29
31
  return :not_created
30
32
  end
31
-
33
+ puts 5
32
34
  puts server["Template"]
33
35
 
34
36
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MOS
3
- VERSION = '0.9.3'
3
+ VERSION = '0.9.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangcs2009