foreman_puppet 8.1.0 → 8.1.2
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/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +7 -7
- data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +4 -4
- data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +5 -5
- data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +93 -95
- data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +1 -1
- data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +4 -4
- data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +1 -1
- data/app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb +1 -1
- data/app/services/foreman_puppet/puppet_class_importer.rb +11 -1
- data/lib/foreman_puppet/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/ca/foreman_puppet.po +1 -1
- data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/cs_CZ/foreman_puppet.po +1 -1
- data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/de/foreman_puppet.po +1 -1
- data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/en/foreman_puppet.po +1 -1
- data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/en_GB/foreman_puppet.po +7 -7
- data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/es/foreman_puppet.po +2 -2
- data/locale/foreman_puppet.pot +3 -19
- data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/fr/foreman_puppet.po +5 -5
- data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/gl/foreman_puppet.po +1 -1
- data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/it/foreman_puppet.po +1 -1
- data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/ja/foreman_puppet.po +6 -6
- data/locale/ka/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/ka/foreman_puppet.po +1 -1
- data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/ko/foreman_puppet.po +98 -94
- data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/nl_NL/foreman_puppet.po +1 -1
- data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/pl/foreman_puppet.po +1 -1
- data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/pt_BR/foreman_puppet.po +1 -1
- data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/ru/foreman_puppet.po +1 -1
- data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/sv_SE/foreman_puppet.po +1 -1
- data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/zh_CN/foreman_puppet.po +5 -5
- data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/zh_TW/foreman_puppet.po +1 -1
- data/test/integration/foreman_puppet/host_js_test.rb +6 -6
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/ConfigStatusCard/index.js +3 -3
- metadata +3 -6
@@ -9,15 +9,15 @@
|
|
9
9
|
# tim123, 2023
|
10
10
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2023
|
11
11
|
# Amit Upadhye <aupadhye@redhat.com>, 2024
|
12
|
-
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>,
|
12
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
13
13
|
#
|
14
14
|
msgid ""
|
15
15
|
msgstr ""
|
16
|
-
"Project-Id-Version: foreman_puppet 8.
|
16
|
+
"Project-Id-Version: foreman_puppet 8.1.0\n"
|
17
17
|
"Report-Msgid-Bugs-To: \n"
|
18
18
|
"PO-Revision-Date: 2021-02-03 16:30+0000\n"
|
19
19
|
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
20
|
-
"n.nl>,
|
20
|
+
"n.nl>, 2025\n"
|
21
21
|
"Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
|
22
22
|
"_CN/)\n"
|
23
23
|
"MIME-Version: 1.0\n"
|
@@ -58,7 +58,7 @@ msgid ""
|
|
58
58
|
" <b>Inherited value:</b> %{inherited_value}"
|
59
59
|
msgstr ""
|
60
60
|
"<b>描述:</b> %{desc}<br/>\n"
|
61
|
-
" <b>类型:</b
|
61
|
+
" <b>类型:</b>%{type}<br/>\n"
|
62
62
|
" <b>匹配器:</b> %{matcher}<br/>\n"
|
63
63
|
" <b>继承的值:</b> %{inherited_value}"
|
64
64
|
|
@@ -778,7 +778,7 @@ msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}"
|
|
778
778
|
msgstr "所选主机的 %{proxy_type} 代理服务器被设置为 %{proxy_name}"
|
779
779
|
|
780
780
|
msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
|
781
|
-
msgstr "所选主机的 %{proxy_type}
|
781
|
+
msgstr "所选主机的 %{proxy_type} 代理被设置为 %{proxy_name}。"
|
782
782
|
|
783
783
|
msgid "The class could not be saved because of an error in one of the class parameters."
|
784
784
|
msgstr "此类无法保存,因为其中一个类参数含有错误。"
|
Binary file
|
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
msgid ""
|
12
12
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_puppet 8.
|
13
|
+
"Project-Id-Version: foreman_puppet 8.1.0\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
15
|
"PO-Revision-Date: 2021-02-03 16:30+0000\n"
|
16
16
|
"Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2023\n"
|
@@ -23,7 +23,7 @@ module ForemanPuppet
|
|
23
23
|
wait_for_ajax
|
24
24
|
click_on_inherit('puppet_attributes_environment')
|
25
25
|
select2(overridden_hostgroup.name, from: 'host_hostgroup_id')
|
26
|
-
assert page.find('
|
26
|
+
assert page.find(select2_selector('host_puppet_attributes_environment_id')).has_text? overridden_hostgroup.puppet.environment.name
|
27
27
|
end
|
28
28
|
|
29
29
|
test 'sets fields to "inherit" when hostgroup is selected' do
|
@@ -137,15 +137,15 @@ module ForemanPuppet
|
|
137
137
|
visit edit_host_path(host)
|
138
138
|
select2(original_hostgroup.name, from: 'host_hostgroup_id')
|
139
139
|
|
140
|
-
|
140
|
+
assert select2_chosen_selector('host_puppet_proxy_id').has_text? original_hostgroup.puppet_proxy.name
|
141
141
|
|
142
142
|
click_on_inherit('puppet_proxy')
|
143
143
|
select2(overridden_hostgroup.name, from: 'host_hostgroup_id')
|
144
144
|
|
145
|
-
assert
|
145
|
+
assert select2_chosen_selector('host_puppet_attributes_environment_id').has_text? original_hostgroup.puppet.environment.name
|
146
146
|
|
147
147
|
# On host group change, the disabled select will be reset to an empty value - disabled select2 is invisible on chrome
|
148
|
-
assert find('
|
148
|
+
assert find(select2_selector('host_puppet_proxy_id'), visible: :all).has_text? ''
|
149
149
|
end
|
150
150
|
|
151
151
|
context 'has inherited Puppetclasses' do
|
@@ -201,14 +201,14 @@ module ForemanPuppet
|
|
201
201
|
switch_form_tab('Puppet ENC')
|
202
202
|
assert puppetclass_params.has_selector?("a[data-tag='remove']", visible: :visible)
|
203
203
|
assert puppetclass_params.has_selector?("a[data-tag='override']", visible: :hidden)
|
204
|
-
|
204
|
+
assert select2_chosen_selector("host_lookup_values_attributes_#{lookup_key.id}_value").has_text? 'false'
|
205
205
|
select2 'true', from: "host_lookup_values_attributes_#{lookup_key.id}_value"
|
206
206
|
click_button('Submit')
|
207
207
|
find('h5', text: /#{host.name}/)
|
208
208
|
|
209
209
|
visit edit_host_path(host)
|
210
210
|
switch_form_tab('Puppet ENC')
|
211
|
-
|
211
|
+
assert select2_chosen_selector("host_lookup_values_attributes_#{lookup_key.id}_value").has_text? 'true'
|
212
212
|
end
|
213
213
|
|
214
214
|
test 'class parameters and overrides are displayed correctly for strings' do
|
data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/ConfigStatusCard/index.js
CHANGED
@@ -104,12 +104,12 @@ const createPuppetMetricsTable = (metrics = undefined) => (
|
|
104
104
|
key="foreman-puppet-metrics-table"
|
105
105
|
>
|
106
106
|
<Tbody>
|
107
|
-
<Tr>
|
107
|
+
<Tr ouiaId="foreman-puppet-metrics-row-1">
|
108
108
|
{createPuppetMetricsTableElement(__('Failed'), metrics.failed)}
|
109
109
|
{createPuppetMetricsTableElement(__('Changed'), metrics.changed)}
|
110
110
|
{createPuppetMetricsTableElement(__('Scheduled'), metrics.scheduled)}
|
111
111
|
</Tr>
|
112
|
-
<Tr>
|
112
|
+
<Tr ouiaId="foreman-puppet-metrics-row-2">
|
113
113
|
{createPuppetMetricsTableElement(
|
114
114
|
__('Failed to start'),
|
115
115
|
metrics.failed_to_start
|
@@ -120,7 +120,7 @@ const createPuppetMetricsTable = (metrics = undefined) => (
|
|
120
120
|
metrics.corrective_change
|
121
121
|
)}
|
122
122
|
</Tr>
|
123
|
-
<Tr>
|
123
|
+
<Tr ouiaId="foreman-puppet-metrics-row-3">
|
124
124
|
{createPuppetMetricsTableElement(__('Skipped'), metrics.skipped)}
|
125
125
|
{createPuppetMetricsTableElement(
|
126
126
|
__('Out of sync'),
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.1.
|
4
|
+
version: 8.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
- Shira Maximov
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Allow assigning Puppet environments and classes to the Foreman Hosts.
|
15
14
|
email:
|
@@ -388,7 +387,6 @@ homepage: https://github.com/theforeman/foreman_puppet
|
|
388
387
|
licenses:
|
389
388
|
- GPL-3.0
|
390
389
|
metadata: {}
|
391
|
-
post_install_message:
|
392
390
|
rdoc_options: []
|
393
391
|
require_paths:
|
394
392
|
- lib
|
@@ -406,8 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
406
404
|
- !ruby/object:Gem::Version
|
407
405
|
version: '0'
|
408
406
|
requirements: []
|
409
|
-
rubygems_version: 3.
|
410
|
-
signing_key:
|
407
|
+
rubygems_version: 3.6.7
|
411
408
|
specification_version: 4
|
412
409
|
summary: Add Puppet features to Foreman
|
413
410
|
test_files:
|