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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +1 -1
  3. data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +1 -1
  4. data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +1 -1
  5. data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +1 -1
  6. data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +7 -7
  7. data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +1 -1
  8. data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +4 -4
  9. data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +1 -1
  10. data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +1 -1
  11. data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +5 -5
  12. data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +1 -1
  13. data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +93 -95
  14. data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +1 -1
  15. data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +1 -1
  16. data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +1 -1
  17. data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +1 -1
  18. data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +1 -1
  19. data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +4 -4
  20. data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +1 -1
  21. data/app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb +1 -1
  22. data/app/services/foreman_puppet/puppet_class_importer.rb +11 -1
  23. data/lib/foreman_puppet/version.rb +1 -1
  24. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  25. data/locale/ca/foreman_puppet.po +1 -1
  26. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  27. data/locale/cs_CZ/foreman_puppet.po +1 -1
  28. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  29. data/locale/de/foreman_puppet.po +1 -1
  30. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  31. data/locale/en/foreman_puppet.po +1 -1
  32. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  33. data/locale/en_GB/foreman_puppet.po +7 -7
  34. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  35. data/locale/es/foreman_puppet.po +2 -2
  36. data/locale/foreman_puppet.pot +3 -19
  37. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  38. data/locale/fr/foreman_puppet.po +5 -5
  39. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  40. data/locale/gl/foreman_puppet.po +1 -1
  41. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  42. data/locale/it/foreman_puppet.po +1 -1
  43. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  44. data/locale/ja/foreman_puppet.po +6 -6
  45. data/locale/ka/LC_MESSAGES/foreman_puppet.mo +0 -0
  46. data/locale/ka/foreman_puppet.po +1 -1
  47. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  48. data/locale/ko/foreman_puppet.po +98 -94
  49. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  50. data/locale/nl_NL/foreman_puppet.po +1 -1
  51. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  52. data/locale/pl/foreman_puppet.po +1 -1
  53. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  54. data/locale/pt_BR/foreman_puppet.po +1 -1
  55. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  56. data/locale/ru/foreman_puppet.po +1 -1
  57. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  58. data/locale/sv_SE/foreman_puppet.po +1 -1
  59. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  60. data/locale/zh_CN/foreman_puppet.po +5 -5
  61. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  62. data/locale/zh_TW/foreman_puppet.po +1 -1
  63. data/test/integration/foreman_puppet/host_js_test.rb +6 -6
  64. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/ConfigStatusCard/index.js +3 -3
  65. metadata +3 -6
@@ -3,10 +3,10 @@
3
3
  "locale_data": {
4
4
  "foreman_puppet": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_puppet 8.0.0",
6
+ "Project-Id-Version": "foreman_puppet 8.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2021-02-03 16:30+0000",
9
- "Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024",
9
+ "Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025",
10
10
  "Language-Team": "Chinese (China) (https://app.transifex.com/foreman/teams/114/zh_CN/)",
11
11
  "MIME-Version": "1.0",
12
12
  "Content-Type": "text/plain; charset=UTF-8",
@@ -42,7 +42,7 @@
42
42
  "*从主机组继承*"
43
43
  ],
44
44
  "<b>Description:</b> %{desc}<br/>\\n <b>Type:</b> %{type}<br/>\\n <b>Matcher:</b> %{matcher}<br/>\\n <b>Inherited value:</b> %{inherited_value}": [
45
- "<b>描述:</b> %{desc}<br/>\\n <b>类型:</b> %{type}<br/>\\n <b>匹配器:</b> %{matcher}<br/>\\n <b>继承的值:</b> %{inherited_value}"
45
+ "<b>描述:</b> %{desc}<br/>\\n <b>类型:</b>%{type}<br/>\\n <b>匹配器:</b> %{matcher}<br/>\\n <b>继承的值:</b> %{inherited_value}"
46
46
  ],
47
47
  "A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step.": [
48
48
  "配置组提供了将多个 Puppet 类关联到一个主机或主机组的一步方法。此方法一般用于通过一个步骤添加特定的应用配置文件或堆栈。"
@@ -759,7 +759,7 @@
759
759
  "所选主机的 %{proxy_type} 代理服务器被设置为 %{proxy_name}"
760
760
  ],
761
761
  "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}.": [
762
- "所选主机的 %{proxy_type} 代理服务器被设置为 %{proxy_name}。"
762
+ "所选主机的 %{proxy_type} 代理被设置为 %{proxy_name}。"
763
763
  ],
764
764
  "The class could not be saved because of an error in one of the class parameters.": [
765
765
  "此类无法保存,因为其中一个类参数含有错误。"
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_puppet": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_puppet 8.0.0",
6
+ "Project-Id-Version": "foreman_puppet 8.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2021-02-03 16:30+0000",
9
9
  "Last-Translator": "0868a4d1af5275b3f70b0a6dac4c99a4, 2023",
@@ -140,7 +140,7 @@ module ForemanPuppet
140
140
  end
141
141
 
142
142
  def find_optional_environment
143
- @environment = Environment.authorized(:view_environments).find(@env_id) if @env_id
143
+ @environment = resource_finder(Environment.authorized(:view_environments), @env_id) if @env_id
144
144
  rescue ActiveRecord::RecordNotFound => e
145
145
  Foreman::Logging.exception('Resource not found', e, level: :debug)
146
146
  nil
@@ -229,7 +229,17 @@ module ForemanPuppet
229
229
  end
230
230
 
231
231
  def load_ignored_file
232
- File.exist?(ignored_file_path) ? YAML.load_file(ignored_file_path) : {}
232
+ if File.exist?(ignored_file_path)
233
+ # Ruby 3+
234
+ if YAML.respond_to(:safe_load_file)
235
+ YAML.safe_load_file(ignored_file_path, permitted_classes: [Symbol, Regexp])
236
+ else
237
+ # NOTE: Once we drop Ruby 2.7 support, you can drop the load_file call.
238
+ YAML.load_file(ignored_file_path)
239
+ end
240
+ else
241
+ {}
242
+ end
233
243
  end
234
244
 
235
245
  def ignored_file
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '8.1.0'.freeze
2
+ VERSION = '8.1.2'.freeze
3
3
  end
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_puppet 8.0.0\n"
11
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
14
14
  "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2023\n"
@@ -11,7 +11,7 @@
11
11
  #
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: foreman_puppet 8.0.0\n"
14
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
16
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
17
17
  "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2023\n"
@@ -25,7 +25,7 @@
25
25
  #
26
26
  msgid ""
27
27
  msgstr ""
28
- "Project-Id-Version: foreman_puppet 8.0.0\n"
28
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
29
29
  "Report-Msgid-Bugs-To: \n"
30
30
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
31
31
  "Last-Translator: pdolinic, 2024\n"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_puppet 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "PO-Revision-Date: 2024-09-19 13:06+0200\n"
11
+ "PO-Revision-Date: 2025-02-20 11:36+0100\n"
12
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
14
  "Language: \n"
@@ -9,7 +9,7 @@
9
9
  #
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_puppet 8.0.0\n"
12
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
15
15
  "Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
@@ -253,7 +253,7 @@ msgid "Environment"
253
253
  msgstr "Environment"
254
254
 
255
255
  msgid "Environment only"
256
- msgstr ""
256
+ msgstr "Environment only"
257
257
 
258
258
  msgid "Environments"
259
259
  msgstr ""
@@ -316,10 +316,10 @@ msgid "Host Groups"
316
316
  msgstr ""
317
317
 
318
318
  msgid "Host group and Environment"
319
- msgstr ""
319
+ msgstr "Host group and Environment"
320
320
 
321
321
  msgid "Host group only"
322
- msgstr ""
322
+ msgstr "Host group only"
323
323
 
324
324
  msgid "Host groups"
325
325
  msgstr ""
@@ -547,10 +547,10 @@ msgid "Omit from classification output"
547
547
  msgstr ""
548
548
 
549
549
  msgid "Operating System"
550
- msgstr ""
550
+ msgstr "Operating System"
551
551
 
552
552
  msgid "Operating system default"
553
- msgstr ""
553
+ msgstr "Operating system default"
554
554
 
555
555
  msgid "Operation"
556
556
  msgstr ""
@@ -777,7 +777,7 @@ msgid "The class could not be saved because of an error in one of the class para
777
777
  msgstr ""
778
778
 
779
779
  msgid "The final entry, Operating System default, can be set by editing the %s page."
780
- msgstr ""
780
+ msgstr "The final entry, Operating System default, can be set by editing the %s page."
781
781
 
782
782
  msgid "The order in which values are resolved"
783
783
  msgstr ""
@@ -8,7 +8,7 @@
8
8
  # fe37ea014ea122db60df81cd86b163af_742ef71 <ba9f59c06b0be83ac3724b1834a4c14b_93939>, 2021
9
9
  # francis <hackgo@gmail.com>, 2021
10
10
  # Gustavo Varela <gustavo.varela@gmail.com>, 2021
11
- # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2021
11
+ # Sergio Ocón-Cárdenas, 2021
12
12
  # elobato <elobatocs@gmail.com>, 2021
13
13
  # Jared Nelson <jared@ajpadilla.com>, 2022
14
14
  # Carmela Rubiños <carmela.rubinos@gmail.com>, 2023
@@ -18,7 +18,7 @@
18
18
  #
19
19
  msgid ""
20
20
  msgstr ""
21
- "Project-Id-Version: foreman_puppet 8.0.0\n"
21
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
22
22
  "Report-Msgid-Bugs-To: \n"
23
23
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
24
24
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_puppet 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-03-05 20:07+0100\n"
12
- "PO-Revision-Date: 2024-03-05 20:07+0100\n"
11
+ "POT-Creation-Date: 2025-02-20 11:36+0100\n"
12
+ "PO-Revision-Date: 2025-02-20 11:36+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -1246,7 +1246,7 @@ msgstr ""
1246
1246
  msgid "Puppet ENC"
1247
1247
  msgstr ""
1248
1248
 
1249
- #: ../lib/foreman_puppet/register.rb:232
1249
+ #: ../lib/foreman_puppet/register.rb:232 ../webpack/global_index.js:19
1250
1250
  msgid "Puppet env"
1251
1251
  msgstr ""
1252
1252
 
@@ -1397,22 +1397,6 @@ msgstr ""
1397
1397
  msgid "Some Puppet Classes are unavailable in the selected environment"
1398
1398
  msgstr ""
1399
1399
 
1400
- #: action_names.rb:2
1401
- msgid "Action with sub plans"
1402
- msgstr ""
1403
-
1404
- #: action_names.rb:3
1405
- msgid "Import facts"
1406
- msgstr ""
1407
-
1408
- #: action_names.rb:4
1409
- msgid "Import Puppet classes"
1410
- msgstr ""
1411
-
1412
- #: action_names.rb:5
1413
- msgid "Remote action:"
1414
- msgstr ""
1415
-
1416
1400
  #: gemspec.rb:2
1417
1401
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1418
1402
  msgstr ""
@@ -12,15 +12,15 @@
12
12
  # Amit Upadhye <aupadhye@redhat.com>, 2023
13
13
  # 21966816214bc546c1fc8a185e75ca1c, 2023
14
14
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
15
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
15
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
16
16
  #
17
17
  msgid ""
18
18
  msgstr ""
19
- "Project-Id-Version: foreman_puppet 8.0.0\n"
19
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
20
20
  "Report-Msgid-Bugs-To: \n"
21
21
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
22
22
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
23
- "n.nl>, 2024\n"
23
+ "n.nl>, 2025\n"
24
24
  "Language-Team: French (https://app.transifex.com/foreman/teams/114/fr/)\n"
25
25
  "MIME-Version: 1.0\n"
26
26
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -39,7 +39,7 @@ msgid "%s out of sync disabled"
39
39
  msgstr "Désynchronisation de %s désactivée"
40
40
 
41
41
  msgid "%{model} with id '%{id}' was not found"
42
- msgstr "%{model} aynat pour id '%{id}' n'a pas été trouvé"
42
+ msgstr "%{model} ayant pour id '%{id}' n'a pas été trouvé"
43
43
 
44
44
  msgid "%{name} has %{num_tag} class"
45
45
  msgid_plural "%{name} has %{num_tag} classes"
@@ -779,7 +779,7 @@ msgstr[1] "Le proxy %{proxy_type} puppet ca n'a pas pu être défini pour les h
779
779
  msgstr[2] "Le proxy %{proxy_type} puppet ca n'a pas pu être défini pour les hôtes : %{host_names}"
780
780
 
781
781
  msgid "The %{proxy_type} proxy of the selected hosts was cleared."
782
- msgstr "Le proxy % %{proxy_type} pour les hôtes sélectionnés a été effacé"
782
+ msgstr "Le proxy %{proxy_type} pour les hôtes sélectionnés a été effacé"
783
783
 
784
784
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}"
785
785
  msgstr "Le proxy %{proxy_type} pour les hôtes sélectionnés a été défini à %{proxy_name}."
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_puppet 8.0.0\n"
11
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
14
14
  "Last-Translator: Carmela Rubiños <carmela.rubinos@gmail.com>, 2023\n"
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Project-Id-Version: foreman_puppet 8.0.0\n"
15
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
16
16
  "Report-Msgid-Bugs-To: \n"
17
17
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
18
18
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2024\n"
@@ -6,15 +6,15 @@
6
6
  # Translators:
7
7
  # Transifex Bot <>, 2021
8
8
  # Amit Upadhye <aupadhye@redhat.com>, 2022
9
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
9
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
10
10
  #
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_puppet 8.0.0\n"
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: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
17
- "n.nl>, 2024\n"
17
+ "n.nl>, 2025\n"
18
18
  "Language-Team: Japanese (https://app.transifex.com/foreman/teams/114/ja/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -36,7 +36,7 @@ msgstr "id '%{id}' の %{model} が見つかりませんでした"
36
36
 
37
37
  msgid "%{name} has %{num_tag} class"
38
38
  msgid_plural "%{name} has %{num_tag} classes"
39
- msgstr[0] "%{name} には {num_tag} クラスが含まれます"
39
+ msgstr[0] "%{name} には %%{num_tag} クラスが含まれます"
40
40
 
41
41
  msgid "%{puppetclass} does not belong to the %{environment} environment"
42
42
  msgstr "%{puppetclass} は %{environment} 環境に所属していません"
@@ -152,7 +152,7 @@ msgid "Config Management"
152
152
  msgstr "設定管理"
153
153
 
154
154
  msgid "Copy to clipboard"
155
- msgstr "クリップボードへのコピー"
155
+ msgstr "クリップボードにコピー"
156
156
 
157
157
  msgid "Corrective Change"
158
158
  msgstr "修正変更"
@@ -587,7 +587,7 @@ msgid "Override this value"
587
587
  msgstr "この値の上書き"
588
588
 
589
589
  msgid "Override value, required if omit is false"
590
- msgstr "上書き値 (omit が false の場合に必要)"
590
+ msgstr "上書き値 (--omit が false の場合に必要)"
591
591
 
592
592
  msgid "Parameter"
593
593
  msgstr "パラメーター"
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_puppet 8.0.0\n"
11
+ "Project-Id-Version: foreman_puppet 8.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
14
14
  "Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2023\n"