kitchen-zcloudjp 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/kitchen/driver/zcloudjp.rb +4 -3
- data/lib/kitchen/driver/zcloudjp_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTE1NWFmYmU0MjlkZjExM2U4Y2UyNjcwNWM3OTc0NGNhY2VhOGE0ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWZjMTQ3ZDdiMmUxNzQwNzUyNDdhODljY2I0ZTI0NzFiY2YyYTUzOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2MxNjljMTlmNGVjNDg4MDgxOGYxY2QwNWYyM2NkYWQzMGU0MGE5ZmEyNDE1
|
10
|
+
MmE0YWM1OThkNTZkMTYyMTQ2M2IzMDJhOWMyMzY3YzZmZWMzMDU1NjYzYzhl
|
11
|
+
YWFmYjJmNjk4N2FmMTc2YzE4N2IxNDViOGM3ZTZjMjdlYTMwYmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjAzMzc2MmY3MzE3N2I0NmU0NThlZThiMmIzMGI1MDI5Mjg3ZjFiZjNiYmFm
|
14
|
+
ZTRhYjMzNjZmNDEyNTc2MmZmN2Q5M2Y3NjJhZWE1NTc2MzRiMzMzNzFkMjJh
|
15
|
+
ODU0MDJlMzc3ZGIyNDU4MDlhZGU1YTRmMWZiMzRlOTkwMmFkZTE=
|
@@ -33,7 +33,7 @@ module Kitchen
|
|
33
33
|
required_config :api_key
|
34
34
|
|
35
35
|
def create(state)
|
36
|
-
server = create_server
|
36
|
+
server = create_server(state)
|
37
37
|
state[:server_id] = server.id
|
38
38
|
|
39
39
|
info("SmartMachine <#{state[:server_id]}> created.")
|
@@ -113,10 +113,11 @@ module Kitchen
|
|
113
113
|
)
|
114
114
|
end
|
115
115
|
|
116
|
-
def create_server
|
116
|
+
def create_server(state)
|
117
117
|
client.machine.create(
|
118
118
|
:dataset => config[:dataset],
|
119
|
-
:package => config[:package]
|
119
|
+
:package => config[:package],
|
120
|
+
:name => ['tk', @instance.suite.name.to_s, @instance.platform.name.to_s].join('-').slice(0,20)
|
120
121
|
)
|
121
122
|
end
|
122
123
|
|