foreman_puppet 3.0.2 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
  3. data/app/views/foreman_puppet/config_groups/index.html.erb +3 -1
  4. data/app/views/hosts/foreman_puppet/_form_list_env_field_content.html.erb +1 -0
  5. data/app/views/hosts/foreman_puppet/_form_list_env_field_header.html.erb +1 -0
  6. data/lib/foreman_puppet/register.rb +4 -0
  7. data/lib/foreman_puppet/version.rb +1 -1
  8. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  9. data/locale/ca/foreman_puppet.edit.po +1095 -0
  10. data/locale/ca/foreman_puppet.po +70 -1
  11. data/locale/ca/foreman_puppet.po.time_stamp +0 -0
  12. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  13. data/locale/cs_CZ/foreman_puppet.edit.po +199 -184
  14. data/locale/cs_CZ/foreman_puppet.po +13 -2
  15. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  16. data/locale/de/foreman_puppet.edit.po +1122 -0
  17. data/locale/de/foreman_puppet.po +25 -13
  18. data/locale/de/foreman_puppet.po.time_stamp +0 -0
  19. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  20. data/locale/en/foreman_puppet.edit.po +33 -25
  21. data/locale/en/foreman_puppet.po +13 -1
  22. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  23. data/locale/en_GB/foreman_puppet.edit.po +1097 -0
  24. data/locale/en_GB/foreman_puppet.po +13 -2
  25. data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
  26. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  27. data/locale/es/foreman_puppet.edit.po +1104 -0
  28. data/locale/es/foreman_puppet.po +13 -2
  29. data/locale/es/foreman_puppet.po.time_stamp +0 -0
  30. data/locale/foreman_puppet.pot +48 -25
  31. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  32. data/locale/fr/foreman_puppet.edit.po +1112 -0
  33. data/locale/fr/foreman_puppet.po +13 -2
  34. data/locale/fr/foreman_puppet.po.time_stamp +0 -0
  35. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  36. data/locale/gl/foreman_puppet.edit.po +1095 -0
  37. data/locale/gl/foreman_puppet.po +13 -2
  38. data/locale/gl/foreman_puppet.po.time_stamp +0 -0
  39. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  40. data/locale/it/foreman_puppet.edit.po +1099 -0
  41. data/locale/it/foreman_puppet.po +13 -2
  42. data/locale/it/foreman_puppet.po.time_stamp +0 -0
  43. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  44. data/locale/ja/foreman_puppet.edit.po +1107 -0
  45. data/locale/ja/foreman_puppet.po +15 -4
  46. data/locale/ja/foreman_puppet.po.time_stamp +0 -0
  47. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  48. data/locale/ko/foreman_puppet.edit.po +1096 -0
  49. data/locale/ko/foreman_puppet.po +13 -2
  50. data/locale/ko/foreman_puppet.po.time_stamp +0 -0
  51. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  52. data/locale/nl_NL/foreman_puppet.edit.po +1100 -0
  53. data/locale/nl_NL/foreman_puppet.po +13 -2
  54. data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
  55. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  56. data/locale/pl/foreman_puppet.edit.po +1099 -0
  57. data/locale/pl/foreman_puppet.po +13 -2
  58. data/locale/pl/foreman_puppet.po.time_stamp +0 -0
  59. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  60. data/locale/pt_BR/foreman_puppet.edit.po +1103 -0
  61. data/locale/pt_BR/foreman_puppet.po +13 -2
  62. data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
  63. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  64. data/locale/ru/foreman_puppet.edit.po +1104 -0
  65. data/locale/ru/foreman_puppet.po +15 -4
  66. data/locale/ru/foreman_puppet.po.time_stamp +0 -0
  67. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  68. data/locale/sv_SE/foreman_puppet.edit.po +1099 -0
  69. data/locale/sv_SE/foreman_puppet.po +13 -2
  70. data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
  71. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  72. data/locale/zh_CN/foreman_puppet.edit.po +1108 -0
  73. data/locale/zh_CN/foreman_puppet.po +16 -5
  74. data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
  75. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  76. data/locale/zh_TW/foreman_puppet.edit.po +1098 -0
  77. data/locale/zh_TW/foreman_puppet.po +13 -2
  78. data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
  79. data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -10
  80. metadata +36 -2
@@ -8,10 +8,9 @@
8
8
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
9
9
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
10
10
  #
11
- #, fuzzy
12
11
  msgid ""
13
12
  msgstr ""
14
- "Project-Id-Version: foreman_puppet 2.0.0.alpha.2\n"
13
+ "Project-Id-Version: foreman_puppet 3.0.2\n"
15
14
  "Report-Msgid-Bugs-To: \n"
16
15
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
17
16
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2021\n"
@@ -89,6 +88,9 @@ msgstr "所有環境 -(未篩選)"
89
88
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
90
89
  msgstr ""
91
90
 
91
+ msgid "Autosign entries"
92
+ msgstr ""
93
+
92
94
  msgid "Available Classes"
93
95
  msgstr "可用類別"
94
96
 
@@ -104,6 +106,9 @@ msgstr ""
104
106
  msgid "Cancel"
105
107
  msgstr "取消"
106
108
 
109
+ msgid "Certificates"
110
+ msgstr ""
111
+
107
112
  msgid "Change Environment"
108
113
  msgstr "更改環境"
109
114
 
@@ -341,6 +346,9 @@ msgstr ""
341
346
  msgid "If true, will raise an error if there is no default value and no matcher provide a value"
342
347
  msgstr "若為真而沒有預設值並且比對器未提供值的話,將會造成錯誤發生。"
343
348
 
349
+ msgid "If you are planning to use Foreman as an external node classifier you should provide information about one or more environments.<br/> This information is commonly imported from a pre-existing Puppet configuration by the use of the <a target=\"_blank\" href=${getManualURL( '4.2.2Classes' )}>Puppet classes and environment importer.</a>"
350
+ msgstr ""
351
+
344
352
  msgid "Ignored classes in the environments: %s"
345
353
  msgstr ""
346
354
 
@@ -677,6 +685,9 @@ msgstr "智慧類別參數"
677
685
  msgid "Smart Class Parameters"
678
686
  msgstr ""
679
687
 
688
+ msgid "Some Puppet Classes are unavailable in the selected environment"
689
+ msgstr ""
690
+
680
691
  msgid "Successfully overridden all parameters of Puppet class %s"
681
692
  msgstr "已成功置換 Puppet 類別 %s 的所有參數"
682
693
 
File without changes
@@ -289,16 +289,6 @@ module ForemanPuppet
289
289
  assert_response :forbidden
290
290
  end
291
291
 
292
- test 'when "require_ssl" is true, HTTP requests should not be able to get externalNodes' do
293
- User.current = nil
294
- Setting[:restrict_registered_smart_proxies] = true
295
- SETTINGS[:require_ssl] = true
296
-
297
- Resolv.any_instance.stubs(:getnames).returns(['else.where'])
298
- get :externalNodes, params: { name: host1.name, format: 'yml' }
299
- assert_response :redirect
300
- end
301
-
302
292
  test 'authenticated users over HTTP should be able to get externalNodes' do
303
293
  Setting[:restrict_registered_smart_proxies] = true
304
294
  SETTINGS[:require_ssl] = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-02-28 00:00:00.000000000 Z
12
+ date: 2022-03-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Allow assigning Puppet environments and classes to the Foreman Hosts.
15
15
  email:
@@ -169,6 +169,8 @@ files:
169
169
  - app/views/foreman_puppet/puppetclasses/edit.html.erb
170
170
  - app/views/foreman_puppet/puppetclasses/index.html.erb
171
171
  - app/views/hosts/_form_puppet_enc_tab.html.erb
172
+ - app/views/hosts/foreman_puppet/_form_list_env_field_content.html.erb
173
+ - app/views/hosts/foreman_puppet/_form_list_env_field_header.html.erb
172
174
  - app/views/hosts/foreman_puppet/_form_main_tab_fields.html.erb
173
175
  - app/views/hosts/select_multiple_environment.html.erb
174
176
  - app/views/provisioning_templates/_combination.html.erb
@@ -216,49 +218,81 @@ files:
216
218
  - locale/Makefile
217
219
  - locale/action_names.rb
218
220
  - locale/ca/LC_MESSAGES/foreman_puppet.mo
221
+ - locale/ca/foreman_puppet.edit.po
219
222
  - locale/ca/foreman_puppet.po
223
+ - locale/ca/foreman_puppet.po.time_stamp
220
224
  - locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo
221
225
  - locale/cs_CZ/foreman_puppet.edit.po
222
226
  - locale/cs_CZ/foreman_puppet.po
223
227
  - locale/cs_CZ/foreman_puppet.po.time_stamp
224
228
  - locale/de/LC_MESSAGES/foreman_puppet.mo
229
+ - locale/de/foreman_puppet.edit.po
225
230
  - locale/de/foreman_puppet.po
231
+ - locale/de/foreman_puppet.po.time_stamp
226
232
  - locale/en/LC_MESSAGES/foreman_puppet.mo
227
233
  - locale/en/foreman_puppet.edit.po
228
234
  - locale/en/foreman_puppet.po
229
235
  - locale/en/foreman_puppet.po.time_stamp
230
236
  - locale/en/foreman_puppet.pox
231
237
  - locale/en_GB/LC_MESSAGES/foreman_puppet.mo
238
+ - locale/en_GB/foreman_puppet.edit.po
232
239
  - locale/en_GB/foreman_puppet.po
240
+ - locale/en_GB/foreman_puppet.po.time_stamp
233
241
  - locale/es/LC_MESSAGES/foreman_puppet.mo
242
+ - locale/es/foreman_puppet.edit.po
234
243
  - locale/es/foreman_puppet.po
244
+ - locale/es/foreman_puppet.po.time_stamp
235
245
  - locale/foreman_puppet.pot
236
246
  - locale/fr/LC_MESSAGES/foreman_puppet.mo
247
+ - locale/fr/foreman_puppet.edit.po
237
248
  - locale/fr/foreman_puppet.po
249
+ - locale/fr/foreman_puppet.po.time_stamp
238
250
  - locale/gemspec.rb
239
251
  - locale/gl/LC_MESSAGES/foreman_puppet.mo
252
+ - locale/gl/foreman_puppet.edit.po
240
253
  - locale/gl/foreman_puppet.po
254
+ - locale/gl/foreman_puppet.po.time_stamp
241
255
  - locale/it/LC_MESSAGES/foreman_puppet.mo
256
+ - locale/it/foreman_puppet.edit.po
242
257
  - locale/it/foreman_puppet.po
258
+ - locale/it/foreman_puppet.po.time_stamp
243
259
  - locale/ja/LC_MESSAGES/foreman_puppet.mo
260
+ - locale/ja/foreman_puppet.edit.po
244
261
  - locale/ja/foreman_puppet.po
262
+ - locale/ja/foreman_puppet.po.time_stamp
245
263
  - locale/ko/LC_MESSAGES/foreman_puppet.mo
264
+ - locale/ko/foreman_puppet.edit.po
246
265
  - locale/ko/foreman_puppet.po
266
+ - locale/ko/foreman_puppet.po.time_stamp
247
267
  - locale/messages.mo
248
268
  - locale/nl_NL/LC_MESSAGES/foreman_puppet.mo
269
+ - locale/nl_NL/foreman_puppet.edit.po
249
270
  - locale/nl_NL/foreman_puppet.po
271
+ - locale/nl_NL/foreman_puppet.po.time_stamp
250
272
  - locale/pl/LC_MESSAGES/foreman_puppet.mo
273
+ - locale/pl/foreman_puppet.edit.po
251
274
  - locale/pl/foreman_puppet.po
275
+ - locale/pl/foreman_puppet.po.time_stamp
252
276
  - locale/pt_BR/LC_MESSAGES/foreman_puppet.mo
277
+ - locale/pt_BR/foreman_puppet.edit.po
253
278
  - locale/pt_BR/foreman_puppet.po
279
+ - locale/pt_BR/foreman_puppet.po.time_stamp
254
280
  - locale/ru/LC_MESSAGES/foreman_puppet.mo
281
+ - locale/ru/foreman_puppet.edit.po
255
282
  - locale/ru/foreman_puppet.po
283
+ - locale/ru/foreman_puppet.po.time_stamp
256
284
  - locale/sv_SE/LC_MESSAGES/foreman_puppet.mo
285
+ - locale/sv_SE/foreman_puppet.edit.po
257
286
  - locale/sv_SE/foreman_puppet.po
287
+ - locale/sv_SE/foreman_puppet.po.time_stamp
258
288
  - locale/zh_CN/LC_MESSAGES/foreman_puppet.mo
289
+ - locale/zh_CN/foreman_puppet.edit.po
259
290
  - locale/zh_CN/foreman_puppet.po
291
+ - locale/zh_CN/foreman_puppet.po.time_stamp
260
292
  - locale/zh_TW/LC_MESSAGES/foreman_puppet.mo
293
+ - locale/zh_TW/foreman_puppet.edit.po
261
294
  - locale/zh_TW/foreman_puppet.po
295
+ - locale/zh_TW/foreman_puppet.po.time_stamp
262
296
  - package.json
263
297
  - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
264
298
  - test/controllers/foreman_puppet/api/v2/environments_controller_test.rb