vagrant-ovirt4 1.2.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 +5 -5
- data/.github/FUNDING.yml +3 -0
- data/.github/workflows/release.yml +20 -0
- data/.gitignore +1 -1
- data/CHANGELOG +31 -0
- data/Dockerfile +11 -0
- data/Gemfile +6 -7
- data/Gemfile.lock +98 -87
- data/README.md +27 -3
- data/Rakefile +1 -7
- data/SECURITY.md +23 -0
- data/lib/vagrant-ovirt4.rb +4 -0
- data/lib/vagrant-ovirt4/action.rb +29 -9
- data/lib/vagrant-ovirt4/action/connect_ovirt.rb +19 -6
- data/lib/vagrant-ovirt4/action/create_network_interfaces.rb +57 -43
- data/lib/vagrant-ovirt4/action/create_vm.rb +87 -7
- data/lib/vagrant-ovirt4/action/destroy_vm.rb +14 -1
- data/lib/vagrant-ovirt4/action/disconnect_ovirt.rb +25 -0
- data/lib/vagrant-ovirt4/action/halt_vm.rb +11 -0
- data/lib/vagrant-ovirt4/action/read_ssh_info.rb +6 -1
- data/lib/vagrant-ovirt4/action/read_state.rb +7 -1
- data/lib/vagrant-ovirt4/action/resize_disk.rb +18 -17
- data/lib/vagrant-ovirt4/action/snapshot_list.rb +15 -19
- data/lib/vagrant-ovirt4/action/start_vm.rb +37 -23
- data/lib/vagrant-ovirt4/action/wait_til_suspended.rb +1 -1
- data/lib/vagrant-ovirt4/action/wait_till_down.rb +13 -2
- data/lib/vagrant-ovirt4/action/wait_till_up.rb +35 -6
- data/lib/vagrant-ovirt4/config.rb +60 -2
- data/lib/vagrant-ovirt4/errors.rb +20 -0
- data/lib/vagrant-ovirt4/plugin.rb +3 -3
- data/lib/vagrant-ovirt4/version.rb +1 -1
- data/locales/en.yml +17 -1
- data/spec/vagrant-ovirt4/config_spec.rb +33 -8
- data/templates/Vagrantfile.erb +199 -0
- data/tools/prepare_redhat_for_box.sh +6 -1
- data/vagrant-ovirt4.gemspec +2 -1
- metadata +26 -15
- data/lib/vagrant-ovirt4/action/sync_folders.rb +0 -69
- data/lib/vagrant-ovirt4/cap/nic_mac_addresses.rb +0 -15
- data/test.rb +0 -3
@@ -7,6 +7,14 @@ module VagrantPlugins
|
|
7
7
|
error_namespace("vagrant_ovirt4.errors")
|
8
8
|
end
|
9
9
|
|
10
|
+
class ServiceConnectionError < VagrantOVirtError
|
11
|
+
error_key(:service_connection_error)
|
12
|
+
end
|
13
|
+
|
14
|
+
class RsyncError < VagrantOVirtError
|
15
|
+
error_key(:rsync_error)
|
16
|
+
end
|
17
|
+
|
10
18
|
class NoVMError < VagrantOVirtError
|
11
19
|
error_key(:no_vm_error)
|
12
20
|
end
|
@@ -46,6 +54,18 @@ module VagrantPlugins
|
|
46
54
|
class RemoveSnapshotError < VagrantOVirtError
|
47
55
|
error_key(:remove_snapshot_error)
|
48
56
|
end
|
57
|
+
|
58
|
+
class UpdateVolumeError < VagrantOVirtError
|
59
|
+
error_key(:resize_disk_error)
|
60
|
+
end
|
61
|
+
|
62
|
+
class RemoveVMError < VagrantOVirtError
|
63
|
+
error_key(:remove_vm_error)
|
64
|
+
end
|
65
|
+
|
66
|
+
class UpdateBiosError < VagrantOVirtError
|
67
|
+
error_key(:update_bios_error)
|
68
|
+
end
|
49
69
|
end
|
50
70
|
end
|
51
71
|
end
|
@@ -8,9 +8,9 @@ end
|
|
8
8
|
|
9
9
|
# This is a sanity check to make sure no one is attempting to install
|
10
10
|
# this into an early Vagrant version.
|
11
|
-
# Note: snapshots only available in 1.
|
12
|
-
if Vagrant::VERSION < '1.
|
13
|
-
raise "The Vagrant oVirt v4 plugin is only compatible with Vagrant 1.
|
11
|
+
# Note: snapshots only available in 1.9.1+
|
12
|
+
if Vagrant::VERSION < '1.9.1'
|
13
|
+
raise "The Vagrant oVirt v4 plugin is only compatible with Vagrant 1.9.1+"
|
14
14
|
end
|
15
15
|
|
16
16
|
module VagrantPlugins
|
data/locales/en.yml
CHANGED
@@ -14,6 +14,8 @@ en:
|
|
14
14
|
VM is currently powering up. Please run `vagrant halt` to abort or wait until its status is 'up'.
|
15
15
|
wait_for_ready_vm: |-
|
16
16
|
Waiting for VM to become "ready" to start...
|
17
|
+
wait_for_ready_volume: |-
|
18
|
+
Waiting for disk resize to finish...
|
17
19
|
error_recovering: |-
|
18
20
|
An error occured. Recovering..
|
19
21
|
waiting_for_ip: |-
|
@@ -53,11 +55,23 @@ en:
|
|
53
55
|
The instance is not running. Use `vagrant up` to start it.
|
54
56
|
short_down: |-
|
55
57
|
down
|
58
|
+
long_not_created: |-
|
59
|
+
The instance is not created. Use `vagrant up` to create it.
|
60
|
+
short_not_created: |-
|
61
|
+
not created
|
56
62
|
errors:
|
63
|
+
service_connection_error: |-
|
64
|
+
Error connecting to the oVirt cluster endpoint: "%{error_message}"
|
65
|
+
remove_vm_error: |-
|
66
|
+
Error removing VM '%{vm_name}'. oVirt error message was '%{error_message}'
|
57
67
|
no_vm_error: |-
|
58
|
-
No VM %{
|
68
|
+
No VM found with id '%{vm_id}'
|
69
|
+
rsync_error: |-
|
70
|
+
An rsync error occurred. oVirt error message was '%{error_message}'
|
59
71
|
create_vm_error: |-
|
60
72
|
Creation failed. oVirt error message was '%{error_message}'
|
73
|
+
update_bios_error: |-
|
74
|
+
BIOS update failed. oVirt error message was '%{error_message}'
|
61
75
|
start_vm_error: |-
|
62
76
|
Unable to start VM: %{error_message}
|
63
77
|
no_network_error: |-
|
@@ -74,3 +88,5 @@ en:
|
|
74
88
|
Snapshot with id %{id} is the active snapshot which cannot be removed.
|
75
89
|
remove_snapshot_error: |-
|
76
90
|
Snapshot with id %{id} Could not be removed. Details: %{error_message}.
|
91
|
+
resize_disk_error: |-
|
92
|
+
Disk resize failed. oVirt error message was '%{error_message}'
|
@@ -33,23 +33,28 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
33
33
|
its("password") { should be_nil }
|
34
34
|
its("insecure") { should == false }
|
35
35
|
its("debug") { should == false }
|
36
|
+
its("filtered_api") { should == false }
|
36
37
|
its("cpu_cores") { should == 1 }
|
37
38
|
its("cpu_sockets") { should == 1 }
|
38
39
|
its("cpu_threads") { should == 1 }
|
39
40
|
its("cluster") { should be_nil }
|
40
41
|
its("console") { should be_nil }
|
41
42
|
its("template") { should be_nil }
|
42
|
-
its("memory_size") { should ==
|
43
|
-
its("memory_maximum") { should ==
|
44
|
-
its("memory_guaranteed") { should ==
|
43
|
+
its("memory_size") { should == 268435456 }
|
44
|
+
its("memory_maximum") { should == 268435456 }
|
45
|
+
its("memory_guaranteed") { should == 268435456 }
|
45
46
|
its("cloud_init") { should be_nil }
|
46
47
|
its("affinity") { should be_nil }
|
47
48
|
its("placement_host") { should be_nil }
|
49
|
+
its("bios_serial") { should be_nil }
|
50
|
+
its("optimized_for") { should be_nil }
|
51
|
+
its("description") { should == '' }
|
52
|
+
its("comment") { should == '' }
|
48
53
|
|
49
54
|
end
|
50
55
|
|
51
56
|
describe "overriding defaults" do
|
52
|
-
[:url, :username, :password, :insecure, :debug, :cpu_cores, :cpu_sockets, :cpu_threads, :cluster, :console, :template, :cloud_init, :placement_host].each do |attribute|
|
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|
|
53
58
|
|
54
59
|
it "should not default #{attribute} if overridden" do
|
55
60
|
instance.send("#{attribute}=".to_sym, "foo")
|
@@ -59,19 +64,38 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
59
64
|
end
|
60
65
|
end
|
61
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
|
+
|
62
86
|
describe "overriding memory defaults" do
|
63
87
|
[:memory_size, :memory_maximum, :memory_guaranteed].each do |attribute|
|
64
88
|
|
65
89
|
it "should not default #{attribute} if overridden" do
|
66
|
-
instance.send("#{attribute}=".to_sym, "512
|
90
|
+
instance.send("#{attribute}=".to_sym, "512 MiB")
|
67
91
|
instance.finalize!
|
68
|
-
instance.send(attribute).should ==
|
92
|
+
instance.send(attribute).should == 536870912
|
69
93
|
end
|
70
94
|
|
71
95
|
it "should convert the value" do
|
72
|
-
instance.send("#{attribute}=".to_sym, "1
|
96
|
+
instance.send("#{attribute}=".to_sym, "1 GiB")
|
73
97
|
instance.finalize!
|
74
|
-
instance.send(attribute).should ==
|
98
|
+
instance.send(attribute).should == 1073741824
|
75
99
|
end
|
76
100
|
|
77
101
|
end
|
@@ -101,4 +125,5 @@ describe VagrantPlugins::OVirtProvider::Config do
|
|
101
125
|
|
102
126
|
end
|
103
127
|
end
|
128
|
+
|
104
129
|
end
|
@@ -0,0 +1,199 @@
|
|
1
|
+
<% config[:vagrantfiles].each do |vagrantfile| %>
|
2
|
+
require "<%= vagrantfile %>"
|
3
|
+
require 'securerandom'
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
Vagrant.configure("2") do |c|
|
7
|
+
c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
|
8
|
+
<% if config[:cachier] %>
|
9
|
+
if Vagrant.has_plugin?("vagrant-cachier")
|
10
|
+
c.cache.scope = <%= [':box', ':machine'].include?(config[:cachier]) ? config[:cachier] : ':box' %>
|
11
|
+
end
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
c.vm.box = "<%= config[:box] %>"
|
15
|
+
|
16
|
+
<% if config[:box_url] %>
|
17
|
+
c.vm.box_url = "<%= config[:box_url] %>"
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
<% if config[:box_version] %>
|
21
|
+
c.vm.box_version = "<%= config[:box_version] %>"
|
22
|
+
<% end %>
|
23
|
+
|
24
|
+
<% if !config[:box_check_update].nil? %>
|
25
|
+
c.vm.box_check_update = <%= config[:box_check_update] %>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
<% if !config[:box_download_ca_cert].nil? %>
|
29
|
+
c.vm.box_download_ca_cert = "<%= config[:box_download_ca_cert] %>"
|
30
|
+
<% end %>
|
31
|
+
|
32
|
+
<% if !config[:box_download_insecure].nil? %>
|
33
|
+
c.vm.box_download_insecure = "<%= config[:box_download_insecure] %>"
|
34
|
+
<% end %>
|
35
|
+
|
36
|
+
<% if config[:vm_hostname] %>
|
37
|
+
c.vm.hostname = "kitchen-<%= config[:vm_hostname] %>-<%= ENV['VAGRANT_VERSION'] %>-<%= SecureRandom.uuid %>"
|
38
|
+
<% end %>
|
39
|
+
|
40
|
+
<% if config[:communicator] %>
|
41
|
+
c.vm.communicator = "<%= config[:communicator] %>"
|
42
|
+
<% end %>
|
43
|
+
|
44
|
+
<% if config[:guest] %>
|
45
|
+
c.vm.guest = "<%= config[:guest] %>"
|
46
|
+
<% end %>
|
47
|
+
|
48
|
+
<% if config[:communicator] %>
|
49
|
+
<% if config[:username] %>
|
50
|
+
c.<%= config[:communicator] %>.username = "<%= config[:username] %>"
|
51
|
+
<% end %>
|
52
|
+
<% if config[:password] %>
|
53
|
+
c.<%= config[:communicator] %>.password = "<%= config[:password] %>"
|
54
|
+
<% end %>
|
55
|
+
<% else %>
|
56
|
+
<% if config[:username] %>
|
57
|
+
c.ssh.username = "<%= config[:username] %>"
|
58
|
+
<% end %>
|
59
|
+
<% if config[:password] %>
|
60
|
+
c.ssh.password = "<%= config[:password] %>"
|
61
|
+
<% end %>
|
62
|
+
<% end %>
|
63
|
+
|
64
|
+
<% if config[:ssh_key] %>
|
65
|
+
c.ssh.private_key_path = "<%= config[:ssh_key] %>"
|
66
|
+
<% end %>
|
67
|
+
<% config[:ssh].each do |key, value| %>
|
68
|
+
c.ssh.<%= key %> = <%= [true, false].include?(value) ? value : value.inspect %>
|
69
|
+
<% end %>
|
70
|
+
<% if config[:winrm] %>
|
71
|
+
<% config[:winrm].each do |key, value| %>
|
72
|
+
c.winrm.<%= key %> = <%= value %>
|
73
|
+
<% end %>
|
74
|
+
<% end %>
|
75
|
+
|
76
|
+
<% if config[:boot_timeout] %>
|
77
|
+
c.vm.boot_timeout = <%= config[:boot_timeout] %>
|
78
|
+
<% end %>
|
79
|
+
|
80
|
+
<% Array(config[:network]).each do |opts| %>
|
81
|
+
c.vm.network(:<%= opts[0] %>, <%= opts[1..-1].join(", ") %>)
|
82
|
+
<% end %>
|
83
|
+
|
84
|
+
c.vm.synced_folder ".", "/vagrant", disabled: true
|
85
|
+
<% config[:synced_folders].each do |source, destination, options| %>
|
86
|
+
c.vm.synced_folder <%= source.inspect %>, <%= destination.inspect %>, <%= options %>
|
87
|
+
<% end %>
|
88
|
+
|
89
|
+
c.vm.provider :<%= config[:provider] %> do |p|
|
90
|
+
<% case config[:provider]
|
91
|
+
when "virtualbox", /^vmware_/
|
92
|
+
if config[:gui] == true || config[:gui] == false %>
|
93
|
+
p.gui = <%= config[:gui] %>
|
94
|
+
<% end
|
95
|
+
end
|
96
|
+
|
97
|
+
case config[:provider]
|
98
|
+
when "virtualbox", /^vmware_/, "parallels"
|
99
|
+
if config[:linked_clone] == true || config[:linked_clone] == false %>
|
100
|
+
p.linked_clone = <%= config[:linked_clone] %>
|
101
|
+
<% end
|
102
|
+
end %>
|
103
|
+
|
104
|
+
<% config[:customize].each do |key, value| %>
|
105
|
+
<% case config[:provider]
|
106
|
+
when "libvirt" %>
|
107
|
+
<% if key == :storage %>
|
108
|
+
<% if value.is_a? String %>
|
109
|
+
p.storage <%= value %>
|
110
|
+
<% elsif value.is_a? Array %>
|
111
|
+
<% value.each do |v| %>
|
112
|
+
p.storage <%= v %>
|
113
|
+
<% end %>
|
114
|
+
<% end %>
|
115
|
+
<% else %>
|
116
|
+
<% if value.is_a? String %>
|
117
|
+
p.<%= key %> = "<%= value%>"
|
118
|
+
<% else %>
|
119
|
+
p.<%= key %> = <%= value%>
|
120
|
+
<% end %>
|
121
|
+
<% end %>
|
122
|
+
<% when "lxc" %>
|
123
|
+
<% if key == :container_name %>
|
124
|
+
p.container_name = <%= value == ":machine" ? value : "\"#{value}\"" %>
|
125
|
+
<% elsif key == :backingstore %>
|
126
|
+
p.backingstore = "<%= value %>"
|
127
|
+
<% elsif key == :backingstore_options %>
|
128
|
+
<% config[:customize][:backingstore_options].each do |opt, opt_val| %>
|
129
|
+
p.backingstore_option "--<%= opt %>", "<%= opt_val %>"
|
130
|
+
<% end %>
|
131
|
+
<% elsif key == :include %>
|
132
|
+
<% Array(value).each do |include| %>
|
133
|
+
p.customize "<%= key %>", "<%= include %>"
|
134
|
+
<% end %>
|
135
|
+
<% else %>
|
136
|
+
p.customize "<%= key %>", "<%= value %>"
|
137
|
+
<% end %>
|
138
|
+
<% when "managed" %>
|
139
|
+
<% if key == :server %>
|
140
|
+
p.server = "<%= value %>"
|
141
|
+
<% end %>
|
142
|
+
<% when "parallels" %>
|
143
|
+
<% if key == :memory || key == :cpus %>
|
144
|
+
p.<%= key %> = <%= value %>
|
145
|
+
<% else %>
|
146
|
+
p.customize ["set", :id, "--<%= key.to_s.gsub('_', '-') %>", "<%= value %>"]
|
147
|
+
<% end %>
|
148
|
+
<% when "softlayer" %>
|
149
|
+
<% if key == :disk_capacity %>
|
150
|
+
p.<%= key %> = <%= value %>
|
151
|
+
<% else %>
|
152
|
+
p.<%= key %> = "<%= value %>"
|
153
|
+
<% end %>
|
154
|
+
<% when "virtualbox" %>
|
155
|
+
<% if key == :createhd %>
|
156
|
+
p.customize ["createhd", "--filename", "<%= value[:filename] %>", "--size", <%= value[:size] %>]
|
157
|
+
<% elsif key == :storageattach %>
|
158
|
+
<% options = [] %>
|
159
|
+
<% value.each do |storageattach_option_key, storageattach_option_value|
|
160
|
+
options << "\"--#{storageattach_option_key}\""
|
161
|
+
if storageattach_option_value.instance_of? Fixnum
|
162
|
+
options << storageattach_option_value
|
163
|
+
else
|
164
|
+
options << "\"#{storageattach_option_value}\""
|
165
|
+
end
|
166
|
+
end %>
|
167
|
+
p.customize ["storageattach", :id, <%= options.join(', ') %>]
|
168
|
+
<% elsif key == :cpuidset %>
|
169
|
+
<% ids = [] %>
|
170
|
+
<% value.each do | id |
|
171
|
+
ids << "\"#{id}\""
|
172
|
+
end %>
|
173
|
+
p.customize ["modifyvm", :id, "--cpuidset", <%= ids.join(', ') %>]
|
174
|
+
<% else %>
|
175
|
+
p.customize ["modifyvm", :id, "--<%= key %>", "<%= value %>"]
|
176
|
+
<% end %>
|
177
|
+
<% when /^vmware_/ %>
|
178
|
+
<% if key == :memory %>
|
179
|
+
<% unless config[:customize].include?(:memsize) %>
|
180
|
+
p.vmx["memsize"] = "<%= value %>"
|
181
|
+
<% end %>
|
182
|
+
<% elsif key == :cpus %>
|
183
|
+
<% unless config[:customize].include?(:numvcpus) %>
|
184
|
+
p.vmx["numvcpus"] = "<%= value %>"
|
185
|
+
<% end %>
|
186
|
+
<% else %>
|
187
|
+
p.vmx["<%= key %>"] = "<%= value %>"
|
188
|
+
<% end %>
|
189
|
+
<% when "openstack", "cloudstack", "hyperv", "ovirt3", "ovirt4", "rackspace", "aws" %>
|
190
|
+
<% if value.is_a? String %>
|
191
|
+
p.<%= key %> = "<%= value%>"
|
192
|
+
<% else %>
|
193
|
+
p.<%= key %> = <%= value%>
|
194
|
+
<% end %>
|
195
|
+
<% end %>
|
196
|
+
<% end %>
|
197
|
+
end
|
198
|
+
|
199
|
+
end
|
@@ -106,6 +106,8 @@ chkconfig iptables off
|
|
106
106
|
chkconfig firewalld off
|
107
107
|
chkconfig ip6tables off
|
108
108
|
for i in cloud-init ovirt-guest-agent; do chkconfig $i on; done
|
109
|
+
chkconfig NetworkManager off
|
110
|
+
|
109
111
|
sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/sysconfig/selinux
|
110
112
|
[ -f /etc/selinux/config ] && sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
|
111
113
|
|
@@ -121,8 +123,11 @@ echo $'' > /etc/sysconfig/network-scripts/ifcfg-eth0
|
|
121
123
|
CLOUD_CONFIG=/etc/cloud/cloud.cfg
|
122
124
|
grep -q ' - resolv-conf' $CLOUD_CONFIG || sed -i -e 's/ - timezone/&\n - resolv-conf/' $CLOUD_CONFIG
|
123
125
|
|
126
|
+
# Chef
|
127
|
+
[[ $ATOMIC != "true" ]] && curl -L --silent https://omnitruck.chef.io/install.sh | bash
|
128
|
+
|
129
|
+
|
124
130
|
# Do some cleanup..
|
125
131
|
rm -f /root/.bash_history
|
126
132
|
rm -f /root/authorized_keys
|
127
133
|
[[ $ATOMIC != "true" ]] && yum clean all
|
128
|
-
|
data/vagrant-ovirt4.gemspec
CHANGED
@@ -16,7 +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', '~> 1'
|
21
22
|
|
22
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: 1.
|
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:
|
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,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 4.0.6
|
19
|
+
version: '4'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '4
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.0.6
|
26
|
+
version: '4'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: filesize
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,6 +38,20 @@ dependencies:
|
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1'
|
47
55
|
description: Vagrant provider for oVirt and RHEV v4
|
48
56
|
email:
|
49
57
|
- myoung34@my.apsu.edu
|
@@ -51,13 +59,18 @@ executables: []
|
|
51
59
|
extensions: []
|
52
60
|
extra_rdoc_files: []
|
53
61
|
files:
|
62
|
+
- ".github/FUNDING.yml"
|
63
|
+
- ".github/workflows/release.yml"
|
54
64
|
- ".gitignore"
|
55
65
|
- ".rspec"
|
66
|
+
- CHANGELOG
|
67
|
+
- Dockerfile
|
56
68
|
- Gemfile
|
57
69
|
- Gemfile.lock
|
58
70
|
- LICENSE
|
59
71
|
- README.md
|
60
72
|
- Rakefile
|
73
|
+
- SECURITY.md
|
61
74
|
- example_box/README.md
|
62
75
|
- example_box/Vagrantfile
|
63
76
|
- example_box/dummy.box
|
@@ -68,6 +81,7 @@ files:
|
|
68
81
|
- lib/vagrant-ovirt4/action/create_network_interfaces.rb
|
69
82
|
- lib/vagrant-ovirt4/action/create_vm.rb
|
70
83
|
- lib/vagrant-ovirt4/action/destroy_vm.rb
|
84
|
+
- lib/vagrant-ovirt4/action/disconnect_ovirt.rb
|
71
85
|
- lib/vagrant-ovirt4/action/halt_vm.rb
|
72
86
|
- lib/vagrant-ovirt4/action/is_created.rb
|
73
87
|
- lib/vagrant-ovirt4/action/is_running.rb
|
@@ -87,11 +101,9 @@ files:
|
|
87
101
|
- lib/vagrant-ovirt4/action/snapshot_save.rb
|
88
102
|
- lib/vagrant-ovirt4/action/start_vm.rb
|
89
103
|
- lib/vagrant-ovirt4/action/suspend_vm.rb
|
90
|
-
- lib/vagrant-ovirt4/action/sync_folders.rb
|
91
104
|
- lib/vagrant-ovirt4/action/wait_til_suspended.rb
|
92
105
|
- lib/vagrant-ovirt4/action/wait_till_down.rb
|
93
106
|
- lib/vagrant-ovirt4/action/wait_till_up.rb
|
94
|
-
- lib/vagrant-ovirt4/cap/nic_mac_addresses.rb
|
95
107
|
- lib/vagrant-ovirt4/cap/snapshot_list.rb
|
96
108
|
- lib/vagrant-ovirt4/cap/snapshot_save.rb
|
97
109
|
- lib/vagrant-ovirt4/config.rb
|
@@ -115,7 +127,7 @@ files:
|
|
115
127
|
- spec/vagrant-ovirt4/action/read_ssh_info_spec.rb
|
116
128
|
- spec/vagrant-ovirt4/action/read_state_spec.rb
|
117
129
|
- spec/vagrant-ovirt4/config_spec.rb
|
118
|
-
-
|
130
|
+
- templates/Vagrantfile.erb
|
119
131
|
- tools/prepare_redhat_for_box.sh
|
120
132
|
- vagrant-ovirt4.gemspec
|
121
133
|
homepage: https://github.com/myoung34/vagrant-ovirt4
|
@@ -137,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
149
|
- !ruby/object:Gem::Version
|
138
150
|
version: '0'
|
139
151
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.4.8
|
152
|
+
rubygems_version: 3.0.3
|
142
153
|
signing_key:
|
143
154
|
specification_version: 4
|
144
155
|
summary: This vagrant plugin provides the ability to create, control, and destroy
|