knife-maas 1.1.3.pre → 1.1.5
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +3 -4
- data/lib/chef/knife/maas/version.rb +1 -1
- data/lib/chef/knife/maas_base.rb +1 -1
- data/lib/chef/knife/maas_server_bootstrap.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb6991e39923bff3d624a37ee31c917eea2f850f
|
4
|
+
data.tar.gz: 31e0526c31401c12c5d0a60a61ea081c6564e37e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0adc4dc1a6dba84643b097e5808de87735c08d68804135b8a1f3de251ddd8dc70793d8bf737a3ec1ee6793ba0a0812754eaf22a013254a03adfdf18d4c1f7fc0
|
7
|
+
data.tar.gz: f6662e9dbad65642d1fb6bf3e53ed9a3be125b9e886eb6bd8f8c324d9aefab3f7258916a9f01cfd252c82e1bc1767abfb1f9b66fd7bf88d98b89ebe82137a7e1
|
data/CHANGELOG.md
CHANGED
@@ -1,2 +1,11 @@
|
|
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
|
8
|
+
|
9
|
+
|
1
10
|
## v1.0.0
|
2
11
|
* initial public release
|
data/README.md
CHANGED
@@ -36,16 +36,15 @@ gem install knife-maas
|
|
36
36
|
|
37
37
|
`knife maas server <subcommand> --help` - is available and there are other options that aren't listed here. These are the most commonly used ones.
|
38
38
|
|
39
|
-
`knife maas server acquire
|
39
|
+
`knife maas server acquire` - Acquires a node under your account
|
40
40
|
|
41
|
-
`knife maas server bootstrap
|
41
|
+
`knife maas server bootstrap` - Acquires and starts a node under your account, and bootstraps chef on it with your default settings
|
42
42
|
|
43
43
|
`knife maas server start -s NODE-(UUID)` - Starts up the node
|
44
44
|
|
45
45
|
`knife maas server stop -s NODE-(UUID)` - Stops the node
|
46
46
|
|
47
|
-
`knife maas server release -s NODE-(UUID) -h HOSTNAME`- Releases the node and puts it back in the available resources. This also has a `-P` command to purge it from
|
48
|
-
your chef server.
|
47
|
+
`knife maas server release -s NODE-(UUID) -h HOSTNAME`- Releases the node and puts it back in the available resources. This also has a `-P` command to purge it from your chef server.
|
49
48
|
|
50
49
|
`knife maas server delete -s NODE-(UUID) -h HOSTNAME` - Removes the node completely from MAAS. This also has a `-P` command to purge it from your chef server.
|
51
50
|
|
data/lib/chef/knife/maas_base.rb
CHANGED
@@ -36,11 +36,11 @@ class Chef
|
|
36
36
|
|
37
37
|
# hack to ensure the node have had time to spin up
|
38
38
|
print(".")
|
39
|
-
sleep
|
39
|
+
sleep 30
|
40
40
|
print(".")
|
41
41
|
|
42
42
|
response = access_token.request(:post, "/nodes/#{system_id}/?op=start")
|
43
|
-
puts "
|
43
|
+
puts "\nStarting up #{hostname} now...."
|
44
44
|
|
45
45
|
# hack to ensure the nodes have had time to spin up
|
46
46
|
print(".")
|
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.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JJ Asghar
|
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- - "
|
126
|
+
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
128
|
+
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
131
|
rubygems_version: 2.2.2
|