foreman_fog_proxmox 0.5.5 → 0.5.6
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/README.md +7 -7
- data/app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_form.html.erb +1 -1
- data/app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb +1 -1
- data/lib/foreman_fog_proxmox/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b867a431af383a2d626127ab2f79f996bbcc72a8cd770bd94ff48db315270e56
|
|
4
|
+
data.tar.gz: 38e71818548bea80b97801e50a7153a48cbbc94a17d07f9d555c296c78cccd2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edf8d6c9b5fb1aa5c1fe4107108435036752a6bd7170545b6ff85d78f086f80c9f6af2dc53c6bca1e0c34418963586f492a5e249a25907c6cc3818e74b8ad6d7
|
|
7
|
+
data.tar.gz: 6a1ec0442155b270f08ea1fc9ec97e08fff473e624404fd2078c05533f3629bac0bbbafd0ee617ef03732917f378c872bec629c60372d91710d4a6627109b8e5
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
[](https://codeclimate.com/github/
|
|
5
|
-
[](https://codeclimate.com/github/
|
|
3
|
+
[](https://travis-ci.com/theforeman/foreman_fog_proxmox)
|
|
4
|
+
[](https://codeclimate.com/github/theforeman/foreman_fog_proxmox/maintainability)
|
|
5
|
+
[](https://codeclimate.com/github/theforeman/foreman_fog_proxmox/test_coverage)
|
|
6
6
|
|
|
7
7
|
# ForemanFogProxmox
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ If you like it and need more features you can [support](SUPPORT.md) it.
|
|
|
16
16
|
|
|
17
17
|
Tested with:
|
|
18
18
|
|
|
19
|
-
* Foreman >= 1.17 and
|
|
19
|
+
* Foreman >= 1.17 and <= 1.20
|
|
20
20
|
* Fog-proxmox >= 0.5.3
|
|
21
21
|
* Proxmox >= 5.1
|
|
22
22
|
* Ruby >= 2.3
|
|
@@ -86,12 +86,12 @@ Then you can check plugin installation after login into your new foreman server
|
|
|
86
86
|
|
|
87
87
|
### From OS packages
|
|
88
88
|
|
|
89
|
-
[Deb](https://github.com/theforeman/foreman-packaging/pull/3071), [rpm](https://github.com/theforeman/foreman-packaging/pull/3069): work in progress...
|
|
90
|
-
|
|
91
89
|
Please see the Foreman manual for complete instructions:
|
|
92
90
|
|
|
93
91
|
* [Foreman: How to Install a Plugin](http://theforeman.org/manuals/latest/index.html#6.1InstallaPlugin)
|
|
94
92
|
|
|
93
|
+
Redhat, CentOS or Fedora users should also [setup Selinux](https://projects.theforeman.org/projects/foreman/wiki/SELinux) to allow foreman and all its plugins to work.
|
|
94
|
+
|
|
95
95
|
## Usage
|
|
96
96
|
|
|
97
97
|
* [Compute resource](.github/compute_resource.md)
|
|
@@ -189,7 +189,7 @@ See details in [foreman plugin development](https://projects.theforeman.org/proj
|
|
|
189
189
|
## Contributing
|
|
190
190
|
|
|
191
191
|
You can reach the [contributors](CONTRIBUTORS.md).
|
|
192
|
-
Bug reports and pull requests are welcome on GitHub at [ForemanFogProxmox](https://github.com/
|
|
192
|
+
Bug reports and pull requests are welcome on GitHub at [ForemanFogProxmox](https://github.com/theforeman/foreman_fog_proxmox). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
193
193
|
|
|
194
194
|
Please read [how to contribute](CONTRIBUTING.md).
|
|
195
195
|
|
|
@@ -15,7 +15,7 @@ GNU General Public License for more details.
|
|
|
15
15
|
You should have received a copy of the GNU General Public License
|
|
16
16
|
along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
|
|
17
17
|
|
|
18
|
-
<% vm_type = f.object.type %>
|
|
18
|
+
<% vm_type = f.object.respond_to?('type') ? f.object.type : nil %>
|
|
19
19
|
|
|
20
20
|
<%= render :partial => provider_partial(compute_resource, 'network'),
|
|
21
21
|
:locals => { :f => i, :vm_type => vm_type, :compute_resource => compute_resource, :new_host => new_host, :new_vm => new_vm, :remove_title => _('remove network interface') },
|
data/app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb
CHANGED
|
@@ -15,7 +15,7 @@ GNU General Public License for more details.
|
|
|
15
15
|
You should have received a copy of the GNU General Public License
|
|
16
16
|
along with ForemanFogProxmox. If not, see <http://www.gnu.org/licenses/>. %>
|
|
17
17
|
|
|
18
|
-
<% vm_type = f.object.type %>
|
|
18
|
+
<% vm_type = f.object.respond_to?('type') ? f.object.type : nil %>
|
|
19
19
|
|
|
20
20
|
<%= new_child_fields_template(f, compute_resource.interfaces_attrs_name, {
|
|
21
21
|
:object => compute_resource.new_interface,
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_fog_proxmox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tristan Robert
|
|
8
|
+
- The Foreman Team
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: fog-proxmox
|
|
@@ -84,6 +85,7 @@ description: Foreman plugin adds Proxmox VE compute resource using fog-proxmox.
|
|
|
84
85
|
is compatible with Foreman 1.17+
|
|
85
86
|
email:
|
|
86
87
|
- tristan.robert.44@gmail.com
|
|
88
|
+
- theforeman.rubygems@gmail.com
|
|
87
89
|
executables: []
|
|
88
90
|
extensions: []
|
|
89
91
|
extra_rdoc_files: []
|
|
@@ -164,7 +166,7 @@ files:
|
|
|
164
166
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
|
165
167
|
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
|
166
168
|
- test/unit/foreman_fog_proxmox/proxmox_test_helpers.rb
|
|
167
|
-
homepage: https://github.com/
|
|
169
|
+
homepage: https://github.com/theforeman/foreman_fog_proxmox
|
|
168
170
|
licenses:
|
|
169
171
|
- GPL-3.0
|
|
170
172
|
metadata: {}
|
|
@@ -183,17 +185,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
183
185
|
- !ruby/object:Gem::Version
|
|
184
186
|
version: '0'
|
|
185
187
|
requirements: []
|
|
186
|
-
|
|
187
|
-
rubygems_version: 2.7.6
|
|
188
|
+
rubygems_version: 3.0.1
|
|
188
189
|
signing_key:
|
|
189
190
|
specification_version: 4
|
|
190
191
|
summary: Foreman plugin that adds Proxmox VE compute resource using fog-proxmox
|
|
191
192
|
test_files:
|
|
193
|
+
- test/factories/proxmox_factory.rb
|
|
194
|
+
- test/test_plugin_helper.rb
|
|
192
195
|
- test/unit/foreman_fog_proxmox/proxmox_test_helpers.rb
|
|
193
|
-
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
|
194
196
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb
|
|
197
|
+
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
|
195
198
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb
|
|
196
199
|
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
|
197
|
-
- test/factories/proxmox_factory.rb
|
|
198
200
|
- test/functional/compute_resources_controller_test.rb
|
|
199
|
-
- test/test_plugin_helper.rb
|