foreman_virt_who_configure 0.5.13 → 0.5.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/foreman_virt_who_configure/configs_controller.rb +5 -5
- data/app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb +5 -5
- data/app/views/foreman_virt_who_configure/configs/steps/_schedule_form.erb +1 -1
- data/lib/foreman_virt_who_configure/engine.rb +1 -1
- data/lib/foreman_virt_who_configure/version.rb +1 -1
- data/locale/action_names.rb +1 -2
- data/locale/bn/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/bn/foreman_virt_who_configure.po +721 -0
- data/locale/bn_IN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/bn_IN/foreman_virt_who_configure.po +722 -0
- data/locale/ca/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ca/foreman_virt_who_configure.po +21 -6
- data/locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/cs_CZ/foreman_virt_who_configure.po +21 -6
- data/locale/de/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/de/foreman_virt_who_configure.po +21 -6
- data/locale/de_AT/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/de_AT/foreman_virt_who_configure.po +718 -0
- data/locale/de_DE/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/de_DE/foreman_virt_who_configure.po +724 -0
- data/locale/el/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/el/foreman_virt_who_configure.po +721 -0
- data/locale/en/foreman_virt_who_configure.po +21 -6
- data/locale/en_GB/foreman_virt_who_configure.po +21 -6
- data/locale/en_US/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/en_US/foreman_virt_who_configure.po +718 -0
- data/locale/es/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/es/foreman_virt_who_configure.po +21 -6
- data/locale/et_EE/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/et_EE/foreman_virt_who_configure.po +718 -0
- data/locale/foreman_virt_who_configure.pot +100 -75
- data/locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/fr/foreman_virt_who_configure.po +21 -6
- data/locale/gl/foreman_virt_who_configure.po +21 -6
- data/locale/gu/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/gu/foreman_virt_who_configure.po +721 -0
- data/locale/he_IL/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/he_IL/foreman_virt_who_configure.po +723 -0
- data/locale/hi/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/hi/foreman_virt_who_configure.po +721 -0
- data/locale/id/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/id/foreman_virt_who_configure.po +717 -0
- data/locale/it/foreman_virt_who_configure.po +21 -6
- data/locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ja/foreman_virt_who_configure.po +21 -6
- data/locale/ka/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ka/foreman_virt_who_configure.po +21 -6
- data/locale/kn/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/kn/foreman_virt_who_configure.po +721 -0
- data/locale/ko/foreman_virt_who_configure.po +21 -6
- data/locale/ml_IN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ml_IN/foreman_virt_who_configure.po +718 -0
- data/locale/mr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/mr/foreman_virt_who_configure.po +721 -0
- data/locale/nl_NL/foreman_virt_who_configure.po +21 -6
- data/locale/or/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/or/foreman_virt_who_configure.po +721 -0
- data/locale/pa/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pa/foreman_virt_who_configure.po +722 -0
- data/locale/pl/foreman_virt_who_configure.po +21 -6
- data/locale/pl_PL/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pl_PL/foreman_virt_who_configure.po +720 -0
- data/locale/pt/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pt/foreman_virt_who_configure.po +722 -0
- data/locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pt_BR/foreman_virt_who_configure.po +21 -6
- data/locale/ro/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ro/foreman_virt_who_configure.po +718 -0
- data/locale/ro_RO/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ro_RO/foreman_virt_who_configure.po +719 -0
- data/locale/ru/foreman_virt_who_configure.po +21 -6
- data/locale/sl/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/sl/foreman_virt_who_configure.po +722 -0
- data/locale/sv_SE/foreman_virt_who_configure.po +21 -6
- data/locale/ta/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ta/foreman_virt_who_configure.po +721 -0
- data/locale/ta_IN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ta_IN/foreman_virt_who_configure.po +722 -0
- data/locale/te/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/te/foreman_virt_who_configure.po +721 -0
- data/locale/tr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/tr/foreman_virt_who_configure.po +721 -0
- data/locale/vi/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/vi/foreman_virt_who_configure.po +717 -0
- data/locale/vi_VN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/vi_VN/foreman_virt_who_configure.po +718 -0
- data/locale/zh/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/zh/foreman_virt_who_configure.po +717 -0
- data/locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/zh_CN/foreman_virt_who_configure.po +21 -6
- data/locale/zh_TW/foreman_virt_who_configure.po +21 -6
- metadata +58 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1ddf912439f6fad74b1e2361a4a2fba2619c178a7b9f4f415b27f0dd416bcdb
|
4
|
+
data.tar.gz: a8e82c3e29d4a6a9da64240ab6eb8500d37eafae011c738385411f6a9f1d3a9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5a729769c5455cf399e88ac8e32136d315eab9c95df44e472d453559793d50a9a12f09b058a0b431ecabb55ad6bd113f6472c888a741b2ca69cb4e9ac679f29
|
7
|
+
data.tar.gz: 53650766a273bbbbc876ac35e2b6c7d869d2b15e45eb0c79a98eba42094b77f8f4932463d995dd547d8c28decc983b41ef99c4710ca36321cfbae7b6d64bcdd0
|
@@ -36,7 +36,7 @@ module ForemanVirtWhoConfigure
|
|
36
36
|
def create
|
37
37
|
@config = Config.new(config_params)
|
38
38
|
if @config.save
|
39
|
-
process_success :success_redirect => foreman_virt_who_configure_config_path(@config), :object => @config
|
39
|
+
process_success :success_redirect => foreman_virt_who_configure_config_path(@config), :object => @config.name
|
40
40
|
else
|
41
41
|
render 'new'
|
42
42
|
end
|
@@ -50,17 +50,17 @@ module ForemanVirtWhoConfigure
|
|
50
50
|
|
51
51
|
def update
|
52
52
|
if @config.update(config_params)
|
53
|
-
process_success :object => @config
|
53
|
+
process_success :object => @config.name
|
54
54
|
else
|
55
|
-
process_error :object => @config
|
55
|
+
process_error :object => @config.name
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
def destroy
|
60
60
|
if @config.destroy
|
61
|
-
process_success :object => @config
|
61
|
+
process_success :object => @config.name
|
62
62
|
else
|
63
|
-
process_error :object => @config
|
63
|
+
process_error :object => @config.name
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div id="config_general_information">
|
2
|
-
<%= text_f f, :name, inline_help_popover(_('Name of this configuration, e.g. the name of the hypervisor')) %>
|
2
|
+
<%= text_f f, :name, inline_help_popover(_('Name of this configuration, e.g. the name of the hypervisor')).merge(:label => _('Name')) %>
|
3
3
|
|
4
4
|
<% if f.object.organization_id.present? %>
|
5
5
|
<%= f.hidden_field :organization_id %>
|
@@ -7,8 +7,8 @@
|
|
7
7
|
<%= select_f f, :organization_id, Organization.authorized(:view_organizations), :id, :to_s, {}, :label => _('Owner') %>
|
8
8
|
<% end %>
|
9
9
|
|
10
|
-
<%= select_f f, :hypervisor_type, ForemanVirtWhoConfigure::Config::HYPERVISOR_TYPES, :first, :last %>
|
11
|
-
<%= text_f f, :hypervisor_server, { :required => true }.merge(inline_help_popover(hypervisor_server_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_server_help_data })) %>
|
12
|
-
<%= text_f f, :hypervisor_username, { :required => true }.merge(inline_help_popover(hypervisor_username_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_username_help_data })) %>
|
13
|
-
<%= password_f f, :hypervisor_password, { :required => true, :value => f.object.hypervisor_password }.merge(inline_help_popover(_('Account password by which virt-who is to connect to the hypervisor instance.'))) %>
|
10
|
+
<%= select_f f, :hypervisor_type, ForemanVirtWhoConfigure::Config::HYPERVISOR_TYPES, :first, :last, {}, { :label => _('Hypervisor Type') } %>
|
11
|
+
<%= text_f f, :hypervisor_server, { :label => _('Hypervisor Server'), :required => true }.merge(inline_help_popover(hypervisor_server_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_server_help_data })) %>
|
12
|
+
<%= text_f f, :hypervisor_username, { :label => _('Hypervisor Username'), :required => true }.merge(inline_help_popover(hypervisor_username_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_username_help_data })) %>
|
13
|
+
<%= password_f f, :hypervisor_password, { :label => _('Hypervisor Password'), :required => true, :value => f.object.hypervisor_password }.merge(inline_help_popover(_('Account password by which virt-who is to connect to the hypervisor instance.'))) %>
|
14
14
|
</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. 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.")) %>
|
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.")).merge(:label => _('Interval')) %>
|
3
3
|
</div>
|
@@ -27,7 +27,7 @@ module ForemanVirtWhoConfigure
|
|
27
27
|
|
28
28
|
initializer 'foreman_virt_who_configure.register_plugin', :before => :finisher_hook do |_app|
|
29
29
|
Foreman::Plugin.register :foreman_virt_who_configure do
|
30
|
-
requires_foreman '>=
|
30
|
+
requires_foreman '>= 3.7'
|
31
31
|
|
32
32
|
apipie_documented_controllers ["#{ForemanVirtWhoConfigure::Engine.root}/app/controllers/foreman_virt_who_configure/api/v2/*.rb"]
|
33
33
|
|
data/locale/action_names.rb
CHANGED
@@ -11,12 +11,10 @@ _("Copy version units to library")
|
|
11
11
|
_("Create Alternate Content Source")
|
12
12
|
_("Create Export History")
|
13
13
|
_("Create Import History")
|
14
|
-
_("Create Package Group")
|
15
14
|
_("Create Syncable Export History")
|
16
15
|
_("Create")
|
17
16
|
_("Delete Activation Key")
|
18
17
|
_("Delete Lifecycle Environment")
|
19
|
-
_("Delete Package Group")
|
20
18
|
_("Delete Product")
|
21
19
|
_("Delete")
|
22
20
|
_("Destroy Alternate Content Source")
|
@@ -57,6 +55,7 @@ _("Publish Lifecycle Environment Repositories")
|
|
57
55
|
_("Publish")
|
58
56
|
_("Refresh Alternate Content Source")
|
59
57
|
_("Reindex subscriptions")
|
58
|
+
_("Remote action:")
|
60
59
|
_("Remove Content")
|
61
60
|
_("Remove Version")
|
62
61
|
_("Remove Versions and Associations")
|
Binary file
|