miasma-lxd 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/miasma-lxd/version.rb +1 -1
- data/lib/miasma/contrib/lxd/compute.rb +5 -2
- 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: 9794a53e20f4c2d80d3673eef0cf1809c9ea8950
|
4
|
+
data.tar.gz: 3b22faf5acedb0fca9055144a358ef9993e6feba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edde473301a90f4e5b1714b78a28383e9ff0ef4aed231e4a1d402eb917773851f5296482d0aa3701c4ab20a8bd996ee26972cb2b16cded994d82852d054461fc
|
7
|
+
data.tar.gz: 0f440f7434217338cd1f0db19f342421ae747e60c9ea4d8da30a4c9c1b7ec213e46db5e9b557596d313f65005032d8e32e1cbd144cd1c36126b284700f57fdef
|
data/CHANGELOG.md
CHANGED
data/lib/miasma-lxd/version.rb
CHANGED
@@ -113,7 +113,7 @@ module Miasma
|
|
113
113
|
}
|
114
114
|
)
|
115
115
|
wait_for_operation(result.get(:body, :operation))
|
116
|
-
until(server.state == :running)
|
116
|
+
until(server.state == :running || server.state == :terminated)
|
117
117
|
request(
|
118
118
|
:path => "containers/#{server.name}/state",
|
119
119
|
:method => :put,
|
@@ -123,9 +123,12 @@ module Miasma
|
|
123
123
|
}
|
124
124
|
)
|
125
125
|
wait_for_operation(result.get(:body, :operation), 60)
|
126
|
+
server.id = server.name
|
126
127
|
server.reload
|
127
128
|
end
|
128
|
-
server.
|
129
|
+
if(server.state == :terminated)
|
130
|
+
raise "Failed to save server state! (`#{server.name}`)"
|
131
|
+
end
|
129
132
|
server
|
130
133
|
end
|
131
134
|
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.8
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo-websocket
|