knife-maas 1.1.0.pre → 1.1.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/knife/maas/version.rb +1 -1
- data/lib/chef/knife/maas_server_bootstrap.rb +2 -2
- 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: 6dbddc1dd74280771680986e26973068da98a3ec
|
4
|
+
data.tar.gz: 98e85fddcd175175a2a271345a9831fdf8feb457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 803267d927c60da8115810da43e7af855abcfebd8d1255a13748e07e703b1a9c370b27286a5430dd9adbc30faf23d661c1175b755203f3aada4f6778ec48a5a2
|
7
|
+
data.tar.gz: 756d26e82673293a5f327bf73be8f49e631725b71e7adee16193b92d591775634f3e682e7d1c4ad5649773c7f550781809240a4a790782cd270c51a82468dee3
|
@@ -31,8 +31,8 @@ class Chef
|
|
31
31
|
system_id = locate_config_value(:system_id)
|
32
32
|
|
33
33
|
response = access_token.request(:post, "/nodes/?op=acquire")
|
34
|
-
hostname = JSON.parse(
|
35
|
-
system_id = JSON.parse(
|
34
|
+
hostname = JSON.parse(response.body)["hostname"]
|
35
|
+
system_id = JSON.parse(response.body)["system_id"]
|
36
36
|
system_info = access_token.request(:get, "/nodes/#{system_id}/")
|
37
37
|
puts "Acquiring #{hostname} under your account now...."
|
38
38
|
|