gogetit 0.22.6 → 0.22.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gogetit.rb +9 -1
- data/lib/gogetit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56768c5597c785d376b338f377fc5e4ed1e80513ada5c78bd1a2b8d766ebeaa6
|
4
|
+
data.tar.gz: 961f3621c7b86aa4f3f7f057994c61f4d3952038215395b489ba7fe57483f06b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f703dce8b2d9f0cb5ee54a6fec244aa32988e5c6e84ef1b5af86ceb9af09793c06e9e78aa149ed1c56749641b51d7db7b7ecdebe785af8a80c6c8dc199ad7292
|
7
|
+
data.tar.gz: c37784f2ff981c7a1c50008ddffb17bd3bb15d9d36312070aff9b93c4c1e37675b6ac75d6750b65fd4545b537fbd3ba79694e1fc4531358570a259ed141fc65a
|
data/lib/gogetit.rb
CHANGED
@@ -49,7 +49,15 @@ module Gogetit
|
|
49
49
|
|
50
50
|
# for Libvirt(KVM), machines in pods controlled by MAAS
|
51
51
|
conn = maas.conn
|
52
|
-
|
52
|
+
begin
|
53
|
+
machines = conn.request(:get, ['machines'])
|
54
|
+
rescue StandardError => e
|
55
|
+
puts e
|
56
|
+
abort(
|
57
|
+
"This method depends on MAAS with maas-client.\n"\
|
58
|
+
"Please check if MAAS or maas-client is configured properly."
|
59
|
+
)
|
60
|
+
end
|
53
61
|
config[:libvirt][:nodes].each do |node|
|
54
62
|
puts "Listing KVM instances on #{node[:url]}..."
|
55
63
|
machines.each do |machine|
|
data/lib/gogetit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gogetit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Draper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|