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 +4 -4
- data/lib/vagrant-mos/action/describe_templates.rb +4 -2
- data/lib/vagrant-mos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53ef944e0c1df000c256f8b5e7ad21156df6a87
|
4
|
+
data.tar.gz: e3a28038db2f2cdca8b0f1662bc1e5df8aeb26c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/vagrant-mos/version.rb
CHANGED