foreman_virt_who_configure 0.5.11 → 0.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/app/assets/javascripts/foreman_virt_who_configure/config_edit.js +0 -2
- data/app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb +1 -2
- data/app/controllers/foreman_virt_who_configure/configs_controller.rb +1 -1
- data/app/models/foreman_virt_who_configure/config.rb +2 -3
- data/app/models/foreman_virt_who_configure/output_generator.rb +1 -2
- data/app/views/foreman_virt_who_configure/api/v2/configs/main.json.rabl +1 -1
- data/app/views/foreman_virt_who_configure/configs/show.html.erb +0 -1
- data/app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb +0 -1
- data/db/migrate/20230210152216_remove_ahv_update_interval_from_config.rb +5 -0
- data/lib/foreman_virt_who_configure/version.rb +1 -1
- data/locale/action_names.rb +63 -63
- data/locale/ca/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ca/foreman_virt_who_configure.po +42 -46
- data/locale/cs_CZ/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/cs_CZ/foreman_virt_who_configure.po +4 -10
- data/locale/de/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/de/foreman_virt_who_configure.po +102 -102
- data/locale/en/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/en/foreman_virt_who_configure.po +1 -7
- data/locale/en_GB/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/en_GB/foreman_virt_who_configure.po +8 -13
- data/locale/es/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/es/foreman_virt_who_configure.po +82 -81
- data/locale/foreman_virt_who_configure.pot +100 -111
- data/locale/fr/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/fr/foreman_virt_who_configure.po +100 -99
- data/locale/gl/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/gl/foreman_virt_who_configure.po +9 -15
- data/locale/it/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/it/foreman_virt_who_configure.po +6 -11
- data/locale/ja/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ja/foreman_virt_who_configure.po +109 -109
- data/locale/ka/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ka/foreman_virt_who_configure.po +24 -30
- data/locale/ko/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ko/foreman_virt_who_configure.po +6 -11
- data/locale/nl_NL/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/nl_NL/foreman_virt_who_configure.po +6 -11
- data/locale/pl/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pl/foreman_virt_who_configure.po +11 -17
- data/locale/pt_BR/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/pt_BR/foreman_virt_who_configure.po +78 -75
- data/locale/ru/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/ru/foreman_virt_who_configure.po +7 -12
- data/locale/sv_SE/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/sv_SE/foreman_virt_who_configure.po +9 -15
- data/locale/zh_CN/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/zh_CN/foreman_virt_who_configure.po +112 -114
- data/locale/zh_TW/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
- data/locale/zh_TW/foreman_virt_who_configure.po +4 -10
- data/test/functional/api/v2/configs_controller_test.rb +1 -1
- data/test/unit/output_generator_test.rb +2 -5
- metadata +4 -3
@@ -5,14 +5,14 @@
|
|
5
5
|
#
|
6
6
|
# Translators:
|
7
7
|
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
|
8
|
-
# Bryan Kearney <bryan.kearney@gmail.com>,
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
9
9
|
#
|
10
10
|
msgid ""
|
11
11
|
msgstr ""
|
12
|
-
"Project-Id-Version: foreman_virt_who_configure 0.5.
|
12
|
+
"Project-Id-Version: foreman_virt_who_configure 0.5.12\n"
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
14
14
|
"PO-Revision-Date: 2017-05-03 11:59+0000\n"
|
15
|
-
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>,
|
15
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2021\n"
|
16
16
|
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
|
17
17
|
"h_TW/)\n"
|
18
18
|
"MIME-Version: 1.0\n"
|
@@ -36,9 +36,6 @@ msgstr ""
|
|
36
36
|
msgid "A plugin to make virt-who configuration easy"
|
37
37
|
msgstr ""
|
38
38
|
|
39
|
-
msgid "AHV update interval"
|
40
|
-
msgstr ""
|
41
|
-
|
42
39
|
msgid "Abstract"
|
43
40
|
msgstr ""
|
44
41
|
|
@@ -373,7 +370,7 @@ msgid "Ignore proxy. A comma-separated list of hostnames or domains or ip addres
|
|
373
370
|
msgstr ""
|
374
371
|
|
375
372
|
msgid "Import"
|
376
|
-
msgstr ""
|
373
|
+
msgstr "匯入"
|
377
374
|
|
378
375
|
msgid "Import Content View Version"
|
379
376
|
msgstr ""
|
@@ -602,9 +599,6 @@ msgstr ""
|
|
602
599
|
msgid "The configuration was not deployed yet or the virt-who was unable to report the status"
|
603
600
|
msgstr ""
|
604
601
|
|
605
|
-
msgid "The frequency of VM-to-host mapping updates for AHV(in seconds)"
|
606
|
-
msgstr ""
|
607
|
-
|
608
602
|
msgid "The virt-who report arrived within the interval"
|
609
603
|
msgstr ""
|
610
604
|
|
@@ -171,7 +171,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
|
|
171
171
|
post :create, :params => { :foreman_virt_who_configure_config => { :name => 'my new config',
|
172
172
|
:interval => 240,
|
173
173
|
:filtering_mode => ForemanVirtWhoConfigure::Config::BLACKLIST,
|
174
|
-
:blacklist => '
|
174
|
+
:blacklist => 'a,b',
|
175
175
|
:hypervisor_id => 'uuid',
|
176
176
|
:hypervisor_type => 'esx',
|
177
177
|
:hypervisor_server => "vmware.example.com",
|
@@ -10,7 +10,8 @@ module ForemanVirtWhoConfigure
|
|
10
10
|
test 'empty password is replaced by fake value so that virt-who runs in an non-interactive mode' do
|
11
11
|
config.hypervisor_password = nil
|
12
12
|
config.hypervisor_type = 'libvirt'
|
13
|
-
|
13
|
+
# (echo bGlidmlydF9mYWtlX3Bhc3N3b3Jk|base64 -d) = OutputGenerator::LIBVIRT_FAKE_PASSWORD
|
14
|
+
assert_includes output, 'virt-who-password --password $(echo bGlidmlydF9mYWtlX3Bhc3N3b3Jk|base64 -d)'
|
14
15
|
end
|
15
16
|
end
|
16
17
|
|
@@ -133,12 +134,10 @@ module ForemanVirtWhoConfigure
|
|
133
134
|
test 'options specific to ahv are all set' do
|
134
135
|
config.hypervisor_type = 'ahv'
|
135
136
|
config.prism_flavor = 'central'
|
136
|
-
config.ahv_update_interval = 100
|
137
137
|
config.ahv_internal_debug = true
|
138
138
|
|
139
139
|
assert_includes output, 'type=ahv'
|
140
140
|
assert_includes output, 'prism_central=true'
|
141
|
-
assert_includes output, 'update_interval=100'
|
142
141
|
assert_includes output, 'ahv_internal_debug=true'
|
143
142
|
end
|
144
143
|
|
@@ -148,8 +147,6 @@ module ForemanVirtWhoConfigure
|
|
148
147
|
|
149
148
|
assert_includes output, 'type=ahv'
|
150
149
|
assert_includes output, 'prism_central=true'
|
151
|
-
assert_not_includes output, 'update_interval='
|
152
|
-
assert_not_includes output, 'update_interval='
|
153
150
|
end
|
154
151
|
end
|
155
152
|
end
|
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.5.
|
4
|
+
version: 0.5.13
|
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:
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- db/migrate/20210413165147_delete_xen_profiles.rb
|
113
113
|
- db/migrate/20210608100743_delete_rhevm_profiles.rb
|
114
114
|
- db/migrate/20210910184516_add_ahv_to_config.rb
|
115
|
+
- db/migrate/20230210152216_remove_ahv_update_interval_from_config.rb
|
115
116
|
- lib/foreman_virt_who_configure.rb
|
116
117
|
- lib/foreman_virt_who_configure/engine.rb
|
117
118
|
- lib/foreman_virt_who_configure/version.rb
|
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
184
|
- !ruby/object:Gem::Version
|
184
185
|
version: '0'
|
185
186
|
requirements: []
|
186
|
-
rubygems_version: 3.3.
|
187
|
+
rubygems_version: 3.3.26
|
187
188
|
signing_key:
|
188
189
|
specification_version: 4
|
189
190
|
summary: A plugin to make virt-who configuration easy
|