foreman_virt_who_configure 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/foreman_virt_who_configure/config.rb +1 -0
- data/app/models/foreman_virt_who_configure/output_generator.rb +1 -1
- data/app/views/foreman_virt_who_configure/configs/show.html.erb +1 -1
- data/app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb +1 -1
- data/app/views/foreman_virt_who_configure/configs/steps/_schedule_form.erb +1 -1
- data/lib/foreman_virt_who_configure/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8355464b93318e276c9ad72c0f65aa8a2f6cae67
|
4
|
+
data.tar.gz: d89ea732217fd7f6130fa053ee4e7dce8cf799a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdca574bc96c5758f60e8fe50ef6cda5697b0625b07a0d00927c442a5d90b7bf5db9d202b2c6394a1d025ccc9f524600d58f21618d9675d1160d74e49669d10
|
7
|
+
data.tar.gz: 1e5d4b2f4ecff060df3718c57a7102d03177fe536cd9c4b7f53763b10c5d0a6231dedc82804a686698e1442a261a2f7bf6898afd776b995ead8a4886aef8891f
|
@@ -91,6 +91,7 @@ module ForemanVirtWhoConfigure
|
|
91
91
|
validates :interval, :hypervisor_type, :hypervisor_server, :hypervisor_username,
|
92
92
|
:satellite_url, :hypervisor_id, :organization_id, :name,
|
93
93
|
:presence => true
|
94
|
+
validates :name, :uniqueness => { :scope => :organization_id }
|
94
95
|
validates :hypervisor_password, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'libvirt' }
|
95
96
|
validates :hypervisor_type, :inclusion => HYPERVISOR_TYPES.keys
|
96
97
|
validates :hypervisor_id, :inclusion => HYPERVISOR_IDS
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<h1><%= _("Virt-who Configuration %s") % @config.name %></h1>
|
9
9
|
</div>
|
10
10
|
<div class="col-md-6">
|
11
|
-
<%= _("Use either hammer command or the script below to deploy this configuration. Run one of them on the target host which has access to Red Hat Satellite Tools repository and will run virt-who reporting, preferably Satellite host:") %>
|
11
|
+
<%= _("Use either hammer command or the script below to deploy this configuration. Both require root privileges. Run one of them on the target host which has access to Red Hat Satellite Tools repository and will run virt-who reporting, preferably Satellite host:") %>
|
12
12
|
</div>
|
13
13
|
<div class="col-md-2">
|
14
14
|
<div class="pull-right">
|
@@ -10,7 +10,7 @@
|
|
10
10
|
inline_help_popover(_("If you run a hybrid environment, with virtual machines running Red Hat Enterprise Linux and other operating systems, you may want to limit the scope of virt-who’s access to hosts. For example, if some hypervisors host only Microsoft Windows Server instances, there is no benefit in having those hypervisors reported by the virt-who agent."))) %>
|
11
11
|
<%= textarea_f f, :whitelist, inline_help_popover(_('Only hosts which uuid (or hostname or hwuuid, based on <code>hypervisor_id</code>) is specified in comma-separated list in this option will be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end.')).merge(:label => _('Filter hosts')) %>
|
12
12
|
<%= textarea_f f, :blacklist, inline_help_popover(_('Hosts which uuid (or hostname or hwuuid, based on <code>hypervisor_id</code>) is specified in comma-separated list in this option will <b>NOT</b> be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end.')).merge(:label => _('Exclude hosts')) %>
|
13
|
-
<%= checkbox_f f, :debug, :label => _('
|
13
|
+
<%= checkbox_f f, :debug, { :label => _('Enable debugging output') }.merge(inline_help_popover(_("Different debug value can't be set per hypervisor, therefore it will affect all other deployed configurations on the host on which this configuration will be deployed."))) %>
|
14
14
|
<%= text_f f, :proxy, inline_help_popover(_('HTTP proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers. Leave this blank if no proxy is used.')).merge(:label => _('HTTP proxy')) %>
|
15
15
|
<%= text_f f, :no_proxy, inline_help_popover(_('A comma-separated list of hostnames or domains or ip addresses to ignore proxy settings for. Optionally this may be set to <code>*</code> to bypass proxy settings for all hostnames domains or ip addresses.')).merge(:label => _('Ignore proxy')) %>
|
16
16
|
</div>
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<div id="config_schedule">
|
2
|
-
<%= selectable_f f, :interval, ForemanVirtWhoConfigure::Config::AVAILABLE_INTERVALS.map { |k,v| [_(v), k] }, {}, inline_help_popover(_("How often to check connected hypervisors for changes? Also affects how often a mapping is reported. The recommended value for most environments is every two hours.")) %>
|
2
|
+
<%= selectable_f f, :interval, ForemanVirtWhoConfigure::Config::AVAILABLE_INTERVALS.map { |k,v| [_(v), k] }, {}, inline_help_popover(_("How often to check connected hypervisors for changes? Also affects how often a mapping is reported. The recommended value for most environments is every two hours. Different interval can't be set per hypervisor, therefore it will affect all other deployed configurations on the host on which this configuration will be deployed.")) %>
|
3
3
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_virt_who_configure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman virt-who-configure team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|