nv-client 1.66.0 → 1.66.1
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.
- data/README +1 -1
- data/bin/nv +5 -1
- data/lib/nv-client/version.rb +1 -1
- metadata +3 -3
data/README
CHANGED
data/bin/nv
CHANGED
|
@@ -407,7 +407,11 @@ if $nodegroup
|
|
|
407
407
|
getdata[:includes] = ['child_groups', 'nodes']
|
|
408
408
|
results = nvclient.get_objects(getdata)
|
|
409
409
|
matches = results.keys.grep(/\b#{$nodegroup}\b/i)
|
|
410
|
-
matches.size == 1
|
|
410
|
+
if matches.size == 1
|
|
411
|
+
$nodegroup = matches.first
|
|
412
|
+
else
|
|
413
|
+
abort "more than 1 nodegroup matched"
|
|
414
|
+
end
|
|
411
415
|
puts "Child groups:"
|
|
412
416
|
results[$nodegroup]['child_groups'].sort{|a,b| a['name'] <=> b['name']}.each do |child_group|
|
|
413
417
|
puts " #{child_group['name']}"
|
data/lib/nv-client/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
7
|
- 66
|
|
8
|
-
-
|
|
9
|
-
version: 1.66.
|
|
8
|
+
- 1
|
|
9
|
+
version: 1.66.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- John Tran
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2012-01-
|
|
17
|
+
date: 2012-01-20 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|