gogetit 0.13.4 → 0.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d0d6634916c43d284c3c64d56a19402bd52ec28
4
- data.tar.gz: 20182e6ab4f093c106e4ab0c8e7d065f1d10f042
3
+ metadata.gz: ecee5f77cdc8cbc7f05996c0bb1d3c6d5bb9ba2e
4
+ data.tar.gz: 85da378bfafe53b0103c6c612efad20c5a965fa1
5
5
  SHA512:
6
- metadata.gz: bccceea8bedc6dd9a48e87ad5ff38b5614c9c72d16a9e187ce2f2cc86b3f94b33bb09d8bf5afe9b973c34563d143f1497f2462efaa68d015cc4d958958faca06
7
- data.tar.gz: e6ada0bc22654ab719de5929e249644dc02e54baa12ad615403d68caa98b7925a1621346c0ab79e154cae759d20aa2a29d89bac0555018277eccd268154c49b5
6
+ metadata.gz: 6824600ea5d8dbd167d66a16b8771310aa101734ed8e5fff3a14c8b32e37fe0864091e9d495171880f2eae61e568754eb303b0fd830dab828858bdac38a99506
7
+ data.tar.gz: ff0abfc9a125b83c658491ff711380ce65d6ca8ec4667aca13b0df626cbd37b5064f6c175a5c0357f81c979c8ec711096b9c57b4ab1bca18dd9e7ea256600214
@@ -94,7 +94,7 @@ module Gogetit
94
94
  end
95
95
 
96
96
  else
97
- abort('Please check if LXD is installed.')
97
+ abort('Please check if LXD is installed properly.')
98
98
  end
99
99
 
100
100
  config[:libvirt][:nodes].each do |node|
@@ -108,6 +108,7 @@ module Gogetit
108
108
  " your workstation."
109
109
  puts "scp -r ~/.ssh ubuntu@#{`hostname -f`.chop!}:~/"
110
110
  abort("Unable to make connection with #{node[:url]}.")
111
+ require 'pry'; binding.pry
111
112
  end
112
113
  end
113
114
  end
@@ -1,3 +1,3 @@
1
1
  module Gogetit
2
- VERSION = "0.13.4"
2
+ VERSION = "0.13.5"
3
3
  end
@@ -12,7 +12,15 @@ module Gogetit
12
12
 
13
13
  def initialize(conf, maas, logger)
14
14
  @config = conf
15
- @conn = Libvirt::open(config[:libvirt][:nodes][0][:url])
15
+
16
+ begin
17
+ @conn = Libvirt::open(config[:libvirt][:nodes][0][:url])
18
+ rescue Exception => e
19
+ puts e
20
+ abort("Unable to establish connection with"\
21
+ " #{config[:libvirt][:nodes][0][:url]}")
22
+ end
23
+
16
24
  @maas = maas
17
25
  @logger = logger
18
26
  end
@@ -38,10 +38,10 @@ libvirt:
38
38
  nodes:
39
39
  -
40
40
  name: kvm01
41
- url: qemu+ssh://$whoami@kvm01.example.com/system
41
+ url: qemu+ssh://user@kvm01.example.com/system
42
42
  -
43
43
  name: kvm02
44
- url: qemu+ssh://$whoami@kvm02.example.com/system
44
+ url: qemu+ssh://user@kvm02.example.com/system
45
45
  specs:
46
46
  default:
47
47
  vcpu: 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gogetit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Draper