vagrant-mcs 0.8.31 → 0.8.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vagrant-mcs/action.rb +2 -2
- data/lib/vagrant-mcs/action/stop_instance.rb +2 -2
- data/lib/vagrant-mcs/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: fe43ebd5f9a93cf505632cf1e832cfe2c6809182
|
|
4
|
+
data.tar.gz: fc225b77a0572815be840d4b53af705f52c11c06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77b1b1d18900a419be484480820762d09f971ced9ce19089d9a2471a7d109c25992fc79ac1b7b63e09e980afbb5a97b2d57e11afa4194126d9da752c419aaebe
|
|
7
|
+
data.tar.gz: a2d32d13006741fb9056332d76463fd864162a5c128161fa51e7baf409f67c24207a3262d302500e587a86d4cc07669842e5c9f4169106b3083098371defbca5
|
data/lib/vagrant-mcs/action.rb
CHANGED
|
@@ -174,13 +174,13 @@ module VagrantPlugins
|
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
b2.use action_halt
|
|
177
|
-
b2.use Call, WaitForState, :
|
|
177
|
+
b2.use Call, WaitForState, :ready, 120 do |env2, b3|
|
|
178
178
|
if env2[:result]
|
|
179
179
|
#b3.use action_up
|
|
180
180
|
b3.use StartInstance
|
|
181
181
|
else
|
|
182
182
|
# TODO we couldn't reach :stopped, what now?
|
|
183
|
-
b3.use StartInstance
|
|
183
|
+
#b3.use StartInstance
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
186
|
end
|
|
@@ -13,8 +13,8 @@ module VagrantPlugins
|
|
|
13
13
|
def call(env)
|
|
14
14
|
#server = env[:mcs_compute].servers.get(env[:machine].id)
|
|
15
15
|
#server = (env[:mcs_compute].describe_instances([env[:machine].id]))["Instance"]
|
|
16
|
-
if env[:machine].state.id == :
|
|
17
|
-
env[:ui].info(I18n.t("vagrant_mcs.
|
|
16
|
+
if env[:machine].state.id == :ready
|
|
17
|
+
env[:ui].info(I18n.t("vagrant_mcs.already stopped"))
|
|
18
18
|
else
|
|
19
19
|
env[:ui].info(I18n.t("vagrant_mcs.stopping"))
|
|
20
20
|
#server.stop(!!env[:force_halt])
|
data/lib/vagrant-mcs/version.rb
CHANGED