foreman_fog_proxmox 0.17.0 → 0.17.1
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
- data/package.json +0 -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: 5b4d4330c4fcf2a9c34654f0eb6fd815ff594e92c89cf3087668593c34eb5163
|
4
|
+
data.tar.gz: 299d35d38bc7acc751bcc6029ae81668c77885e008c2f05c44d821b3fc9b41b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73e32847f12af16d70796f3d197126b4a0ade07d79ba8b5ced0d0c9663131af88d3ddaf21b1feef5dfe9209f066eae59cf0aab54c52ea7053a077bd85dbba13
|
7
|
+
data.tar.gz: bb05744d447e8dddcc864aaa44439cae3d6793f6d7d24b637ba627443cd1d0964c39c63e7adb72fc157284c36b0be9630a82e722765782b17d716a95040a8cc7
|
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 %>
|
data/package.json
CHANGED
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.17.
|
4
|
+
version: 0.17.1
|
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
|