ovirt 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ovirt/inventory.rb +1 -1
- data/lib/ovirt/template.rb +1 -1
- data/lib/ovirt/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb20c16fc490965286768f8a1ec0068a75c0e01
|
4
|
+
data.tar.gz: f86dd519bac3b0b97b42199c232c9975229a5a92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f79e2e12f2faca3d402a7aa5244c28165e8e1ee45b849444b7f46122964575afbdf0ec40351b5bd37f7074ae3ebe847e4539e32eb1cc8bb908ac566c0c29a743
|
7
|
+
data.tar.gz: a9b079f45a56188e8d40e21b8c0e9bd588b0faf3b46c180f5aa8f41622707a22154f416cfb23142a55e8024e78371f2ee90734ed726d8116097952ef4c36a33e
|
data/lib/ovirt/inventory.rb
CHANGED
@@ -77,7 +77,7 @@ module Ovirt
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def get_vm(path)
|
80
|
-
vm_guid = File.basename(path, '.*')
|
80
|
+
vm_guid = ::File.basename(path, '.*')
|
81
81
|
vm = get_resource_by_ems_ref("/api/vms/#{vm_guid}") rescue nil
|
82
82
|
vm = get_resource_by_ems_ref("/api/templates/#{vm_guid}") if vm.blank?
|
83
83
|
return vm
|
data/lib/ovirt/template.rb
CHANGED
@@ -62,7 +62,7 @@ module Ovirt
|
|
62
62
|
storage_domain = disk[:storage_domains].first
|
63
63
|
storage_id = storage_domain && storage_domain[:id]
|
64
64
|
disk_key = disk[:image_id].blank? ? :id : :image_id
|
65
|
-
file_path = storage_id && File.join('/dev', storage_id, disk[disk_key])
|
65
|
+
file_path = storage_id && ::File.join('/dev', storage_id, disk[disk_key])
|
66
66
|
|
67
67
|
tag = "scsi0:#{idx}"
|
68
68
|
cfgHash["#{tag}.present"] = "true"
|
data/lib/ovirt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Frey
|
@@ -11,10 +11,11 @@ authors:
|
|
11
11
|
- Greg Blomquist
|
12
12
|
- Martin Povolny
|
13
13
|
- Matthew Draper
|
14
|
+
- Richard Oliveri
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
|
-
date: 2015-04-
|
18
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
18
19
|
dependencies:
|
19
20
|
- !ruby/object:Gem::Dependency
|
20
21
|
name: bundler
|
@@ -152,6 +153,7 @@ email:
|
|
152
153
|
- gblomqui@redhat.com
|
153
154
|
- mpovolny@redhat.com
|
154
155
|
- matthew@trebex.net
|
156
|
+
- roliveri@redhat.com
|
155
157
|
executables: []
|
156
158
|
extensions: []
|
157
159
|
extra_rdoc_files: []
|