foreman_fog_proxmox 0.16.2 → 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/overrides/compute_resources_vms/form/add_from_profile_to_compute_attributes_form.rb +2 -1
- data/app/overrides/compute_resources_vms/form/update_react_component_to_host_form.rb +2 -1
- data/app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb +3 -0
- data/lib/foreman_fog_proxmox/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af6ccc8c3f032a49324fd0c47999b1b70e768e9dd7b8c1b3893ab518cc1f2d60
|
4
|
+
data.tar.gz: d96cc32fd61acc5ccc76675382a25d5716e949e57c941c47998027476c655593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8cda57050030292ca7b28d4c78bd4e89399451fda2094739b8826b737eb6e9cdfaba714ecbd71582e52d757ee0e9ca24eedc7249d54e0caf36c123ee76d6422
|
7
|
+
data.tar.gz: 6f0c6182521d0870ca30a21ccb4eb409497d6f049579b6d705c86b6ada7144415527df0cb3b741560ddfe0a25507787d7a4e122cd37f9a2661efb8aa60c8e7a0
|
data/app/overrides/compute_resources_vms/form/add_from_profile_to_compute_attributes_form.rb
CHANGED
@@ -20,7 +20,8 @@
|
|
20
20
|
Deface::Override.new(
|
21
21
|
virtual_path: 'compute_attributes/_compute_form',
|
22
22
|
name: 'remove_networks_and_volumes_partial',
|
23
|
-
|
23
|
+
surround: "erb[loud]:contains('compute_resources_vms/form/networks'), erb[loud]:contains('compute_resources_vms/form/volumes')",
|
24
|
+
text: "<% unless compute_resource.class == ForemanFogProxmox::Proxmox %><%= render_original %><% end %>"
|
24
25
|
)
|
25
26
|
|
26
27
|
Deface::Override.new(
|
@@ -21,5 +21,6 @@ Deface::Override.new(
|
|
21
21
|
:virtual_path => 'hosts/_compute',
|
22
22
|
:name => 'update_react_component_to_virtual_machine_tab',
|
23
23
|
:replace => "erb[loud]:contains('hosts/compute_detail')",
|
24
|
-
:partial => 'compute_resources_vms/form/proxmox/update_react_component_to_host_form'
|
24
|
+
:partial => 'compute_resources_vms/form/proxmox/update_react_component_to_host_form',
|
25
|
+
:original => 'c71aceb245363af92515509d25cac0c066bd58ed'
|
25
26
|
)
|
data/app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb
CHANGED
@@ -23,4 +23,7 @@ along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
|
|
23
23
|
<%= render :partial => provider_partial(compute_resource, 'base'),
|
24
24
|
locals: { f: compute, host: host, compute_resource: compute_resource, new_host: host.new_record?, new_vm: !compute.object.persisted?,
|
25
25
|
arch: host.architecture_id, os: host.operatingsystem_id } %>
|
26
|
+
|
27
|
+
<!--Storage-->
|
28
|
+
<%= render :partial => 'compute_resources_vms/form/volumes', :locals => { :f => compute, :compute_resource => compute_resource, :new_host => !compute.object.persisted?, :new_vm => !compute.object.persisted?, :item_layout => 'removable' } %>
|
26
29
|
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_fog_proxmox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tristan Robert
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: deface
|
@@ -293,29 +293,29 @@ signing_key:
|
|
293
293
|
specification_version: 4
|
294
294
|
summary: Foreman plugin that adds Proxmox VE compute resource using fog-proxmox
|
295
295
|
test_files:
|
296
|
-
- test/
|
296
|
+
- test/test_plugin_helper.rb
|
297
|
+
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
298
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
|
299
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cloudinit_test.rb
|
300
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
|
301
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_test.rb
|
302
|
+
- test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb
|
303
|
+
- test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb
|
304
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
|
297
305
|
- test/unit/foreman_fog_proxmox/semver_test.rb
|
306
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
|
307
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb
|
308
|
+
- test/unit/foreman_fog_proxmox/proxmox_version_test.rb
|
298
309
|
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_hard_disk_test.rb
|
299
|
-
- test/unit/foreman_fog_proxmox/
|
310
|
+
- test/unit/foreman_fog_proxmox/proxmox_images_test.rb
|
311
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
|
312
|
+
- test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb
|
300
313
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb
|
301
|
-
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_volumes_helper_test.rb
|
302
314
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_uuid_helper_test.rb
|
303
315
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
304
|
-
- test/unit/foreman_fog_proxmox/helpers/
|
305
|
-
- test/
|
306
|
-
- test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb
|
307
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
|
308
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
|
309
|
-
- test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb
|
310
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
|
311
|
-
- test/unit/foreman_fog_proxmox/proxmox_images_test.rb
|
312
|
-
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
313
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb
|
314
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cloudinit_test.rb
|
315
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
|
316
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
|
317
|
-
- test/test_plugin_helper.rb
|
318
|
-
- test/factories/proxmox_factory.rb
|
316
|
+
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_volumes_helper_test.rb
|
317
|
+
- test/functional/compute_resources_controller_test.rb
|
319
318
|
- test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
|
320
319
|
- test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
|
321
320
|
- test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
|
321
|
+
- test/factories/proxmox_factory.rb
|