foreman_discovery 13.0.1 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +3 -1
  3. data/app/models/host/discovered.rb +8 -78
  4. data/app/models/host/managed_extensions.rb +3 -3
  5. data/app/models/nic/managed_extensions.rb +1 -1
  6. data/app/services/foreman_discovery/import_hook.rb +12 -0
  7. data/app/services/foreman_discovery/import_hook_service.rb +24 -0
  8. data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +33 -0
  9. data/app/services/foreman_discovery/import_hooks/lldp_neighbor.rb +11 -0
  10. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +27 -0
  11. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +63 -0
  12. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  13. data/app/views/foreman_discovery/debian_kexec.erb +4 -3
  14. data/app/views/foreman_discovery/redhat_kexec.erb +4 -2
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -2
  16. data/db/seeds.d/50_discovery_templates.rb +9 -2
  17. data/extra/discover-host +1 -1
  18. data/lib/foreman_discovery/engine.rb +1 -1
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +100 -61
  22. data/locale/ca/foreman_discovery.po +31 -4
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +111 -71
  25. data/locale/de/foreman_discovery.po +41 -13
  26. data/locale/en/foreman_discovery.edit.po +21 -17
  27. data/locale/en/foreman_discovery.po +3 -0
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +101 -62
  30. data/locale/en_GB/foreman_discovery.po +31 -4
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +102 -63
  33. data/locale/es/foreman_discovery.po +32 -5
  34. data/locale/foreman_discovery.pot +24 -19
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +102 -63
  37. data/locale/fr/foreman_discovery.po +32 -5
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +100 -61
  40. data/locale/gl/foreman_discovery.po +31 -4
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +102 -63
  43. data/locale/it/foreman_discovery.po +32 -5
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +102 -63
  46. data/locale/ja/foreman_discovery.po +32 -5
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +101 -62
  49. data/locale/ko/foreman_discovery.po +31 -4
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +102 -63
  52. data/locale/pt_BR/foreman_discovery.po +32 -5
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +102 -63
  55. data/locale/ru/foreman_discovery.po +32 -5
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +101 -62
  58. data/locale/sv_SE/foreman_discovery.po +32 -5
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +101 -62
  61. data/locale/zh_CN/foreman_discovery.po +31 -4
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +102 -63
  64. data/locale/zh_TW/foreman_discovery.po +32 -5
  65. data/test/factories/discovery_host_related.rb +1 -1
  66. data/test/factories/discovery_rule_related.rb +4 -4
  67. data/{extra/discovery → test/facts}/default.json +0 -0
  68. data/{extra/discovery/many_ems.json → test/facts/dell_npars.json} +5 -7
  69. data/test/facts/dell_vlan.json +328 -0
  70. data/test/{unit → facts}/facts_with_lldp.json +0 -0
  71. data/test/{unit → facts}/facts_with_lldp_bond_candidate.json +0 -0
  72. data/test/facts/puppet3-virtual.json +109 -0
  73. data/{extra/discovery → test/facts}/pxeless-vlan.json +0 -0
  74. data/test/{unit/facts.json → facts/regular_host.json} +0 -0
  75. data/{extra/discovery → test/facts}/rhel-dl380-1kdisks.json +0 -0
  76. data/{extra/discovery → test/facts}/rhel-r730.json +0 -0
  77. data/{extra/discovery → test/facts}/rhel7-vlan.json +0 -0
  78. data/{extra/discovery → test/facts}/simple-bond.json +0 -0
  79. data/{extra/discovery → test/facts}/suse-vmware.json +0 -0
  80. data/test/facts/vmware_local.json +226 -0
  81. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -1
  82. data/test/functional/api/v2/discovery_rules_controller_test.rb +1 -1
  83. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  84. data/test/functional/api/v2/settings_controller_test.rb +1 -1
  85. data/test/functional/discovered_hosts_controller_test.rb +3 -2
  86. data/test/functional/discovery_rules_controller_test.rb +3 -2
  87. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +1 -1
  88. data/test/integration/discovered_hosts_test.rb +1 -1
  89. data/test/models/setting_test.rb +1 -1
  90. data/test/test_helper_discovery.rb +6 -2
  91. data/test/test_plugin_helper.rb +2 -3
  92. data/test/unit/discovered_extensions_test.rb +7 -3
  93. data/test/unit/discovered_mailer_test.rb +1 -1
  94. data/test/unit/discovery_attribute_set_test.rb +2 -6
  95. data/test/unit/discovery_rule_test.rb +1 -1
  96. data/test/unit/discovery_taxonomy_extensions_test.rb +5 -6
  97. data/test/unit/fact_parser_test.rb +1 -1
  98. data/test/unit/host_discovered_test.rb +36 -36
  99. data/test/unit/lldp_neighbors_test.rb +3 -7
  100. data/test/unit/managed_extensions_test.rb +4 -7
  101. data/test/unit/setting_discovered_test.rb +1 -1
  102. data/test/unit/ui_notifications/destroy_host_test.rb +1 -5
  103. data/test/unit/ui_notifications/new_host_test.rb +2 -6
  104. metadata +38 -16
@@ -12,8 +12,8 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: foreman_discovery 13.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
16
- "Last-Translator: Dominic Cleal <dominic@cleal.org>\n"
15
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
16
+ "Last-Translator: Andrei Burd <burdandrei@gmail.com>\n"
17
17
  "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
18
18
  "\n"
19
19
  "MIME-Version: 1.0\n"
@@ -39,6 +39,9 @@ msgstr "Сводка обнаруженных узлов от <b>Foreman</b>"
39
39
  msgid "A summary of discovered hosts"
40
40
  msgstr "Сводка состояния обнаруженных узлов"
41
41
 
42
+ msgid "Actions"
43
+ msgstr "Действия"
44
+
42
45
  msgid "Assign Location"
43
46
  msgstr "Выбрать местоположение"
44
47
 
@@ -54,6 +57,9 @@ msgstr "Автоматическая подготовка"
54
57
  msgid "Auto provisioning"
55
58
  msgstr ""
56
59
 
60
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
61
+ msgstr ""
62
+
57
63
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
58
64
  msgstr ""
59
65
 
@@ -81,6 +87,9 @@ msgstr ""
81
87
  msgid "Collapse All"
82
88
  msgstr "Свернуть все"
83
89
 
90
+ msgid "Command line options for kexec during PXE-less provisioning."
91
+ msgstr ""
92
+
84
93
  msgid "Could not get facts from proxy %{url}: %{error}"
85
94
  msgstr "Не удалось получить факты с %{url}: %{error}"
86
95
 
@@ -96,6 +105,9 @@ msgstr "Создать узел на базе обнаруженного для
96
105
  msgid "Create a discovery rule"
97
106
  msgstr "Создать правило"
98
107
 
108
+ msgid "Create bond interfaces"
109
+ msgstr ""
110
+
99
111
  msgid "Customize Host"
100
112
  msgstr ""
101
113
 
@@ -168,6 +180,9 @@ msgstr "Правила обнаружения"
168
180
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
169
181
  msgstr ""
170
182
 
183
+ msgid "Discovery hostname naming pattern"
184
+ msgstr ""
185
+
171
186
  msgid "Discovery location"
172
187
  msgstr ""
173
188
 
@@ -237,6 +252,9 @@ msgstr "Отсутствует факт «%s»: невозможно опред
237
252
  msgid "Extra facter columns to show in host lists (separate by comma)"
238
253
  msgstr "Дополнительные столбцы Facter в списке узлов (через запятую)"
239
254
 
255
+ msgid "Fact + prefix"
256
+ msgstr ""
257
+
240
258
  msgid "Fact columns"
241
259
  msgstr ""
242
260
 
@@ -380,6 +398,9 @@ msgstr "Недействительные факты: строка не соде
380
398
  msgid "Invalid hostname: Could not normalize the hostname"
381
399
  msgstr "Не удалось нормализовать имя узла"
382
400
 
401
+ msgid "Invalid user type of %s was provided"
402
+ msgstr ""
403
+
383
404
  msgid "Kernel kexec URL is invalid: '%s'"
384
405
  msgstr ""
385
406
 
@@ -425,6 +446,9 @@ msgstr ""
425
446
  msgid "MAC address"
426
447
  msgstr "MAC-адрес"
427
448
 
449
+ msgid "MAC-based name"
450
+ msgstr ""
451
+
428
452
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
429
453
  msgstr "Максимальное число инициализируемых узлов в соответствии с правилом (0 снимает ограничения)"
430
454
 
@@ -437,9 +461,6 @@ msgstr "Дополнительно"
437
461
  msgid "Model"
438
462
  msgstr "Модель"
439
463
 
440
- msgid "Must specify a user with email enabled"
441
- msgstr "Необходимо указать пользователя с активным почтовым адресом"
442
-
443
464
  msgid "N/A"
444
465
  msgstr "нет"
445
466
 
@@ -524,6 +545,9 @@ msgstr ""
524
545
  msgid "Provision a discovered host"
525
546
  msgstr "Подготовить обнаруженный узел"
526
547
 
548
+ msgid "Random name"
549
+ msgstr ""
550
+
527
551
  msgid "Reboot"
528
552
  msgstr "Перезагрузить"
529
553
 
@@ -656,6 +680,9 @@ msgstr ""
656
680
  msgid "Type"
657
681
  msgstr "Тип"
658
682
 
683
+ msgid "Type of name generator"
684
+ msgstr ""
685
+
659
686
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
660
687
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
661
688
 
@@ -10,9 +10,9 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: foreman_discovery 13.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2018-06-15 11:25+0200\n"
14
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
15
- "Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>\n"
13
+ "POT-Creation-Date: 2018-10-25 13:56+0200\n"
14
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
15
+ "Last-Translator: Mikael Fridh <frimik@gmail.com>\n"
16
16
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/language/sv_SE/)\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -198,11 +198,11 @@ msgstr ""
198
198
  msgid "Create a discovery rule"
199
199
  msgstr ""
200
200
 
201
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:52
201
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:53
202
202
  msgid "Update a rule"
203
203
  msgstr ""
204
204
 
205
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:60
205
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:61
206
206
  msgid "Delete a rule"
207
207
  msgstr ""
208
208
 
@@ -218,11 +218,11 @@ msgstr ""
218
218
  msgid "No hostgroup associated with rule '%s'"
219
219
  msgstr ""
220
220
 
221
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:71
221
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
222
222
  msgid "Errors during reboot: %s"
223
223
  msgstr ""
224
224
 
225
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:89
225
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
226
226
  msgid "No discovered hosts to reboot"
227
227
  msgstr ""
228
228
 
@@ -343,7 +343,7 @@ msgstr "Uppdatera fakta"
343
343
 
344
344
  #: ../app/helpers/discovered_hosts_helper.rb:16
345
345
  #: ../app/helpers/discovered_hosts_helper.rb:30
346
- #: ../app/models/setting/discovered.rb:23
346
+ #: ../app/models/setting/discovered.rb:24
347
347
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
348
348
  msgid "Reboot"
349
349
  msgstr ""
@@ -431,27 +431,27 @@ msgstr ""
431
431
  msgid "Delete rule '%s'?"
432
432
  msgstr ""
433
433
 
434
- #: ../app/mailers/discovered_mailer.rb:4
435
- msgid "Must specify a user with email enabled"
434
+ #: ../app/mailers/discovered_mailer.rb:9
435
+ msgid "Invalid user type of %s was provided"
436
436
  msgstr ""
437
437
 
438
- #: ../app/mailers/discovered_mailer.rb:15
438
+ #: ../app/mailers/discovered_mailer.rb:26
439
439
  msgid "Discovered hosts summary"
440
440
  msgstr ""
441
441
 
442
- #: ../app/models/discovery_rule.rb:10
442
+ #: ../app/models/discovery_rule.rb:11
443
443
  msgid "can't contain white spaces."
444
444
  msgstr ""
445
445
 
446
- #: ../app/models/discovery_rule.rb:12
446
+ #: ../app/models/discovery_rule.rb:13
447
447
  msgid "must start with a letter or ERB."
448
448
  msgstr ""
449
449
 
450
- #: ../app/models/discovery_rule.rb:15
450
+ #: ../app/models/discovery_rule.rb:16
451
451
  msgid "must be present."
452
452
  msgstr ""
453
453
 
454
- #: ../app/models/discovery_rule.rb:48
454
+ #: ../app/models/discovery_rule.rb:53
455
455
  msgid ""
456
456
  "Host group organization %s must also be associated to the discovery rule"
457
457
  msgid_plural ""
@@ -459,46 +459,58 @@ msgid_plural ""
459
459
  msgstr[0] ""
460
460
  msgstr[1] ""
461
461
 
462
- #: ../app/models/discovery_rule.rb:54
462
+ #: ../app/models/discovery_rule.rb:59
463
463
  msgid "Host group location %s must also be associated to the discovery rule"
464
464
  msgid_plural ""
465
465
  "Host group locations %s must also be associated to the discovery rule"
466
466
  msgstr[0] ""
467
467
  msgstr[1] ""
468
468
 
469
- #: ../app/models/host/discovered.rb:51
470
- msgid "Invalid facts, must be a Hash"
469
+ #: ../app/models/host/discovered.rb:45
470
+ msgid "Fact + prefix"
471
+ msgstr ""
472
+
473
+ #: ../app/models/host/discovered.rb:46
474
+ msgid "Random name"
475
+ msgstr ""
476
+
477
+ #: ../app/models/host/discovered.rb:47
478
+ msgid "MAC-based name"
471
479
  msgstr ""
472
480
 
473
481
  #: ../app/models/host/discovered.rb:56
482
+ msgid "Invalid facts, must be a Hash"
483
+ msgstr ""
484
+
485
+ #: ../app/models/host/discovered.rb:61
474
486
  msgid ""
475
487
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
476
488
  "and set hostname"
477
489
  msgstr ""
478
490
 
479
- #: ../app/models/host/discovered.rb:63
491
+ #: ../app/models/host/discovered.rb:74
480
492
  msgid ""
481
493
  "Invalid facts: hash does not contain a valid value for any of the facts in "
482
494
  "the discovery_hostname setting: %s"
483
495
  msgstr ""
484
496
 
485
- #: ../app/models/host/discovered.rb:89
497
+ #: ../app/models/host/discovered.rb:100
486
498
  msgid "Facts could not be imported"
487
499
  msgstr ""
488
500
 
489
- #: ../app/models/host/discovered.rb:212
501
+ #: ../app/models/host/discovered.rb:155
490
502
  msgid "Could not get facts from proxy %{url}: %{error}"
491
503
  msgstr ""
492
504
 
493
- #: ../app/models/host/discovered.rb:220
505
+ #: ../app/models/host/discovered.rb:163
494
506
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
495
507
  msgstr ""
496
508
 
497
- #: ../app/models/host/discovered.rb:228
509
+ #: ../app/models/host/discovered.rb:171
498
510
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
499
511
  msgstr ""
500
512
 
501
- #: ../app/models/host/discovered.rb:247
513
+ #: ../app/models/host/discovered.rb:190
502
514
  msgid "Invalid hostname: Could not normalize the hostname"
503
515
  msgstr ""
504
516
 
@@ -535,164 +547,182 @@ msgid "Interface fact"
535
547
  msgstr ""
536
548
 
537
549
  #: ../app/models/setting/discovered.rb:20
538
- msgid "Clean all reported facts during provisioning (except discovery facts)"
550
+ msgid ""
551
+ "Automatic bond interface (if another interface is detected on the same VLAN "
552
+ "via LLDP)"
539
553
  msgstr ""
540
554
 
541
555
  #: ../app/models/setting/discovered.rb:20
542
- msgid "Clean all facts"
556
+ msgid "Create bond interfaces"
543
557
  msgstr ""
544
558
 
545
559
  #: ../app/models/setting/discovered.rb:21
546
- msgid "List of facts to use for the hostname (separated by comma, first wins)"
560
+ msgid "Clean all reported facts during provisioning (except discovery facts)"
547
561
  msgstr ""
548
562
 
549
563
  #: ../app/models/setting/discovered.rb:21
550
- msgid "Hostname facts"
564
+ msgid "Clean all facts"
551
565
  msgstr ""
552
566
 
553
567
  #: ../app/models/setting/discovered.rb:22
568
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
569
+ msgstr ""
570
+
571
+ #: ../app/models/setting/discovered.rb:22
572
+ msgid "Hostname facts"
573
+ msgstr ""
574
+
575
+ #: ../app/models/setting/discovered.rb:23
554
576
  msgid ""
555
577
  "Automatically provision newly discovered hosts, according to the "
556
578
  "provisioning rules"
557
579
  msgstr ""
558
580
 
559
- #: ../app/models/setting/discovered.rb:22
581
+ #: ../app/models/setting/discovered.rb:23
560
582
  msgid "Auto provisioning"
561
583
  msgstr ""
562
584
 
563
- #: ../app/models/setting/discovered.rb:23
585
+ #: ../app/models/setting/discovered.rb:24
564
586
  msgid "Automatically reboot or kexec discovered host during provisioning"
565
587
  msgstr ""
566
588
 
567
- #: ../app/models/setting/discovered.rb:24
589
+ #: ../app/models/setting/discovered.rb:25
568
590
  msgid "The default prefix to use for the host name, must start with a letter"
569
591
  msgstr ""
570
592
 
571
- #: ../app/models/setting/discovered.rb:24
593
+ #: ../app/models/setting/discovered.rb:25
572
594
  msgid "Hostname prefix"
573
595
  msgstr ""
574
596
 
575
- #: ../app/models/setting/discovered.rb:25
597
+ #: ../app/models/setting/discovered.rb:26
576
598
  msgid "Extra facter columns to show in host lists (separate by comma)"
577
599
  msgstr ""
578
600
 
579
- #: ../app/models/setting/discovered.rb:25
601
+ #: ../app/models/setting/discovered.rb:26
580
602
  msgid "Fact columns"
581
603
  msgstr ""
582
604
 
583
- #: ../app/models/setting/discovered.rb:26
605
+ #: ../app/models/setting/discovered.rb:27
584
606
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
585
607
  msgstr ""
586
608
 
587
- #: ../app/models/setting/discovered.rb:26
609
+ #: ../app/models/setting/discovered.rb:27
588
610
  msgid "Highlighted facts"
589
611
  msgstr ""
590
612
 
591
- #: ../app/models/setting/discovered.rb:27
613
+ #: ../app/models/setting/discovered.rb:28
592
614
  msgid "Regex to organize facts for storage section"
593
615
  msgstr ""
594
616
 
595
- #: ../app/models/setting/discovered.rb:27
617
+ #: ../app/models/setting/discovered.rb:28
596
618
  msgid "Storage facts"
597
619
  msgstr ""
598
620
 
599
- #: ../app/models/setting/discovered.rb:28
621
+ #: ../app/models/setting/discovered.rb:29
600
622
  msgid "Regex to organize facts for software section"
601
623
  msgstr ""
602
624
 
603
- #: ../app/models/setting/discovered.rb:28
625
+ #: ../app/models/setting/discovered.rb:29
604
626
  msgid "Software facts"
605
627
  msgstr ""
606
628
 
607
- #: ../app/models/setting/discovered.rb:29
629
+ #: ../app/models/setting/discovered.rb:30
608
630
  msgid "Regex to organize facts for hardware section"
609
631
  msgstr ""
610
632
 
611
- #: ../app/models/setting/discovered.rb:29
633
+ #: ../app/models/setting/discovered.rb:30
612
634
  msgid "Hardware facts"
613
635
  msgstr ""
614
636
 
615
- #: ../app/models/setting/discovered.rb:30
637
+ #: ../app/models/setting/discovered.rb:31
616
638
  msgid "Regex to organize facts for network section"
617
639
  msgstr ""
618
640
 
619
- #: ../app/models/setting/discovered.rb:30
641
+ #: ../app/models/setting/discovered.rb:31
620
642
  msgid "Network facts"
621
643
  msgstr ""
622
644
 
623
- #: ../app/models/setting/discovered.rb:31
645
+ #: ../app/models/setting/discovered.rb:32
624
646
  msgid "Regex to organize facts for ipmi section"
625
647
  msgstr ""
626
648
 
627
- #: ../app/models/setting/discovered.rb:31
649
+ #: ../app/models/setting/discovered.rb:32
628
650
  msgid "IPMI facts"
629
651
  msgstr ""
630
652
 
631
- #: ../app/models/setting/discovered.rb:32
653
+ #: ../app/models/setting/discovered.rb:33
632
654
  msgid ""
633
655
  "Automatically generate PXE configuration to pin a newly discovered host to "
634
656
  "discovery"
635
657
  msgstr ""
636
658
 
637
- #: ../app/models/setting/discovered.rb:32
659
+ #: ../app/models/setting/discovered.rb:33
638
660
  msgid "Lock PXE"
639
661
  msgstr ""
640
662
 
641
- #: ../app/models/setting/discovered.rb:33
663
+ #: ../app/models/setting/discovered.rb:34
642
664
  msgid "PXELinux template to be used when pinning a host to discovery"
643
665
  msgstr ""
644
666
 
645
- #: ../app/models/setting/discovered.rb:33
667
+ #: ../app/models/setting/discovered.rb:34
646
668
  msgid "Locked PXELinux template name"
647
669
  msgstr ""
648
670
 
649
- #: ../app/models/setting/discovered.rb:34
671
+ #: ../app/models/setting/discovered.rb:35
650
672
  msgid "PXEGrub template to be used when pinning a host to discovery"
651
673
  msgstr ""
652
674
 
653
- #: ../app/models/setting/discovered.rb:34
675
+ #: ../app/models/setting/discovered.rb:35
654
676
  msgid "Locked PXEGrub template name"
655
677
  msgstr ""
656
678
 
657
- #: ../app/models/setting/discovered.rb:35
679
+ #: ../app/models/setting/discovered.rb:36
658
680
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
659
681
  msgstr ""
660
682
 
661
- #: ../app/models/setting/discovered.rb:35
683
+ #: ../app/models/setting/discovered.rb:36
662
684
  msgid "Locked PXEGrub2 template name"
663
685
  msgstr ""
664
686
 
665
- #: ../app/models/setting/discovered.rb:36
687
+ #: ../app/models/setting/discovered.rb:37
666
688
  msgid "Force DNS entries creation when provisioning discovered host"
667
689
  msgstr ""
668
690
 
669
- #: ../app/models/setting/discovered.rb:36
691
+ #: ../app/models/setting/discovered.rb:37
670
692
  msgid "Force DNS"
671
693
  msgstr ""
672
694
 
673
- #: ../app/models/setting/discovered.rb:37
695
+ #: ../app/models/setting/discovered.rb:38
674
696
  msgid ""
675
697
  "Do not allow to discover existing managed host matching MAC of a "
676
698
  "provisioning NIC (errors out early)"
677
699
  msgstr ""
678
700
 
679
- #: ../app/models/setting/discovered.rb:37
701
+ #: ../app/models/setting/discovered.rb:38
680
702
  msgid "Error on existing NIC"
681
703
  msgstr ""
682
704
 
683
- #: ../app/models/setting/discovered.rb:44
705
+ #: ../app/models/setting/discovered.rb:39
706
+ msgid "Discovery hostname naming pattern"
707
+ msgstr ""
708
+
709
+ #: ../app/models/setting/discovered.rb:39
710
+ msgid "Type of name generator"
711
+ msgstr ""
712
+
713
+ #: ../app/models/setting/discovered.rb:46
684
714
  msgid "The default location to place discovered hosts in"
685
715
  msgstr "Standardplatsen att placera värdar i"
686
716
 
687
- #: ../app/models/setting/discovered.rb:44
717
+ #: ../app/models/setting/discovered.rb:46
688
718
  msgid "Discovery location"
689
719
  msgstr ""
690
720
 
691
- #: ../app/models/setting/discovered.rb:52
721
+ #: ../app/models/setting/discovered.rb:54
692
722
  msgid "The default organization to place discovered hosts in"
693
723
  msgstr "Standardorganisationen att placera hittade värdar i"
694
724
 
695
- #: ../app/models/setting/discovered.rb:52
725
+ #: ../app/models/setting/discovered.rb:54
696
726
  msgid "Discovery organization"
697
727
  msgstr ""
698
728
 
@@ -803,6 +833,11 @@ msgstr "Subnät"
803
833
  msgid "Last Facts Upload"
804
834
  msgstr ""
805
835
 
836
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:24
837
+ #: ../app/views/discovery_rules/index.html.erb:12
838
+ msgid "Actions"
839
+ msgstr "Åtgärder"
840
+
806
841
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
807
842
  msgid "Please Confirm"
808
843
  msgstr "Var god, bekräfta"
@@ -1017,6 +1052,10 @@ msgstr ""
1017
1052
  msgid "New Discovery Rule"
1018
1053
  msgstr ""
1019
1054
 
1055
+ #: ../db/seeds.d/50_discovery_templates.rb:5
1056
+ msgid "Command line options for kexec during PXE-less provisioning."
1057
+ msgstr ""
1058
+
1020
1059
  #: ../db/seeds.d/70_discovery_mail_notification.rb:3
1021
1060
  msgid "A summary of discovered hosts"
1022
1061
  msgstr ""