foreman_discovery 14.0.1 → 15.0.0

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/README.md +8 -4
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +2 -2
  4. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +2 -6
  5. data/app/controllers/discovered_hosts_controller.rb +4 -8
  6. data/app/helpers/discovered_hosts_helper.rb +3 -3
  7. data/app/helpers/discovery_rules_helper.rb +3 -3
  8. data/app/models/discovery_rule.rb +9 -13
  9. data/app/models/host/discovered.rb +6 -10
  10. data/app/models/host/managed_extensions.rb +6 -6
  11. data/app/models/setting/discovered.rb +2 -16
  12. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +4 -4
  13. data/app/views/api/v2/discovered_hosts/main.json.rabl +2 -7
  14. data/app/views/api/v2/discovery_rules/main.json.rabl +4 -8
  15. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +8 -17
  16. data/app/views/discovered_hosts/_selected_hosts.html.erb +2 -10
  17. data/app/views/discovered_hosts/multiple_destroy.html.erb +1 -1
  18. data/app/views/discovered_hosts/select_multiple_location.html.erb +1 -1
  19. data/app/views/discovered_hosts/select_multiple_organization.html.erb +1 -1
  20. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  21. data/app/views/foreman_discovery/redhat_kexec.erb +5 -2
  22. data/db/seeds.d/50_discovery_templates.rb +2 -2
  23. data/lib/foreman_discovery/engine.rb +3 -3
  24. data/lib/foreman_discovery/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/ca/foreman_discovery.edit.po +92 -98
  27. data/locale/ca/foreman_discovery.po +2 -8
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +111 -116
  30. data/locale/de/foreman_discovery.po +21 -26
  31. data/locale/en/foreman_discovery.edit.po +92 -100
  32. data/locale/en/foreman_discovery.po +0 -6
  33. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  34. data/locale/en_GB/foreman_discovery.edit.po +92 -98
  35. data/locale/en_GB/foreman_discovery.po +2 -8
  36. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/es/foreman_discovery.edit.po +106 -112
  38. data/locale/es/foreman_discovery.po +16 -22
  39. data/locale/foreman_discovery.pot +103 -109
  40. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/fr/foreman_discovery.edit.po +107 -113
  42. data/locale/fr/foreman_discovery.po +17 -23
  43. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/gl/foreman_discovery.edit.po +92 -98
  45. data/locale/gl/foreman_discovery.po +2 -8
  46. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/it/foreman_discovery.edit.po +92 -98
  48. data/locale/it/foreman_discovery.po +2 -8
  49. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/ja/foreman_discovery.edit.po +106 -112
  51. data/locale/ja/foreman_discovery.po +16 -22
  52. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/ko/foreman_discovery.edit.po +92 -98
  54. data/locale/ko/foreman_discovery.po +2 -8
  55. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/pt_BR/foreman_discovery.edit.po +106 -112
  57. data/locale/pt_BR/foreman_discovery.po +16 -22
  58. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/ru/foreman_discovery.edit.po +92 -98
  60. data/locale/ru/foreman_discovery.po +2 -8
  61. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/sv_SE/foreman_discovery.edit.po +92 -98
  63. data/locale/sv_SE/foreman_discovery.po +2 -8
  64. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/zh_CN/foreman_discovery.edit.po +106 -112
  66. data/locale/zh_CN/foreman_discovery.po +16 -22
  67. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  68. data/locale/zh_TW/foreman_discovery.edit.po +92 -98
  69. data/locale/zh_TW/foreman_discovery.po +2 -8
  70. data/test/factories/discovery_rule_related.rb +2 -2
  71. data/test/facts/asswweb061.json +2967 -0
  72. data/test/facts/qemu_noip.json +2 -0
  73. data/test/functional/api/v2/discovered_hosts_controller_test.rb +0 -16
  74. data/test/functional/discovered_hosts_controller_test.rb +19 -21
  75. data/test/test_helper_discovery.rb +1 -1
  76. data/test/unit/discovery_rule_test.rb +0 -2
  77. data/test/unit/host_discovered_test.rb +72 -16
  78. data/test/unit/managed_extensions_test.rb +2 -2
  79. data/test/unit/ui_notifications/destroy_host_test.rb +9 -0
  80. metadata +7 -2
@@ -138,9 +138,6 @@ msgstr ""
138
138
  msgid "Discovered host: %s"
139
139
  msgstr ""
140
140
 
141
- msgid "Discovered hosts"
142
- msgstr ""
143
-
144
141
  msgid "Discovered hosts are provisioning now"
145
142
  msgstr ""
146
143
 
@@ -177,9 +174,6 @@ msgstr ""
177
174
  msgid "Discovery organization"
178
175
  msgstr ""
179
176
 
180
- msgid "Discovery rules"
181
- msgstr ""
182
-
183
177
  msgid "DiscoveryRule|Enabled"
184
178
  msgstr ""
185
179
 
@@ -12,9 +12,9 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: foreman_discovery 14.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2018-11-05 08:34+0100\n"
16
- "PO-Revision-Date: 2018-10-30 12:54+0000\n"
17
- "Last-Translator: Andi Chandler <andi@gowling.com>\n"
15
+ "POT-Creation-Date: 2019-04-18 13:34+0200\n"
16
+ "PO-Revision-Date: 2019-04-18 19:36+0000\n"
17
+ "Last-Translator: Lukáš Zapletal\n"
18
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -216,15 +216,15 @@ msgstr "List all fact values of a given discovered host"
216
216
  msgid "Unable to find a discovery rule, no host provided (check permissions)"
217
217
  msgstr "Unable to find a discovery rule, no host provided (check permissions)"
218
218
 
219
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:47
219
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:43
220
220
  msgid "No hostgroup associated with rule '%s'"
221
221
  msgstr "No hostgroup associated with rule '%s'"
222
222
 
223
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
223
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:69
224
224
  msgid "Errors during reboot: %s"
225
225
  msgstr "Errors during reboot: %s"
226
226
 
227
- #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
227
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:87
228
228
  msgid "No discovered hosts to reboot"
229
229
  msgstr "No discovered hosts to reboot"
230
230
 
@@ -334,19 +334,19 @@ msgstr "%s ago"
334
334
 
335
335
  #: ../app/helpers/discovered_hosts_helper.rb:14
336
336
  #: ../app/helpers/discovered_hosts_helper.rb:29
337
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
337
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
338
338
  msgid "Auto Provision"
339
339
  msgstr "Auto Provision"
340
340
 
341
341
  #: ../app/helpers/discovered_hosts_helper.rb:15
342
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
342
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
343
343
  msgid "Refresh facts"
344
344
  msgstr "Refresh facts"
345
345
 
346
346
  #: ../app/helpers/discovered_hosts_helper.rb:16
347
347
  #: ../app/helpers/discovered_hosts_helper.rb:30
348
- #: ../app/models/setting/discovered.rb:24
349
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
348
+ #: ../app/models/setting/discovered.rb:26
349
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
350
350
  msgid "Reboot"
351
351
  msgstr "Reboot"
352
352
 
@@ -360,7 +360,7 @@ msgid "Select Action"
360
360
  msgstr "Select Action"
361
361
 
362
362
  #: ../app/helpers/discovered_hosts_helper.rb:23
363
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
363
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
364
364
  msgid "Delete %s?"
365
365
  msgstr "Delete %s?"
366
366
 
@@ -405,6 +405,7 @@ msgstr "Provision"
405
405
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
406
406
  #: ../app/views/discovered_hosts/welcome.html.erb:1
407
407
  #: ../app/views/discovered_hosts/welcome.html.erb:6
408
+ #: ../lib/foreman_discovery/engine.rb:158
408
409
  #: ../lib/foreman_discovery/engine.rb:173
409
410
  msgid "Discovered Hosts"
410
411
  msgstr "Discovered Hosts"
@@ -453,7 +454,7 @@ msgstr "must start with a letter or ERB."
453
454
  msgid "must be present."
454
455
  msgstr "must be present."
455
456
 
456
- #: ../app/models/discovery_rule.rb:53
457
+ #: ../app/models/discovery_rule.rb:52
457
458
  msgid ""
458
459
  "Host group organization %s must also be associated to the discovery rule"
459
460
  msgid_plural ""
@@ -461,58 +462,58 @@ msgid_plural ""
461
462
  msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
462
463
  msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
463
464
 
464
- #: ../app/models/discovery_rule.rb:59
465
+ #: ../app/models/discovery_rule.rb:56
465
466
  msgid "Host group location %s must also be associated to the discovery rule"
466
467
  msgid_plural ""
467
468
  "Host group locations %s must also be associated to the discovery rule"
468
469
  msgstr[0] "Host group location %s must also be associated to the discovery rule"
469
470
  msgstr[1] "Host group locations %s must also be associated to the discovery rule"
470
471
 
471
- #: ../app/models/host/discovered.rb:45
472
+ #: ../app/models/host/discovered.rb:41
472
473
  msgid "Fact + prefix"
473
474
  msgstr "Fact + prefix"
474
475
 
475
- #: ../app/models/host/discovered.rb:46
476
+ #: ../app/models/host/discovered.rb:42
476
477
  msgid "Random name"
477
478
  msgstr "Random name"
478
479
 
479
- #: ../app/models/host/discovered.rb:47
480
+ #: ../app/models/host/discovered.rb:43
480
481
  msgid "MAC-based name"
481
482
  msgstr "MAC-based name"
482
483
 
483
- #: ../app/models/host/discovered.rb:56
484
+ #: ../app/models/host/discovered.rb:52
484
485
  msgid "Invalid facts, must be a Hash"
485
486
  msgstr "Invalid facts, must be a Hash"
486
487
 
487
- #: ../app/models/host/discovered.rb:61
488
+ #: ../app/models/host/discovered.rb:57
488
489
  msgid ""
489
490
  "Expected discovery_fact '%s' is missing, unable to detect primary interface "
490
491
  "and set hostname"
491
492
  msgstr "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
492
493
 
493
- #: ../app/models/host/discovered.rb:74
494
+ #: ../app/models/host/discovered.rb:70
494
495
  msgid ""
495
496
  "Invalid facts: hash does not contain a valid value for any of the facts in "
496
497
  "the discovery_hostname setting: %s"
497
498
  msgstr "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
498
499
 
499
- #: ../app/models/host/discovered.rb:100
500
+ #: ../app/models/host/discovered.rb:96
500
501
  msgid "Facts could not be imported"
501
502
  msgstr "Facts could not be imported"
502
503
 
503
- #: ../app/models/host/discovered.rb:155
504
+ #: ../app/models/host/discovered.rb:151
504
505
  msgid "Could not get facts from proxy %{url}: %{error}"
505
506
  msgstr "Could not get facts from proxy %{url}: %{error}"
506
507
 
507
- #: ../app/models/host/discovered.rb:163
508
+ #: ../app/models/host/discovered.rb:159
508
509
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
509
510
  msgstr "Unable to reboot %{name} via %{url}: %{msg}"
510
511
 
511
- #: ../app/models/host/discovered.rb:171
512
+ #: ../app/models/host/discovered.rb:167
512
513
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
513
514
  msgstr "Unable to perform kexec on %{name} via %{url}: %{msg}"
514
515
 
515
- #: ../app/models/host/discovered.rb:190
516
+ #: ../app/models/host/discovered.rb:186
516
517
  msgid "Invalid hostname: Could not normalize the hostname"
517
518
  msgstr "Invalid hostname: Could not normalise the hostname"
518
519
 
@@ -541,193 +542,193 @@ msgid "Rebuild DNS for %s"
541
542
  msgstr "Rebuild DNS for %s"
542
543
 
543
544
  #: ../app/models/setting/discovered.rb:19
545
+ msgid "The default location to place discovered hosts in"
546
+ msgstr "The default location to place discovered hosts in"
547
+
548
+ #: ../app/models/setting/discovered.rb:19
549
+ msgid "Discovery location"
550
+ msgstr "Discovery location"
551
+
552
+ #: ../app/models/setting/discovered.rb:20
553
+ msgid "The default organization to place discovered hosts in"
554
+ msgstr "The default organisation to place discovered hosts in"
555
+
556
+ #: ../app/models/setting/discovered.rb:20
557
+ msgid "Discovery organization"
558
+ msgstr "Discovery organisation"
559
+
560
+ #: ../app/models/setting/discovered.rb:21
544
561
  msgid "Fact name to use for primary interface detection"
545
562
  msgstr "Fact name to use for primary interface detection"
546
563
 
547
- #: ../app/models/setting/discovered.rb:19
564
+ #: ../app/models/setting/discovered.rb:21
548
565
  msgid "Interface fact"
549
566
  msgstr "Interface fact"
550
567
 
551
- #: ../app/models/setting/discovered.rb:20
568
+ #: ../app/models/setting/discovered.rb:22
552
569
  msgid ""
553
570
  "Automatic bond interface (if another interface is detected on the same VLAN "
554
571
  "via LLDP)"
555
572
  msgstr "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
556
573
 
557
- #: ../app/models/setting/discovered.rb:20
574
+ #: ../app/models/setting/discovered.rb:22
558
575
  msgid "Create bond interfaces"
559
576
  msgstr "Create bond interfaces"
560
577
 
561
- #: ../app/models/setting/discovered.rb:21
578
+ #: ../app/models/setting/discovered.rb:23
562
579
  msgid "Clean all reported facts during provisioning (except discovery facts)"
563
580
  msgstr "Clean all reported facts during provisioning (except discovery facts)"
564
581
 
565
- #: ../app/models/setting/discovered.rb:21
582
+ #: ../app/models/setting/discovered.rb:23
566
583
  msgid "Clean all facts"
567
584
  msgstr "Clean all facts"
568
585
 
569
- #: ../app/models/setting/discovered.rb:22
586
+ #: ../app/models/setting/discovered.rb:24
570
587
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
571
588
  msgstr "List of facts to use for the hostname (separated by comma, first wins)"
572
589
 
573
- #: ../app/models/setting/discovered.rb:22
590
+ #: ../app/models/setting/discovered.rb:24
574
591
  msgid "Hostname facts"
575
592
  msgstr "Hostname facts"
576
593
 
577
- #: ../app/models/setting/discovered.rb:23
594
+ #: ../app/models/setting/discovered.rb:25
578
595
  msgid ""
579
596
  "Automatically provision newly discovered hosts, according to the "
580
597
  "provisioning rules"
581
598
  msgstr "Automatically provision newly discovered hosts, according to the provisioning rules"
582
599
 
583
- #: ../app/models/setting/discovered.rb:23
600
+ #: ../app/models/setting/discovered.rb:25
584
601
  msgid "Auto provisioning"
585
602
  msgstr "Auto provisioning"
586
603
 
587
- #: ../app/models/setting/discovered.rb:24
604
+ #: ../app/models/setting/discovered.rb:26
588
605
  msgid "Automatically reboot or kexec discovered host during provisioning"
589
606
  msgstr "Automatically reboot or kexec discovered host during provisioning"
590
607
 
591
- #: ../app/models/setting/discovered.rb:25
608
+ #: ../app/models/setting/discovered.rb:27
592
609
  msgid "The default prefix to use for the host name, must start with a letter"
593
610
  msgstr "The default prefix to use for the host name, must start with a letter"
594
611
 
595
- #: ../app/models/setting/discovered.rb:25
612
+ #: ../app/models/setting/discovered.rb:27
596
613
  msgid "Hostname prefix"
597
614
  msgstr "Hostname prefix"
598
615
 
599
- #: ../app/models/setting/discovered.rb:26
616
+ #: ../app/models/setting/discovered.rb:28
600
617
  msgid "Extra facter columns to show in host lists (separate by comma)"
601
618
  msgstr "Extra facter columns to show in host lists (separate by comma)"
602
619
 
603
- #: ../app/models/setting/discovered.rb:26
620
+ #: ../app/models/setting/discovered.rb:28
604
621
  msgid "Fact columns"
605
622
  msgstr "Fact columns"
606
623
 
607
- #: ../app/models/setting/discovered.rb:27
624
+ #: ../app/models/setting/discovered.rb:29
608
625
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
609
626
  msgstr "Regex to organise facts for highlights section - e.g. ^(abc|cde)$"
610
627
 
611
- #: ../app/models/setting/discovered.rb:27
628
+ #: ../app/models/setting/discovered.rb:29
612
629
  msgid "Highlighted facts"
613
630
  msgstr "Highlighted facts"
614
631
 
615
- #: ../app/models/setting/discovered.rb:28
632
+ #: ../app/models/setting/discovered.rb:30
616
633
  msgid "Regex to organize facts for storage section"
617
634
  msgstr "Regex to organise facts for storage section"
618
635
 
619
- #: ../app/models/setting/discovered.rb:28
636
+ #: ../app/models/setting/discovered.rb:30
620
637
  msgid "Storage facts"
621
638
  msgstr "Storage facts"
622
639
 
623
- #: ../app/models/setting/discovered.rb:29
640
+ #: ../app/models/setting/discovered.rb:31
624
641
  msgid "Regex to organize facts for software section"
625
642
  msgstr "Regex to organise facts for software section"
626
643
 
627
- #: ../app/models/setting/discovered.rb:29
644
+ #: ../app/models/setting/discovered.rb:31
628
645
  msgid "Software facts"
629
646
  msgstr "Software facts"
630
647
 
631
- #: ../app/models/setting/discovered.rb:30
648
+ #: ../app/models/setting/discovered.rb:32
632
649
  msgid "Regex to organize facts for hardware section"
633
650
  msgstr "Regex to organise facts for hardware section"
634
651
 
635
- #: ../app/models/setting/discovered.rb:30
652
+ #: ../app/models/setting/discovered.rb:32
636
653
  msgid "Hardware facts"
637
654
  msgstr "Hardware facts"
638
655
 
639
- #: ../app/models/setting/discovered.rb:31
656
+ #: ../app/models/setting/discovered.rb:33
640
657
  msgid "Regex to organize facts for network section"
641
658
  msgstr "Regex to organise facts for network section"
642
659
 
643
- #: ../app/models/setting/discovered.rb:31
660
+ #: ../app/models/setting/discovered.rb:33
644
661
  msgid "Network facts"
645
662
  msgstr "Network facts"
646
663
 
647
- #: ../app/models/setting/discovered.rb:32
664
+ #: ../app/models/setting/discovered.rb:34
648
665
  msgid "Regex to organize facts for ipmi section"
649
666
  msgstr "Regex to organise facts for IPMI section"
650
667
 
651
- #: ../app/models/setting/discovered.rb:32
668
+ #: ../app/models/setting/discovered.rb:34
652
669
  msgid "IPMI facts"
653
670
  msgstr "IPMI facts"
654
671
 
655
- #: ../app/models/setting/discovered.rb:33
672
+ #: ../app/models/setting/discovered.rb:35
656
673
  msgid ""
657
674
  "Automatically generate PXE configuration to pin a newly discovered host to "
658
675
  "discovery"
659
676
  msgstr "Automatically generate PXE configuration to pin a newly discovered host to discovery"
660
677
 
661
- #: ../app/models/setting/discovered.rb:33
678
+ #: ../app/models/setting/discovered.rb:35
662
679
  msgid "Lock PXE"
663
680
  msgstr "Lock PXE"
664
681
 
665
- #: ../app/models/setting/discovered.rb:34
682
+ #: ../app/models/setting/discovered.rb:36
666
683
  msgid "PXELinux template to be used when pinning a host to discovery"
667
684
  msgstr "PXELinux template to be used when pinning a host to discovery"
668
685
 
669
- #: ../app/models/setting/discovered.rb:34
686
+ #: ../app/models/setting/discovered.rb:36
670
687
  msgid "Locked PXELinux template name"
671
688
  msgstr "Locked PXELinux template name"
672
689
 
673
- #: ../app/models/setting/discovered.rb:35
690
+ #: ../app/models/setting/discovered.rb:37
674
691
  msgid "PXEGrub template to be used when pinning a host to discovery"
675
692
  msgstr "PXEGrub template to be used when pinning a host to discovery"
676
693
 
677
- #: ../app/models/setting/discovered.rb:35
694
+ #: ../app/models/setting/discovered.rb:37
678
695
  msgid "Locked PXEGrub template name"
679
696
  msgstr "Locked PXEGrub template name"
680
697
 
681
- #: ../app/models/setting/discovered.rb:36
698
+ #: ../app/models/setting/discovered.rb:38
682
699
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
683
700
  msgstr "PXEGrub2 template to be used when pinning a host to discovery"
684
701
 
685
- #: ../app/models/setting/discovered.rb:36
702
+ #: ../app/models/setting/discovered.rb:38
686
703
  msgid "Locked PXEGrub2 template name"
687
704
  msgstr "Locked PXEGrub2 template name"
688
705
 
689
- #: ../app/models/setting/discovered.rb:37
706
+ #: ../app/models/setting/discovered.rb:39
690
707
  msgid "Force DNS entries creation when provisioning discovered host"
691
708
  msgstr "Force DNS entries creation when provisioning discovered host"
692
709
 
693
- #: ../app/models/setting/discovered.rb:37
710
+ #: ../app/models/setting/discovered.rb:39
694
711
  msgid "Force DNS"
695
712
  msgstr "Force DNS"
696
713
 
697
- #: ../app/models/setting/discovered.rb:38
714
+ #: ../app/models/setting/discovered.rb:40
698
715
  msgid ""
699
716
  "Do not allow to discover existing managed host matching MAC of a "
700
717
  "provisioning NIC (errors out early)"
701
718
  msgstr "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
702
719
 
703
- #: ../app/models/setting/discovered.rb:38
720
+ #: ../app/models/setting/discovered.rb:40
704
721
  msgid "Error on existing NIC"
705
722
  msgstr "Error on existing NIC"
706
723
 
707
- #: ../app/models/setting/discovered.rb:39
724
+ #: ../app/models/setting/discovered.rb:41
708
725
  msgid "Discovery hostname naming pattern"
709
726
  msgstr "Discovery hostname naming pattern"
710
727
 
711
- #: ../app/models/setting/discovered.rb:39
728
+ #: ../app/models/setting/discovered.rb:41
712
729
  msgid "Type of name generator"
713
730
  msgstr "Type of name generator"
714
731
 
715
- #: ../app/models/setting/discovered.rb:46
716
- msgid "The default location to place discovered hosts in"
717
- msgstr "The default location to place discovered hosts in"
718
-
719
- #: ../app/models/setting/discovered.rb:46
720
- msgid "Discovery location"
721
- msgstr "Discovery location"
722
-
723
- #: ../app/models/setting/discovered.rb:54
724
- msgid "The default organization to place discovered hosts in"
725
- msgstr "The default organisation to place discovered hosts in"
726
-
727
- #: ../app/models/setting/discovered.rb:54
728
- msgid "Discovery organization"
729
- msgstr "Discovery organisation"
730
-
731
732
  #: ../app/services/foreman_discovery/fact_parser.rb:4
732
733
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
733
734
  msgstr "Discovery fact parser does not work with non-discovery host '%{host}'"
@@ -817,38 +818,38 @@ msgstr "Disk Count"
817
818
  msgid "Disks Size"
818
819
  msgstr "Disks Size"
819
820
 
820
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
821
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
821
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
822
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
822
823
  msgid "Location"
823
824
  msgstr "Location"
824
825
 
825
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
826
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
826
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
827
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
827
828
  msgid "Organization"
828
829
  msgstr "Organisation"
829
830
 
830
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:22
831
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
831
832
  msgid "Subnet"
832
833
  msgstr "Subnet"
833
834
 
834
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:23
835
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
835
836
  msgid "Last Facts Upload"
836
837
  msgstr "Last Facts Upload"
837
838
 
838
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:24
839
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
839
840
  #: ../app/views/discovery_rules/index.html.erb:12
840
841
  msgid "Actions"
841
842
  msgstr "Actions"
842
843
 
843
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
844
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:52
844
845
  msgid "Please Confirm"
845
846
  msgstr "Please Confirm"
846
847
 
847
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
848
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
848
849
  msgid "Cancel"
849
850
  msgstr "Cancel"
850
851
 
851
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:67
852
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:59
852
853
  msgid "Submit"
853
854
  msgstr "Submit"
854
855
 
@@ -1019,6 +1020,7 @@ msgid "Edit %s"
1019
1020
  msgstr "Edit %s"
1020
1021
 
1021
1022
  #: ../app/views/discovery_rules/index.html.erb:1
1023
+ #: ../lib/foreman_discovery/engine.rb:163
1022
1024
  msgid "Discovery Rules"
1023
1025
  msgstr "Discovery Rules"
1024
1026
 
@@ -1074,14 +1076,6 @@ msgstr "One or more hosts have been discovered"
1074
1076
  msgid "Details"
1075
1077
  msgstr "Details"
1076
1078
 
1077
- #: ../lib/foreman_discovery/engine.rb:158
1078
- msgid "Discovered hosts"
1079
- msgstr "Discovered hosts"
1080
-
1081
- #: ../lib/foreman_discovery/engine.rb:163
1082
- msgid "Discovery rules"
1083
- msgstr "Discovery rules"
1084
-
1085
1079
  #: ../lib/foreman_discovery/engine.rb:179
1086
1080
  msgid "Discovery Kexec template"
1087
1081
  msgstr "Discovery Kexec template"