knife-maas 1.2.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2827197e487f6127acddd0368ac0f40de6a0b765
4
- data.tar.gz: 61d537f16f95d92077e8ee3021674a0caae9a739
3
+ metadata.gz: bda6744898a63036dc18093aa32cd860b1aaf108
4
+ data.tar.gz: 67a1b570ea3856377d599faf11e7debee3385831
5
5
  SHA512:
6
- metadata.gz: 486afb9e8efbd59bf9a139250daa3d3dcb314181702503823b38266b9e8a76cc2b02a8b15ea78e5ec768a8dd589ab163c92da50657a124158c677ce0dc76b156
7
- data.tar.gz: 73c5a70afdb4b76463177215ec4a63a2fe45a9c599cc1cf38059553094c84c733081c079b638983b108ebc9dfad422b7de5a9aaafb3837e77ed4bec64211d0b8
6
+ metadata.gz: 9c8202250766d95e264f4910f749746b31c4ca62d03dd294487f30888547fb1abc00bbfe339af81db20fe351f5429811ae92cd976bc1eca2a864672ccd586526
7
+ data.tar.gz: fd9d00bcdf21d43e54e79176ec1af5c425554a27403acc3c51e104f38ca36bb06db5cc8c1b9f21a6a6fc134b27ceb1d1b11e7f345aadc47904056ea6f9179bc6
@@ -1,11 +1,65 @@
1
- ## v1.1.0
2
- * Removed the ability to specify the specific host you'd like to acquire
3
- * Added a check for releasing to verify both the hostname and system uuid to release it
4
- * Removed the ability to specify the bootstrap command on a node, you now bootstrap what MAAS gives you
5
- * Updated LICENSE.txt
6
- * Fixed travis.yml etc
7
- * Tightend up the gem dependencies
1
+ # Change Log
8
2
 
3
+ ## [v2.0.0](https://github.com/chef-partners/knife-maas/tree/v2.0.0)
9
4
 
10
- ## v1.0.0
11
- * initial public release
5
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.2.0...v2.0.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Update to support MaaS API 2.0 [\#22](https://github.com/chef-partners/knife-maas/pull/22) ([tpmullan](https://github.com/tpmullan))
10
+ - handle ENETUNREACH during bootstrap [\#20](https://github.com/chef-partners/knife-maas/pull/20) ([cheekyhalf](https://github.com/cheekyhalf))
11
+ - fixed variable in case else on line 39 [\#19](https://github.com/chef-partners/knife-maas/pull/19) ([cchamp-msft](https://github.com/cchamp-msft))
12
+
13
+ ## [v1.2.0](https://github.com/chef-partners/knife-maas/tree/v1.2.0) (2015-03-20)
14
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.1.5...v1.2.0)
15
+
16
+ **Closed issues:**
17
+
18
+ - The ability to scope the acquire to zone/hostname/memory etc [\#14](https://github.com/chef-partners/knife-maas/issues/14)
19
+ - acquire shouldn't require a specific machine [\#6](https://github.com/chef-partners/knife-maas/issues/6)
20
+
21
+ **Merged pull requests:**
22
+
23
+ - To allow you to select via hostname or zone [\#16](https://github.com/chef-partners/knife-maas/pull/16) ([jjasghar](https://github.com/jjasghar))
24
+
25
+ ## [v1.1.5](https://github.com/chef-partners/knife-maas/tree/v1.1.5) (2015-03-17)
26
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.1.3.pre...v1.1.5)
27
+
28
+ ## [v1.1.3.pre](https://github.com/chef-partners/knife-maas/tree/v1.1.3.pre) (2015-03-17)
29
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.1.2.pre...v1.1.3.pre)
30
+
31
+ ## [v1.1.2.pre](https://github.com/chef-partners/knife-maas/tree/v1.1.2.pre) (2015-03-17)
32
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.1.1.pre...v1.1.2.pre)
33
+
34
+ ## [v1.1.1.pre](https://github.com/chef-partners/knife-maas/tree/v1.1.1.pre) (2015-03-17)
35
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/v1.1.0.pre...v1.1.1.pre)
36
+
37
+ ## [v1.1.0.pre](https://github.com/chef-partners/knife-maas/tree/v1.1.0.pre) (2015-03-17)
38
+ [Full Changelog](https://github.com/chef-partners/knife-maas/compare/1.0.0...v1.1.0.pre)
39
+
40
+ **Closed issues:**
41
+
42
+ - Travis badge [\#10](https://github.com/chef-partners/knife-maas/issues/10)
43
+ - Dependencies need cleanup [\#9](https://github.com/chef-partners/knife-maas/issues/9)
44
+ - License should be Apache [\#8](https://github.com/chef-partners/knife-maas/issues/8)
45
+
46
+ **Merged pull requests:**
47
+
48
+ - 1.1.0.pre [\#13](https://github.com/chef-partners/knife-maas/pull/13) ([jjasghar](https://github.com/jjasghar))
49
+ - 1.0.1 [\#12](https://github.com/chef-partners/knife-maas/pull/12) ([jjasghar](https://github.com/jjasghar))
50
+ - Add travis and make sure tests pass. [\#11](https://github.com/chef-partners/knife-maas/pull/11) ([cmluciano](https://github.com/cmluciano))
51
+
52
+ ## [1.0.0](https://github.com/chef-partners/knife-maas/tree/1.0.0) (2015-02-17)
53
+ **Closed issues:**
54
+
55
+ - Deploying even if deployed. [\#3](https://github.com/chef-partners/knife-maas/issues/3)
56
+
57
+ **Merged pull requests:**
58
+
59
+ - Pedantry is its own reward. [\#4](https://github.com/chef-partners/knife-maas/pull/4) ([mattray](https://github.com/mattray))
60
+ - Bootstrap [\#2](https://github.com/chef-partners/knife-maas/pull/2) ([jjasghar](https://github.com/jjasghar))
61
+ - Acquire [\#1](https://github.com/chef-partners/knife-maas/pull/1) ([jjasghar](https://github.com/jjasghar))
62
+
63
+
64
+
65
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -9,6 +9,8 @@ this plugin has been tested against.
9
9
 
10
10
  This also assumes you have >= 1.7.1 of MAAS installed, and >= [Chef](http://chef.io) 12 installed.
11
11
 
12
+ The version `2.0.0`+ of this knife plugin, requires version 2.0 of MAAS API.
13
+
12
14
  Please refer to the [CHANGELOG](CHANGELOG.md) for version history.
13
15
 
14
16
  ## Installation
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "bundler", "~> 1.7"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec"
27
+ spec.add_development_dependency "github_changelog_generator"
27
28
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Knife
3
3
  module Maas
4
- VERSION = "1.2.0"
4
+ VERSION = "2.0.0"
5
5
  end
6
6
  end
7
7
  end
@@ -145,6 +145,9 @@ class Chef
145
145
  rescue Errno::EHOSTUNREACH
146
146
  sleep 2
147
147
  false
148
+ rescue Errno::ENETUNREACH
149
+ sleep 2
150
+ false
148
151
  ensure
149
152
  tcp_socket && tcp_socket.close
150
153
  end
@@ -36,7 +36,7 @@ class Chef
36
36
  when "6"
37
37
  ui.color("deployed", :green)
38
38
  else
39
- ui.color(state, :green)
39
+ ui.color(status, :green)
40
40
  end
41
41
  end
42
42
  # NEW = 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-maas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JJ Asghar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: github_changelog_generator
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: A knife plugin to interact with MAAS
84
98
  email:
85
99
  - jj@chef.io
@@ -128,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
142
  version: '0'
129
143
  requirements: []
130
144
  rubyforge_project:
131
- rubygems_version: 2.2.2
145
+ rubygems_version: 2.5.1
132
146
  signing_key:
133
147
  specification_version: 4
134
148
  summary: A knife plugin to interact with MAAS