foreman_puppet 1.0.0 → 2.0.0.alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb +14 -16
  3. data/app/controllers/concerns/foreman_puppet/{api/import_puppetclasses_common_controller.rb → extensions/api_smart_proxies_controller.rb} +9 -3
  4. data/app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb +23 -1
  5. data/app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb +15 -17
  6. data/app/controllers/concerns/foreman_puppet/extensions/hostgroups_controller_extensions.rb +4 -2
  7. data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +1 -2
  8. data/app/controllers/concerns/foreman_puppet/extensions/parameters_hostgroup.rb +2 -8
  9. data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +0 -1
  10. data/app/controllers/foreman_puppet/puppetclasses_controller.rb +1 -1
  11. data/app/helpers/foreman_puppet/hosts_and_hostgroups_helper.rb +0 -5
  12. data/app/helpers/foreman_puppet/hosts_helper.rb +6 -10
  13. data/app/helpers/foreman_puppet/puppet_smart_proxies_helper.rb +4 -0
  14. data/app/models/concerns/foreman_puppet/extensions/host.rb +2 -16
  15. data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +2 -7
  16. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +7 -12
  17. data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +5 -10
  18. data/app/services/concerns/foreman_puppet/extensions/host_counter.rb +17 -0
  19. data/app/services/foreman_puppet/puppet_class_importer.rb +0 -6
  20. data/app/views/foreman_puppet/api/v2/host_puppet_facets/host_list.json.rabl +3 -0
  21. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/base.json.rabl +2 -0
  22. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/hostgroup_list.json.rabl +3 -0
  23. data/app/views/hosts/_form_puppet_enc_tab.html.erb +3 -4
  24. data/config/api_routes.rb +1 -9
  25. data/config/initializers/api_reroute.rb +73 -5
  26. data/db/migrate/20101121140000_add_environment_to_template_combinations.foreman_puppet.rb +1 -1
  27. data/db/migrate/20200803113803_migrate_environment_to_puppet_facet.foreman_puppet.rb +4 -2
  28. data/db/migrate/20210924103241_remove_katello_id_from_environments.foreman_puppet.rb +5 -0
  29. data/db/migrate_foreman/20090722141107_create_environments.rb +2 -2
  30. data/db/migrate_foreman/20090802062223_create_puppetclasses.rb +28 -0
  31. data/db/migrate_foreman/20090905150132_create_hostgroups_puppetclasses.rb +12 -0
  32. data/db/migrate_foreman/20110412103238_remove_unused_fields_from_puppet_classes.rb +9 -0
  33. data/db/migrate_foreman/20110712070522_create_host_class.rb +11 -0
  34. data/db/migrate_foreman/20120824142048_add_some_indexes.rb +14 -0
  35. data/db/migrate_foreman/20121018152459_create_hostgroup_classes.rb +11 -0
  36. data/db/migrate_foreman/20161205142618_delete_orphaned_smart_class_parameters.rb +1 -1
  37. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.rb +1 -31
  38. data/db/migrate_foreman/20180831115634_add_uniqueness_to_puppetclass_name.rb +24 -0
  39. data/db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb +1 -1
  40. data/lib/foreman_puppet/engine.rb +6 -36
  41. data/lib/foreman_puppet/register.rb +16 -47
  42. data/lib/foreman_puppet/version.rb +1 -1
  43. data/lib/foreman_puppet.rb +1 -6
  44. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  45. data/locale/en/foreman_puppet.po +62 -8
  46. data/locale/foreman_puppet.pot +215 -133
  47. data/locale/gemspec.rb +1 -1
  48. data/package.json +8 -11
  49. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +0 -231
  50. data/test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb +255 -0
  51. data/test/controllers/foreman_puppet/environments_controller_test.rb +2 -2
  52. data/test/controllers/foreman_puppet/hostgroups_controller_test.rb +72 -52
  53. data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -1
  54. data/test/factories/foreman_puppet_factories.rb +0 -2
  55. data/test/factories/host_puppet_enhancements.rb +3 -0
  56. data/test/integration/foreman_puppet/host_js_test.rb +0 -1
  57. data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -1
  58. data/test/models/foreman_puppet/host_test.rb +26 -0
  59. data/test/models/foreman_puppet/user_test.rb +1 -5
  60. data/test/services/foreman_puppet/host_counter_test.rb +17 -0
  61. data/test/unit/foreman_puppet/puppet_class_importer_test.rb +1 -1
  62. data/webpack/src/Components/Environments/Welcome.js +2 -2
  63. metadata +22 -7
@@ -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: 2021-02-03 18:00+0100\n"
12
- "PO-Revision-Date: 2021-02-03 18:00+0100\n"
11
+ "POT-Creation-Date: 2021-07-26 08:22+0000\n"
12
+ "PO-Revision-Date: 2021-07-26 08:22+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -134,8 +134,8 @@ msgstr ""
134
134
 
135
135
  #:
136
136
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:9
137
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:16
138
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:51
137
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:20
138
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:55
139
139
  msgid "ID of environment"
140
140
  msgstr ""
141
141
 
@@ -229,338 +229,343 @@ msgstr ""
229
229
  msgid "Puppet CA"
230
230
  msgstr ""
231
231
 
232
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:11
232
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:15
233
233
  msgid "List of config groups"
234
234
  msgstr ""
235
235
 
236
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:19
236
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:23
237
237
  msgid "Show a config group"
238
238
  msgstr ""
239
239
 
240
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:32
240
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:36
241
241
  msgid "Create a config group"
242
242
  msgstr ""
243
243
 
244
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:40
244
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:44
245
245
  msgid "Update a config group"
246
246
  msgstr ""
247
247
 
248
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:48
248
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:52
249
249
  msgid "Delete a config group"
250
250
  msgstr ""
251
251
 
252
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:16
252
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:15
253
253
  msgid "List all environments"
254
254
  msgstr ""
255
255
 
256
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:17
256
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:16
257
257
  msgid "List environments of Puppet class"
258
258
  msgstr ""
259
259
 
260
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:18
260
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:17
261
261
  msgid "List environments per location"
262
262
  msgstr ""
263
263
 
264
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:19
264
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:18
265
265
  msgid "List environments per organization"
266
266
  msgstr ""
267
267
 
268
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:20
269
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:16
270
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:25
271
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:15
272
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:24
273
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:52
268
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:19
269
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:20
270
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:29
271
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:19
272
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:28
273
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:56
274
274
  msgid "ID of Puppet class"
275
275
  msgstr ""
276
276
 
277
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:29
277
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:28
278
278
  msgid "Show an environment"
279
279
  msgstr ""
280
280
 
281
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:42
281
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:41
282
282
  msgid "Create an environment"
283
283
  msgstr ""
284
284
 
285
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:50
285
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:49
286
286
  msgid "Update an environment"
287
287
  msgstr ""
288
288
 
289
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:58
289
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:57
290
290
  msgid "Delete an environment"
291
291
  msgstr ""
292
292
 
293
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:8
293
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:12
294
294
  msgid "List all Puppet class IDs for host"
295
295
  msgstr ""
296
296
 
297
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:14
297
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:18
298
298
  msgid "Add a Puppet class to host"
299
299
  msgstr ""
300
300
 
301
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:15
302
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:24
303
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:14
304
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:49
301
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:19
302
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:28
303
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:18
304
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:53
305
305
  msgid "ID of host"
306
306
  msgstr ""
307
307
 
308
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:23
308
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:27
309
309
  msgid "Remove a Puppet class from host"
310
310
  msgstr ""
311
311
 
312
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:7
312
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:11
313
313
  msgid "List all Puppet class IDs for host group"
314
314
  msgstr ""
315
315
 
316
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:13
316
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:17
317
317
  msgid "Add a Puppet class to host group"
318
318
  msgstr ""
319
319
 
320
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:14
321
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:23
322
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:15
323
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:50
320
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:18
321
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:27
322
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:19
323
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:54
324
324
  msgid "ID of host group"
325
325
  msgstr ""
326
326
 
327
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:22
327
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:26
328
328
  msgid "Remove a Puppet class from host group"
329
329
  msgstr ""
330
330
 
331
- #: ../app/controllers/foreman_puppet/api/v2/lookups_common_controller.rb:108
332
- msgid "%{model} with id '%{id}' was not found"
333
- msgstr ""
334
-
335
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:20
331
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:19
336
332
  msgid "List of override values for a specific smart class parameter"
337
333
  msgstr ""
338
334
 
339
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:22
340
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:31
341
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:25
342
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:37
335
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:21
336
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:30
337
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:24
338
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:36
343
339
  msgid "Display hidden values"
344
340
  msgstr ""
345
341
 
346
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:28
342
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:27
347
343
  msgid "Show an override value for a specific smart class parameter"
348
344
  msgstr ""
349
345
 
350
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:38
346
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:37
351
347
  msgid "Override match"
352
348
  msgstr ""
353
349
 
354
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:39
350
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:38
355
351
  msgid "Override value, required if omit is false"
356
352
  msgstr ""
357
353
 
358
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:40
354
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:39
359
355
  msgid "Foreman will not send this parameter in classification output"
360
356
  msgstr ""
361
357
 
362
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:44
358
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:43
363
359
  msgid "Create an override value for a specific smart class parameter"
364
360
  msgstr ""
365
361
 
366
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:54
362
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:53
367
363
  msgid "Update an override value for a specific smart class parameter"
368
364
  msgstr ""
369
365
 
370
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:63
366
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:62
371
367
  msgid "Delete an override value for a specific smart class parameter"
372
368
  msgstr ""
373
369
 
374
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:10
370
+ #:
371
+ #: ../app/controllers/foreman_puppet/api/v2/puppet_lookups_common_controller.rb:112
372
+ msgid "%{model} with id '%{id}' was not found"
373
+ msgstr ""
374
+
375
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:14
375
376
  msgid "List all Puppet classes"
376
377
  msgstr ""
377
378
 
378
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:11
379
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:15
379
380
  msgid "List all Puppet classes for a host"
380
381
  msgstr ""
381
382
 
382
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:12
383
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:16
383
384
  msgid "List all Puppet classes for a host group"
384
385
  msgstr ""
385
386
 
386
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:13
387
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:17
387
388
  msgid "List all Puppet classes for an environment"
388
389
  msgstr ""
389
390
 
390
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:45
391
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:49
391
392
  msgid "Show a Puppet class"
392
393
  msgstr ""
393
394
 
394
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:46
395
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:50
395
396
  msgid "Show a Puppet class for host"
396
397
  msgstr ""
397
398
 
398
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:47
399
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:51
399
400
  msgid "Show a Puppet class for a host group"
400
401
  msgstr ""
401
402
 
402
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:48
403
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:52
403
404
  msgid "Show a Puppet class for an environment"
404
405
  msgstr ""
405
406
 
406
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:63
407
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:67
407
408
  msgid "Create a Puppet class"
408
409
  msgstr ""
409
410
 
410
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:71
411
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:75
411
412
  msgid "Update a Puppet class"
412
413
  msgstr ""
413
414
 
414
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:80
415
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:84
415
416
  msgid "Delete a Puppet class"
416
417
  msgstr ""
417
418
 
418
419
  #:
419
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:14
420
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:13
420
421
  msgid "List all smart class parameters"
421
422
  msgstr ""
422
423
 
423
424
  #:
424
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:15
425
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:14
425
426
  msgid "List of smart class parameters for a specific host"
426
427
  msgstr ""
427
428
 
428
429
  #:
429
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:16
430
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:15
430
431
  msgid "List of smart class parameters for a specific host group"
431
432
  msgstr ""
432
433
 
433
434
  #:
434
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:17
435
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:16
435
436
  msgid "List of smart class parameters for a specific Puppet class"
436
437
  msgstr ""
437
438
 
438
439
  #:
439
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:18
440
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:17
440
441
  msgid "List of smart class parameters for a specific environment"
441
442
  msgstr ""
442
443
 
443
444
  #:
444
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:20
445
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:19
445
446
  msgid ""
446
447
  "List of smart class parameters for a specific environment/Puppet class combina"
447
448
  "tion"
448
449
  msgstr ""
449
450
 
450
451
  #:
451
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:35
452
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:34
452
453
  msgid "Show a smart class parameter"
453
454
  msgstr ""
454
455
 
455
456
  #:
456
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:42
457
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:41
457
458
  msgid "Update a smart class parameter"
458
459
  msgstr ""
459
460
 
460
461
  #:
461
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:46
462
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:45
462
463
  msgid "Whether the smart class parameter value is managed by Foreman"
463
464
  msgstr ""
464
465
 
465
466
  #:
466
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:47
467
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:46
467
468
  msgid "Description of smart class"
468
469
  msgstr ""
469
470
 
470
471
  #:
471
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:48
472
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:47
472
473
  msgid "Value to use when there is no match"
473
474
  msgstr ""
474
475
 
475
476
  #:
476
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:49
477
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:48
477
478
  msgid "When enabled the parameter is hidden in the UI"
478
479
  msgstr ""
479
480
 
480
481
  #:
481
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:50
482
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:49
482
483
  msgid ""
483
484
  "Foreman will not send this parameter in classification output.Puppet will use "
484
485
  "the value defined in the Puppet manifest for this parameter"
485
486
  msgstr ""
486
487
 
487
488
  #:
488
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:52
489
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:55
489
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:51
490
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:54
490
491
  msgid "The order in which values are resolved"
491
492
  msgstr ""
492
493
 
493
494
  #:
494
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:53
495
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:52
495
496
  msgid "Types of validation values"
496
497
  msgstr ""
497
498
 
498
499
  #:
499
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:54
500
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:53
500
501
  msgid "Used to enforce certain values for the parameter values"
501
502
  msgstr ""
502
503
 
503
504
  #:
504
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:56
505
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:55
505
506
  msgid "Types of variable values"
506
507
  msgstr ""
507
508
 
508
509
  #:
509
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:57
510
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:56
510
511
  msgid ""
511
512
  "If true, will raise an error if there is no default value and no matcher provi"
512
513
  "de a value"
513
514
  msgstr ""
514
515
 
515
516
  #:
516
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:58
517
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:57
517
518
  msgid "Merge all matching values (only array/hash type)"
518
519
  msgstr ""
519
520
 
520
521
  #:
521
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:59
522
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:58
522
523
  msgid "Include default value when merging all matching values"
523
524
  msgstr ""
524
525
 
525
526
  #:
526
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:60
527
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:59
527
528
  msgid "Remove duplicate values (only array type)"
528
529
  msgstr ""
529
530
 
530
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:58
531
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:61
531
532
  msgid "Successfully overridden all parameters of Puppet class %s"
532
533
  msgstr ""
533
534
 
534
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:60
535
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:63
535
536
  msgid "Successfully reset all parameters of Puppet class %s to their default values"
536
537
  msgstr ""
537
538
 
538
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:63
539
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:66
539
540
  msgid "No parameters to override for Puppet class %s"
540
541
  msgstr ""
541
542
 
542
543
  #: ../app/helpers/foreman_puppet/environments_helper.rb:13
543
544
  #: ../app/views/foreman_puppet/environments/new.html.erb:5
544
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:11
545
+ #: ../webpack/src/Components/Environments/Welcome.js:9
545
546
  msgid "Create Puppet Environment"
546
547
  msgstr ""
547
548
 
548
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:11
549
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:12
549
550
  msgid "Change Environment"
550
551
  msgstr ""
551
552
 
552
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:13
553
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:14
553
554
  msgid "Change Puppet Master"
554
555
  msgstr ""
555
556
 
556
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
557
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:26
557
558
  msgid "Puppet YAML"
558
559
  msgstr ""
559
560
 
560
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
561
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:26
561
562
  msgid "Puppet external nodes YAML dump"
562
563
  msgstr ""
563
564
 
565
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:38
566
+ msgid "Puppet Environment"
567
+ msgstr ""
568
+
564
569
  #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:32
565
570
  msgid "Omit from classification output"
566
571
  msgstr ""
@@ -687,21 +692,21 @@ msgstr ""
687
692
  msgid "Operating System"
688
693
  msgstr ""
689
694
 
690
- #: ../app/models/foreman_puppet/environment.rb:42
695
+ #: ../app/models/foreman_puppet/environment.rb:44
691
696
  msgid "Can't find a valid Foreman Proxy with a Puppet feature"
692
697
  msgstr ""
693
698
 
694
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:60
699
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:61
695
700
  msgid "%{puppetclass} does not belong to the %{environment} environment"
696
701
  msgstr ""
697
702
 
698
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:80
703
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:81
699
704
  msgid ""
700
705
  "Failed to import %{klass} for %{name}: doesn't exists in our database - ignori"
701
706
  "ng"
702
707
  msgstr ""
703
708
 
704
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:122
709
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:123
705
710
  msgid ""
706
711
  "with id %{object_id} doesn't exist or is not assigned to proper organization a"
707
712
  "nd/or location"
@@ -719,6 +724,104 @@ msgstr ""
719
724
  msgid "Can't find a valid Proxy with a Puppet feature"
720
725
  msgstr ""
721
726
 
727
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:1
728
+ msgid "Changed environments"
729
+ msgstr ""
730
+
731
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:3
732
+ msgid "Select the changes you want to apply to Foreman"
733
+ msgstr ""
734
+
735
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:5
736
+ msgid "Toggle"
737
+ msgstr ""
738
+
739
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:6
740
+ msgid "New"
741
+ msgstr ""
742
+
743
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:8
744
+ msgid "Check/Uncheck new"
745
+ msgstr ""
746
+
747
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:9
748
+ msgid "Updated"
749
+ msgstr ""
750
+
751
+ #:
752
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:11
753
+ msgid "Check/Uncheck updated"
754
+ msgstr ""
755
+
756
+ #:
757
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:12
758
+ msgid "Obsolete"
759
+ msgstr ""
760
+
761
+ #:
762
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:14
763
+ msgid "Check/Uncheck obsolete"
764
+ msgstr ""
765
+
766
+ #:
767
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:22
768
+ msgid "Check/Uncheck all"
769
+ msgstr ""
770
+
771
+ #:
772
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:24
773
+ #: ../app/views/foreman_puppet/environments/_form.html.erb:4
774
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:4
775
+ #: ../app/views/hosts/select_multiple_environment.html.erb:7
776
+ #: ../app/views/provisioning_templates/_combination.html.erb:4
777
+ msgid "Environment"
778
+ msgstr ""
779
+
780
+ #:
781
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:25
782
+ msgid "Operation"
783
+ msgstr ""
784
+
785
+ #:
786
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:26
787
+ msgid "Puppet Modules"
788
+ msgstr ""
789
+
790
+ #:
791
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:39
792
+ msgid "Check/Uncheck all %s changes"
793
+ msgstr ""
794
+
795
+ #:
796
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
797
+ msgid "Add:"
798
+ msgstr ""
799
+
800
+ #:
801
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
802
+ msgid "Remove:"
803
+ msgstr ""
804
+
805
+ #:
806
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
807
+ msgid "Update:"
808
+ msgstr ""
809
+
810
+ #:
811
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
812
+ msgid "Ignored:"
813
+ msgstr ""
814
+
815
+ #:
816
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:59
817
+ msgid "Cancel"
818
+ msgstr ""
819
+
820
+ #:
821
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:60
822
+ msgid "Update"
823
+ msgstr ""
824
+
722
825
  #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:10
723
826
  msgid "included already from parent"
724
827
  msgstr ""
@@ -754,14 +857,14 @@ msgstr ""
754
857
 
755
858
  #: ../app/views/foreman_puppet/config_groups/index.html.erb:3
756
859
  #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:1
757
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:6
860
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:9
758
861
  #: ../lib/foreman_puppet/register.rb:157
759
862
  msgid "Config Groups"
760
863
  msgstr ""
761
864
 
762
865
  #: ../app/views/foreman_puppet/config_groups/index.html.erb:5
763
866
  #: ../app/views/foreman_puppet/config_groups/new.html.erb:1
764
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:10
867
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:5
765
868
  msgid "Create Config Group"
766
869
  msgstr ""
767
870
 
@@ -792,26 +895,13 @@ msgstr ""
792
895
  msgid "Delete %s?"
793
896
  msgstr ""
794
897
 
795
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:7
898
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:4
796
899
  msgid ""
797
900
  "A config group provides a one-step method of associating many Puppet classes t"
798
901
  "o either a host or host group. Typically this would be used to add a particula"
799
902
  "r application profile or stack in one step."
800
903
  msgstr ""
801
904
 
802
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:8
803
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:9
804
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
805
- msgid "Learn more about this in the documentation."
806
- msgstr ""
807
-
808
- #: ../app/views/foreman_puppet/environments/_form.html.erb:4
809
- #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:4
810
- #: ../app/views/hosts/select_multiple_environment.html.erb:7
811
- #: ../app/views/provisioning_templates/_combination.html.erb:4
812
- msgid "Environment"
813
- msgstr ""
814
-
815
905
  #: ../app/views/foreman_puppet/environments/_form.html.erb:6
816
906
  msgid "Locations"
817
907
  msgstr ""
@@ -844,21 +934,6 @@ msgstr ""
844
934
  msgid "Puppet environments"
845
935
  msgstr ""
846
936
 
847
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:6
848
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10
849
- #: ../app/views/smart_proxies/plugins/_puppet.html.erb:4
850
- #: ../lib/foreman_puppet/register.rb:151
851
- msgid "Environments"
852
- msgstr ""
853
-
854
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:7
855
- msgid ""
856
- "If you are planning to use Foreman as an external node classifier you should p"
857
- "rovide information about one or more environments. This information is commonl"
858
- "y imported from a pre-existing Puppet configuration by the use of the %{link_s"
859
- "tart}Puppet classes and environment importer%{link_end}."
860
- msgstr ""
861
-
862
937
  #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:5
863
938
  msgid "Number of classes"
864
939
  msgstr ""
@@ -879,7 +954,7 @@ msgstr ""
879
954
 
880
955
  #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1
881
956
  #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1
882
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:6
957
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
883
958
  #: ../lib/foreman_puppet/register.rb:160
884
959
  msgid "Smart Class Parameters"
885
960
  msgstr ""
@@ -898,7 +973,7 @@ msgstr ""
898
973
  msgid "Number of Overrides"
899
974
  msgstr ""
900
975
 
901
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:7
976
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:4
902
977
  msgid ""
903
978
  "Parameterized class support permits detecting, importing, and supplying parame"
904
979
  "ters directly to classes which support it, via the ENC and depending on a set "
@@ -987,6 +1062,13 @@ msgstr ""
987
1062
  msgid "Puppetclass|Name"
988
1063
  msgstr ""
989
1064
 
1065
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10
1066
+ #: ../app/views/smart_proxies/plugins/_puppet.html.erb:4
1067
+ #: ../lib/foreman_puppet/register.rb:151
1068
+ #: ../webpack/src/Components/Environments/Welcome.js:21
1069
+ msgid "Environments"
1070
+ msgstr ""
1071
+
990
1072
  #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:13
991
1073
  msgid "Parameters"
992
1074
  msgstr ""
@@ -1055,7 +1137,7 @@ msgstr ""
1055
1137
  msgid "Hosts managed:"
1056
1138
  msgstr ""
1057
1139
 
1058
- #: ../lib/foreman_puppet/register.rb:148 ../lib/foreman_puppet/register.rb:204
1140
+ #: ../lib/foreman_puppet/register.rb:148 ../lib/foreman_puppet/register.rb:210
1059
1141
  msgid "Puppet ENC"
1060
1142
  msgstr ""
1061
1143
 
@@ -1088,5 +1170,5 @@ msgid "Remote action:"
1088
1170
  msgstr ""
1089
1171
 
1090
1172
  #: gemspec.rb:2
1091
- msgid "Allow assigning Puppet environmets and classes to the Foreman Hosts."
1173
+ msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1092
1174
  msgstr ""