vagrant-ovirt4 2.0.0 → 2.1.0
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 +31 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +127 -12
- data/README.md +7 -0
- data/SECURITY.md +23 -0
- data/lib/vagrant-ovirt4.rb +4 -0
- data/lib/vagrant-ovirt4/action/connect_ovirt.rb +18 -6
- data/lib/vagrant-ovirt4/action/snapshot_list.rb +15 -19
- data/lib/vagrant-ovirt4/errors.rb +4 -0
- data/lib/vagrant-ovirt4/version.rb +1 -1
- data/locales/en.yml +2 -0
- data/spec/vagrant-ovirt4/config_spec.rb +26 -6
- data/vagrant-ovirt4.gemspec +2 -2
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 032a8a924b7d7f1870fc319f4d4ed13f33910d0bb6bccde70fce977f25c8cafd
|
4
|
+
data.tar.gz: d3495cebef0d0daf9c5d2d9bbd09a3c271844844c4a334258049dc55a0f31062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b04cf43df3269c745ffb0bb7d503f9f192da7e3b7939d2b2428e3597684e4ed6dbebca051c16ff20529415f4a85ea506070658d84089e47bf9fbf9e16ae8c28
|
7
|
+
data.tar.gz: e6f60e4dbb661bcfa8cc39f8cd0fcb4633949490abf8910a5fc8f792c9ef45451aff4d6aed449e4e52e7d1cb020f6327a1dcf2d4743a1a342463263cf114782c
|
data/CHANGELOG
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
v2.1.0
|
2
|
+
41b8c63 Move where rspec-mocks is included.
|
3
|
+
0015c45 Update engine binding.
|
4
|
+
b2a0015 Not actually using the vagrant-spec thing.
|
5
|
+
a598043 Address the change in parsing.
|
6
|
+
0ad3b72 Get the tests runnable.
|
7
|
+
a8f1d5f Test the connection before passing it on for use.
|
8
|
+
8adf277 list only snapshots for vm's defined in the environment
|
9
|
+
a2ee89b Add security.md
|
10
|
+
3399aab Add CHANGELOG
|
11
|
+
|
12
|
+
v2.0.0
|
13
|
+
|
14
|
+
1810832 Attempt to fix gem push
|
15
|
+
9d1ef6b handle fallback with rescue
|
16
|
+
6cc0f90 fix for backwards compatibility with ovirt 4.3
|
17
|
+
2298314 Make no assumptions on biosdevname/systemd device naming
|
18
|
+
1d870df Support for network interfaces named by biosdevname
|
19
|
+
5c8035a add missing translation
|
20
|
+
f9b6e28 fixed double disconnect due to action_up used in combination wth with_ovirt
|
21
|
+
96f17c0 fixed doule disconnect on reload due to use of with_ovirt
|
22
|
+
697e3d4 fixed inconsistent usages of memory units (MB/MiB and GB/GiB)
|
23
|
+
5a68e8b vagrant destroy only calls halt if vm is up
|
24
|
+
8772ee9 fix for erroneous rsync and state error due to missing ip address
|
25
|
+
5b49114 Bump nokogiri from 1.10.9 to 1.11.0
|
26
|
+
b8314fb fix for waiting indefinitely for an ip when deploying on ovirt 4.4
|
27
|
+
722f2e0 Default to rsync instead of NFS like before
|
28
|
+
2582f53 Use vagrant builtin rsync folder sync
|
29
|
+
84c6c53 In case graceful shutdown failed, fallback to stopping VM immediately
|
30
|
+
640d640 Fix up dependencies
|
31
|
+
029b53b give guests a chance to shutdown gracefully before pulling the plug with a poweroff
|
data/Gemfile
CHANGED
@@ -3,10 +3,13 @@ source 'http://rubygems.org'
|
|
3
3
|
group :development do
|
4
4
|
gem 'rake'
|
5
5
|
gem 'rspec-core'
|
6
|
+
gem 'rspec-its'
|
7
|
+
gem "rspec-mocks", "~> 3.5"
|
6
8
|
gem 'pry'
|
7
9
|
gem 'byebug'
|
8
10
|
gem 'pry-byebug'
|
9
11
|
gem 'rake-release'
|
12
|
+
gem "vagrant", git: "https://github.com/hashicorp/vagrant.git"
|
10
13
|
end
|
11
14
|
|
12
15
|
group :plugins do
|
data/Gemfile.lock
CHANGED
@@ -1,38 +1,150 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/hashicorp/vagrant.git
|
3
|
+
revision: 22795b161bf67a4c0ebbe32c9ce8777cb888c4a7
|
4
|
+
specs:
|
5
|
+
vagrant (2.2.11.dev)
|
6
|
+
bcrypt_pbkdf (~> 1.0.0)
|
7
|
+
childprocess (~> 4.0.0)
|
8
|
+
ed25519 (~> 1.2.4)
|
9
|
+
erubi
|
10
|
+
hashicorp-checkpoint (~> 0.1.5)
|
11
|
+
i18n (~> 1.8)
|
12
|
+
listen (~> 3.1)
|
13
|
+
log4r (~> 1.1.9, < 1.1.11)
|
14
|
+
mime (~> 0.4.4)
|
15
|
+
net-scp (~> 1.2.0)
|
16
|
+
net-sftp (~> 3.0)
|
17
|
+
net-ssh (~> 6.0)
|
18
|
+
rb-kqueue (~> 0.2.0)
|
19
|
+
rest-client (>= 1.6.0, < 3.0)
|
20
|
+
ruby_dep (<= 1.3.1)
|
21
|
+
rubyzip (~> 2.0)
|
22
|
+
vagrant_cloud (~> 2.0.3)
|
23
|
+
wdm (~> 0.1.0)
|
24
|
+
winrm (>= 2.3.4, < 3.0)
|
25
|
+
winrm-elevated (>= 1.2.1, < 2.0)
|
26
|
+
winrm-fs (>= 1.3.4, < 2.0)
|
27
|
+
|
1
28
|
PATH
|
2
29
|
remote: .
|
3
30
|
specs:
|
4
|
-
vagrant-ovirt4 (2.
|
31
|
+
vagrant-ovirt4 (2.1.0)
|
5
32
|
filesize (~> 0)
|
6
|
-
nokogiri (
|
7
|
-
ovirt-engine-sdk (~> 4
|
33
|
+
nokogiri (~> 1)
|
34
|
+
ovirt-engine-sdk (~> 4)
|
8
35
|
|
9
36
|
GEM
|
10
37
|
remote: http://rubygems.org/
|
11
38
|
specs:
|
39
|
+
bcrypt_pbkdf (1.0.1)
|
40
|
+
builder (3.2.4)
|
12
41
|
byebug (11.1.3)
|
13
|
-
|
42
|
+
childprocess (4.0.0)
|
43
|
+
coderay (1.1.3)
|
44
|
+
concurrent-ruby (1.1.8)
|
45
|
+
diff-lcs (1.4.4)
|
46
|
+
domain_name (0.5.20190701)
|
47
|
+
unf (>= 0.0.5, < 1.0.0)
|
48
|
+
ed25519 (1.2.4)
|
49
|
+
erubi (1.10.0)
|
50
|
+
ffi (1.15.0)
|
14
51
|
filesize (0.2.0)
|
52
|
+
gssapi (1.3.1)
|
53
|
+
ffi (>= 1.0.1)
|
54
|
+
gyoku (1.3.1)
|
55
|
+
builder (>= 2.1.2)
|
56
|
+
hashicorp-checkpoint (0.1.5)
|
57
|
+
http-cookie (1.0.3)
|
58
|
+
domain_name (~> 0.5)
|
59
|
+
httpclient (2.8.3)
|
60
|
+
i18n (1.8.10)
|
61
|
+
concurrent-ruby (~> 1.0)
|
15
62
|
json (2.5.1)
|
63
|
+
listen (3.5.1)
|
64
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
65
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
66
|
+
little-plugger (1.1.4)
|
67
|
+
log4r (1.1.10)
|
68
|
+
logging (2.3.0)
|
69
|
+
little-plugger (~> 1.1)
|
70
|
+
multi_json (~> 1.14)
|
16
71
|
method_source (1.0.0)
|
72
|
+
mime (0.4.4)
|
73
|
+
mime-types (3.3.1)
|
74
|
+
mime-types-data (~> 3.2015)
|
75
|
+
mime-types-data (3.2021.0225)
|
17
76
|
mini_portile2 (2.5.0)
|
18
|
-
|
77
|
+
multi_json (1.15.0)
|
78
|
+
net-scp (1.2.1)
|
79
|
+
net-ssh (>= 2.6.5)
|
80
|
+
net-sftp (3.0.0)
|
81
|
+
net-ssh (>= 5.0.0, < 7.0.0)
|
82
|
+
net-ssh (6.1.0)
|
83
|
+
netrc (0.11.0)
|
84
|
+
nokogiri (1.11.3)
|
19
85
|
mini_portile2 (~> 2.5.0)
|
20
86
|
racc (~> 1.4)
|
21
|
-
|
22
|
-
|
23
|
-
|
87
|
+
nori (2.6.0)
|
88
|
+
ovirt-engine-sdk (4.4.1)
|
89
|
+
json (>= 1, < 3)
|
90
|
+
pry (0.14.1)
|
24
91
|
coderay (~> 1.1)
|
25
92
|
method_source (~> 1.0)
|
26
|
-
pry-byebug (3.
|
93
|
+
pry-byebug (3.8.0)
|
27
94
|
byebug (~> 11.0)
|
28
|
-
pry (~> 0.
|
95
|
+
pry (~> 0.10)
|
29
96
|
racc (1.5.2)
|
30
97
|
rake (13.0.3)
|
31
|
-
rake-release (1.
|
98
|
+
rake-release (1.3.0)
|
32
99
|
bundler (>= 1.11, < 3)
|
100
|
+
rb-fsevent (0.10.4)
|
101
|
+
rb-inotify (0.10.1)
|
102
|
+
ffi (~> 1.0)
|
103
|
+
rb-kqueue (0.2.6)
|
104
|
+
ffi (>= 0.5.0)
|
105
|
+
rest-client (2.0.2)
|
106
|
+
http-cookie (>= 1.0.2, < 2.0)
|
107
|
+
mime-types (>= 1.16, < 4.0)
|
108
|
+
netrc (~> 0.8)
|
33
109
|
rspec-core (3.10.1)
|
34
110
|
rspec-support (~> 3.10.0)
|
35
|
-
rspec-
|
111
|
+
rspec-expectations (3.10.1)
|
112
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
113
|
+
rspec-support (~> 3.10.0)
|
114
|
+
rspec-its (1.3.0)
|
115
|
+
rspec-core (>= 3.0.0)
|
116
|
+
rspec-expectations (>= 3.0.0)
|
117
|
+
rspec-mocks (3.10.2)
|
118
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
119
|
+
rspec-support (~> 3.10.0)
|
120
|
+
rspec-support (3.10.2)
|
121
|
+
ruby_dep (1.3.1)
|
122
|
+
rubyntlm (0.6.3)
|
123
|
+
rubyzip (2.3.0)
|
124
|
+
unf (0.1.4)
|
125
|
+
unf_ext
|
126
|
+
unf_ext (0.0.7.7)
|
127
|
+
vagrant_cloud (2.0.3)
|
128
|
+
rest-client (~> 2.0.2)
|
129
|
+
wdm (0.1.1)
|
130
|
+
winrm (2.3.6)
|
131
|
+
builder (>= 2.1.2)
|
132
|
+
erubi (~> 1.8)
|
133
|
+
gssapi (~> 1.2)
|
134
|
+
gyoku (~> 1.0)
|
135
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
136
|
+
logging (>= 1.6.1, < 3.0)
|
137
|
+
nori (~> 2.0)
|
138
|
+
rubyntlm (~> 0.6.0, >= 0.6.3)
|
139
|
+
winrm-elevated (1.2.3)
|
140
|
+
erubi (~> 1.8)
|
141
|
+
winrm (~> 2.0)
|
142
|
+
winrm-fs (~> 1.0)
|
143
|
+
winrm-fs (1.3.5)
|
144
|
+
erubi (~> 1.8)
|
145
|
+
logging (>= 1.6.1, < 3.0)
|
146
|
+
rubyzip (~> 2.0)
|
147
|
+
winrm (~> 2.0)
|
36
148
|
|
37
149
|
PLATFORMS
|
38
150
|
ruby
|
@@ -44,6 +156,9 @@ DEPENDENCIES
|
|
44
156
|
rake
|
45
157
|
rake-release
|
46
158
|
rspec-core
|
159
|
+
rspec-its
|
160
|
+
rspec-mocks (~> 3.5)
|
161
|
+
vagrant!
|
47
162
|
vagrant-ovirt4!
|
48
163
|
|
49
164
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -145,3 +145,10 @@ end
|
|
145
145
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
146
146
|
4. Push to the branch (`git push origin my-new-feature`)
|
147
147
|
5. Create new Pull Request
|
148
|
+
|
149
|
+
Some pointers:
|
150
|
+
|
151
|
+
* To install the requirements when developing:
|
152
|
+
* `bundle install`
|
153
|
+
* To run the test suite:
|
154
|
+
* `bundle exec rspec spec/`
|
data/SECURITY.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
## Security
|
2
|
+
|
3
|
+
If you believe you have found a security vulnerability, please report it to me as described below.
|
4
|
+
|
5
|
+
## Reporting Security Issues
|
6
|
+
|
7
|
+
**Please do not report security vulnerabilities through public GitHub issues.** Instead, please report them to me directly at [myoung34@my.apsu.edu](mailto:myoung34@my.apsu.edu).
|
8
|
+
|
9
|
+
If you'd like to communicate securely, my keybase is [here](https://keybase.io/3vilpenguin)
|
10
|
+
|
11
|
+
Please include the requested information listed below (as much as you can provide) to help better understand the nature and scope of the possible issue:
|
12
|
+
|
13
|
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
14
|
+
* Full paths of source file(s) related to the manifestation of the issue
|
15
|
+
* The location of the affected source code (tag/branch/commit or direct URL)
|
16
|
+
* Any special configuration required to reproduce the issue
|
17
|
+
* Step-by-step instructions to reproduce the issue
|
18
|
+
* Proof-of-concept or exploit code (if possible)
|
19
|
+
* Impact of the issue, including how an attacker might exploit the issue
|
20
|
+
|
21
|
+
## Preferred Languages
|
22
|
+
|
23
|
+
I prefer all communications to be in English.
|
data/lib/vagrant-ovirt4.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'log4r'
|
1
2
|
require 'pathname'
|
2
3
|
require 'vagrant-ovirt4/plugin'
|
3
4
|
|
@@ -8,9 +9,11 @@ module VagrantPlugins
|
|
8
9
|
autoload :Errors, lib_path.join("errors")
|
9
10
|
autoload :Util, lib_path.join("util")
|
10
11
|
|
12
|
+
@@logger = Log4r::Logger.new("vagrant_ovirt4::provider")
|
11
13
|
@@ovirt_connection = nil
|
12
14
|
@@vms_service = nil
|
13
15
|
def self.ovirt_connection
|
16
|
+
@@logger.warn('Use of deprecated OVirtProvider.ovirt_connection detected.')
|
14
17
|
@@ovirt_connection
|
15
18
|
end
|
16
19
|
|
@@ -19,6 +22,7 @@ module VagrantPlugins
|
|
19
22
|
end
|
20
23
|
|
21
24
|
def self.vms_service
|
25
|
+
@@logger.warn('Use of deprecated OVirtProvider.vms_service detected.')
|
22
26
|
@@vms_service
|
23
27
|
end
|
24
28
|
|
@@ -24,12 +24,24 @@ module VagrantPlugins
|
|
24
24
|
conn_attr[:headers] = {'Filter' => true} if config.filtered_api
|
25
25
|
|
26
26
|
@logger.info("Connecting to oVirt (#{config.url}) ...")
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
ovirt_connection = OvirtSDK4::Connection.new(conn_attr)
|
28
|
+
vms_service = ovirt_connection.system_service.vms_service
|
29
|
+
|
30
|
+
# XXX: Continue setting deprecated global properties. Use of the
|
31
|
+
# related values from env should be preferred.
|
32
|
+
OVirtProvider.ovirt_connection = ovirt_connection
|
33
|
+
OVirtProvider.vms_service = vms_service
|
34
|
+
|
35
|
+
begin
|
36
|
+
ovirt_connection.test(true, 30)
|
37
|
+
rescue => error
|
38
|
+
raise Errors::ServiceConnectionError,
|
39
|
+
:error_message => error.message
|
40
|
+
else
|
41
|
+
env[:connection] = ovirt_connection
|
42
|
+
env[:vms_service] = vms_service
|
43
|
+
@app.call(env)
|
44
|
+
end
|
33
45
|
end
|
34
46
|
|
35
47
|
end
|
@@ -14,34 +14,30 @@ module VagrantPlugins
|
|
14
14
|
|
15
15
|
system_service = env[:connection].system_service
|
16
16
|
|
17
|
-
#
|
17
|
+
#Find all storage domains and store the id and name in a
|
18
18
|
# hash, so that looking them up later will be faster:
|
19
|
-
vms_map = Hash[env[:vms_service].list.map { |vm| [vm.id, vm.name] }]
|
20
|
-
|
21
|
-
# Same for storage domains:
|
22
19
|
sds_service = system_service.storage_domains_service
|
23
20
|
sds_map = Hash[sds_service.list.map { |sd| [sd.id, sd.name] }]
|
24
21
|
|
25
22
|
# For each virtual machine find its snapshots, then for each snapshot
|
26
23
|
# find its disks:
|
27
24
|
xs = [['id', 'description', 'date']]
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
xs.push([snap_id, snap_description, snap_date.to_s])
|
42
|
-
end
|
25
|
+
vm_service = env[:vms_service].vm_service(env[:machine].id)
|
26
|
+
snaps_service = vm_service.snapshots_service
|
27
|
+
snaps_map = Hash[snaps_service.list.map { |snap| [snap.id, { description: snap.description, date: snap.date }] }]
|
28
|
+
snaps_map.each do |snap_id, metadata|
|
29
|
+
snap_description = metadata[:description]
|
30
|
+
snap_date = metadata[:date]
|
31
|
+
snap_service = snaps_service.snapshot_service(snap_id)
|
32
|
+
disks_service = snap_service.disks_service
|
33
|
+
disks_service.list.each do |disk|
|
34
|
+
next unless disk.storage_domains.any?
|
35
|
+
sd_id = disk.storage_domains.first.id
|
36
|
+
sd_name = sds_map[sd_id]
|
37
|
+
xs.push([snap_id, snap_description, snap_date.to_s])
|
43
38
|
end
|
44
39
|
end
|
40
|
+
|
45
41
|
widths = xs.transpose.map { |column_arr| column_arr.map(&:size).max }
|
46
42
|
env[:machine_snapshot_list] =
|
47
43
|
xs.map { |row_arr|
|
data/locales/en.yml
CHANGED
@@ -60,6 +60,8 @@ en:
|
|
60
60
|
short_not_created: |-
|
61
61
|
not created
|
62
62
|
errors:
|
63
|
+
service_connection_error: |-
|
64
|
+
Error connecting to the oVirt cluster endpoint: "%{error_message}"
|
63
65
|
remove_vm_error: |-
|
64
66
|
Error removing VM '%{vm_name}'. oVirt error message was '%{error_message}'
|
65
67
|
no_vm_error: |-
|
@@ -40,9 +40,9 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
40
40
|
its("cluster") { should be_nil }
|
41
41
|
its("console") { should be_nil }
|
42
42
|
its("template") { should be_nil }
|
43
|
-
its("memory_size") { should ==
|
44
|
-
its("memory_maximum") { should ==
|
45
|
-
its("memory_guaranteed") { should ==
|
43
|
+
its("memory_size") { should == 268435456 }
|
44
|
+
its("memory_maximum") { should == 268435456 }
|
45
|
+
its("memory_guaranteed") { should == 268435456 }
|
46
46
|
its("cloud_init") { should be_nil }
|
47
47
|
its("affinity") { should be_nil }
|
48
48
|
its("placement_host") { should be_nil }
|
@@ -54,7 +54,7 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
54
54
|
end
|
55
55
|
|
56
56
|
describe "overriding defaults" do
|
57
|
-
[:url, :username, :password, :insecure, :debug, :filtered_api, :cpu_cores, :cpu_sockets, :cpu_threads, :cluster, :console, :template, :cloud_init, :placement_host, :bios_serial, :
|
57
|
+
[:url, :username, :password, :insecure, :debug, :filtered_api, :cpu_cores, :cpu_sockets, :cpu_threads, :cluster, :console, :template, :cloud_init, :placement_host, :bios_serial, :description, :comment].each do |attribute|
|
58
58
|
|
59
59
|
it "should not default #{attribute} if overridden" do
|
60
60
|
instance.send("#{attribute}=".to_sym, "foo")
|
@@ -64,19 +64,38 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
+
describe "overriding optimized_for" do
|
68
|
+
[:optimized_for].each do |attribute|
|
69
|
+
['server', 'desktop'].each do |value|
|
70
|
+
it "should accept #{value} for #{attribute}" do
|
71
|
+
instance.send("#{attribute}=".to_sym, value)
|
72
|
+
instance.finalize!
|
73
|
+
instance.send(attribute).should == value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
it "should reject a value for #{attribute} outside of the defined values" do
|
78
|
+
expect {
|
79
|
+
instance.send("#{attribute}=".to_sym, "foo")
|
80
|
+
instance.finalize!
|
81
|
+
}.to raise_error(RuntimeError)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
67
86
|
describe "overriding memory defaults" do
|
68
87
|
[:memory_size, :memory_maximum, :memory_guaranteed].each do |attribute|
|
69
88
|
|
70
89
|
it "should not default #{attribute} if overridden" do
|
71
90
|
instance.send("#{attribute}=".to_sym, "512 MiB")
|
72
91
|
instance.finalize!
|
73
|
-
instance.send(attribute).should ==
|
92
|
+
instance.send(attribute).should == 536870912
|
74
93
|
end
|
75
94
|
|
76
95
|
it "should convert the value" do
|
77
96
|
instance.send("#{attribute}=".to_sym, "1 GiB")
|
78
97
|
instance.finalize!
|
79
|
-
instance.send(attribute).should ==
|
98
|
+
instance.send(attribute).should == 1073741824
|
80
99
|
end
|
81
100
|
|
82
101
|
end
|
@@ -106,4 +125,5 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
106
125
|
|
107
126
|
end
|
108
127
|
end
|
128
|
+
|
109
129
|
end
|
data/vagrant-ovirt4.gemspec
CHANGED
@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.require_paths = ["lib"]
|
17
17
|
gem.version = VagrantPlugins::OVirtProvider::VERSION
|
18
18
|
|
19
|
-
gem.add_runtime_dependency 'ovirt-engine-sdk', '~> 4
|
19
|
+
gem.add_runtime_dependency 'ovirt-engine-sdk', '~> 4'
|
20
20
|
gem.add_runtime_dependency 'filesize', '~> 0'
|
21
|
-
gem.add_runtime_dependency 'nokogiri', '
|
21
|
+
gem.add_runtime_dependency 'nokogiri', '~> 1'
|
22
22
|
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-ovirt4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Young
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ovirt-engine-sdk
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4
|
19
|
+
version: '4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4
|
26
|
+
version: '4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: filesize
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1
|
47
|
+
version: '1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1
|
54
|
+
version: '1'
|
55
55
|
description: Vagrant provider for oVirt and RHEV v4
|
56
56
|
email:
|
57
57
|
- myoung34@my.apsu.edu
|
@@ -63,12 +63,14 @@ files:
|
|
63
63
|
- ".github/workflows/release.yml"
|
64
64
|
- ".gitignore"
|
65
65
|
- ".rspec"
|
66
|
+
- CHANGELOG
|
66
67
|
- Dockerfile
|
67
68
|
- Gemfile
|
68
69
|
- Gemfile.lock
|
69
70
|
- LICENSE
|
70
71
|
- README.md
|
71
72
|
- Rakefile
|
73
|
+
- SECURITY.md
|
72
74
|
- example_box/README.md
|
73
75
|
- example_box/Vagrantfile
|
74
76
|
- example_box/dummy.box
|