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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24e665f5001dea4aca42ce419a0fe2e101661de7
4
- data.tar.gz: a881411726d23ff72a16009e40e75cc7941877e9
3
+ metadata.gz: 6dbddc1dd74280771680986e26973068da98a3ec
4
+ data.tar.gz: 98e85fddcd175175a2a271345a9831fdf8feb457
5
5
  SHA512:
6
- metadata.gz: facf8758b43b60d589063bb5c9bd54626a30d91a918ac1bb106df22339d0566c662f1fce4e51d0514ae05a6b0fe7d2c4cf7680f134965f11d86f43dbd3ac82e0
7
- data.tar.gz: fb16e0118b3735bc5ee753509d9c090ba60eb65041215f0f6c0ab1e7948602b7fa38a9e455e6727eaa284852229018f4554faf327df0b5ebfde9bf5736c72de8
6
+ metadata.gz: 803267d927c60da8115810da43e7af855abcfebd8d1255a13748e07e703b1a9c370b27286a5430dd9adbc30faf23d661c1175b755203f3aada4f6778ec48a5a2
7
+ data.tar.gz: 756d26e82673293a5f327bf73be8f49e631725b71e7adee16193b92d591775634f3e682e7d1c4ad5649773c7f550781809240a4a790782cd270c51a82468dee3
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Knife
3
3
  module Maas
4
- VERSION = "1.1.0.pre"
4
+ VERSION = "1.1.1.pre"
5
5
  end
6
6
  end
7
7
  end
@@ -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(system_info.body)["hostname"]
35
- system_id = JSON.parse(system_info.body)["system_id"]
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-maas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre
4
+ version: 1.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - JJ Asghar