kitchen-rax 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/rax.rb +4 -3
- data/lib/kitchen/driver/rax_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: e4900a69b56ac71b3d3020872845bb6f8ad64784
|
4
|
+
data.tar.gz: 812f068a487fa640559475440a67eb5f729dc433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64767fa00f3389394cf40c64c8af7af6df116a64ea92c9b649a109b64104a833d9803b55b9c20b814b1d881ac2442de4372386c9bdd9be6b79fcd1979e7aea97
|
7
|
+
data.tar.gz: 1902fcde2c9ad0d79a976c307b061dcb85360e8091d46d6e1f28027d366067ec309ff5ba4a95fbdb88c141cd007df33fc20ef3b8e4e7a43420498d5a37f05a3a
|
data/lib/kitchen/driver/rax.rb
CHANGED
@@ -39,11 +39,11 @@ module Kitchen
|
|
39
39
|
state[:server_id] = server.id
|
40
40
|
info("Rackspace instance <#{state[:server_id]}> created.")
|
41
41
|
server.wait_for { ready? }
|
42
|
-
|
42
|
+
info("The instance has finished building.")
|
43
43
|
rackconnect_check(server)
|
44
|
+
info("The instance is ready to accept connections on IP #{server.public_ip_address} with password #{server.password}.")
|
44
45
|
state[:hostname] = server.public_ip_address
|
45
46
|
state[:password] = server.password
|
46
|
-
tcp_check(state)
|
47
47
|
rescue Fog::Errors::Error, Excon::Errors::Error => ex
|
48
48
|
raise ActionFailed, ex.message
|
49
49
|
end
|
@@ -86,8 +86,9 @@ module Kitchen
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def rackconnect_check(server)
|
89
|
+
info("Waiting for Rackconnect automation to complete.")
|
89
90
|
server.wait_for { metadata.all['rackconnect_automation_status'] == 'DEPLOYED' }
|
90
|
-
|
91
|
+
info("Rackconnect automation complete.")
|
91
92
|
server.update
|
92
93
|
end
|
93
94
|
|