miasma-lxd 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/miasma-lxd/version.rb +1 -1
- data/lib/miasma/contrib/lxd/compute.rb +13 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 511a65757dbfaed9abad4c21a058fbfe60298408
|
4
|
+
data.tar.gz: 8133d36c29d5040cca8fbe919e29fc55364a82c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2860741b4e4a875cc9a5a9069646a731a4a16e940cbaa3c84a4791f68759d925a139c77827637cef08071bcbe1722588b188eab450d21739f9388bc4d680cec6
|
7
|
+
data.tar.gz: a5d92f3fde94674284b1ee7ac8caadde8045ed08c431ca7bb1ad1864aa9bd463dae9e0ec44610def49b3122cd8e9ea1cab90e1a144ac379a3a008ce629e37b88
|
data/CHANGELOG.md
CHANGED
data/lib/miasma-lxd/version.rb
CHANGED
@@ -17,7 +17,7 @@ module Miasma
|
|
17
17
|
)
|
18
18
|
|
19
19
|
# @return [Integer]
|
20
|
-
DEFAULT_EXEC_TIMEOUT =
|
20
|
+
DEFAULT_EXEC_TIMEOUT = 30
|
21
21
|
|
22
22
|
# Reload a server model's data
|
23
23
|
#
|
@@ -113,15 +113,18 @@ module Miasma
|
|
113
113
|
}
|
114
114
|
)
|
115
115
|
wait_for_operation(result.get(:body, :operation))
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
:
|
122
|
-
|
123
|
-
|
124
|
-
|
116
|
+
until(server.state == :running)
|
117
|
+
request(
|
118
|
+
:path => "containers/#{server.name}/state",
|
119
|
+
:method => :put,
|
120
|
+
:expects => 202,
|
121
|
+
:json => {
|
122
|
+
:action => :start
|
123
|
+
}
|
124
|
+
)
|
125
|
+
wait_for_operation(result.get(:body, :operation), 60)
|
126
|
+
server.reload
|
127
|
+
end
|
125
128
|
server.id = server.name
|
126
129
|
server
|
127
130
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miasma-lxd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo-websocket
|