foreman_discovery 20.0.1 → 21.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/host/discovered.rb +10 -1
  3. data/app/services/foreman_discovery/host_converter.rb +9 -2
  4. data/app/views/foreman_discovery/debian_kexec.erb +3 -1
  5. data/app/views/foreman_discovery/redhat_kexec.erb +3 -1
  6. data/lib/foreman_discovery/version.rb +1 -1
  7. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  8. data/locale/ca/foreman_discovery.edit.po +27 -19
  9. data/locale/ca/foreman_discovery.po +17 -11
  10. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  11. data/locale/de/foreman_discovery.edit.po +19 -11
  12. data/locale/de/foreman_discovery.po +9 -3
  13. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  14. data/locale/en/foreman_discovery.edit.po +16 -8
  15. data/locale/en/foreman_discovery.po +7 -1
  16. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  17. data/locale/en_GB/foreman_discovery.edit.po +19 -11
  18. data/locale/en_GB/foreman_discovery.po +9 -3
  19. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/es/foreman_discovery.edit.po +19 -11
  21. data/locale/es/foreman_discovery.po +9 -3
  22. data/locale/foreman_discovery.pot +23 -9
  23. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/fr/foreman_discovery.edit.po +49 -41
  25. data/locale/fr/foreman_discovery.po +39 -33
  26. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/gl/foreman_discovery.edit.po +29 -21
  28. data/locale/gl/foreman_discovery.po +19 -13
  29. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/it/foreman_discovery.edit.po +19 -11
  31. data/locale/it/foreman_discovery.po +9 -3
  32. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/ja/foreman_discovery.edit.po +21 -13
  34. data/locale/ja/foreman_discovery.po +11 -5
  35. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/ko/foreman_discovery.edit.po +19 -11
  37. data/locale/ko/foreman_discovery.po +9 -3
  38. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/pt_BR/foreman_discovery.edit.po +19 -11
  40. data/locale/pt_BR/foreman_discovery.po +9 -3
  41. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/ru/foreman_discovery.edit.po +19 -11
  43. data/locale/ru/foreman_discovery.po +9 -3
  44. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/sv_SE/foreman_discovery.edit.po +29 -21
  46. data/locale/sv_SE/foreman_discovery.po +19 -13
  47. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/zh_CN/foreman_discovery.edit.po +21 -13
  49. data/locale/zh_CN/foreman_discovery.po +11 -5
  50. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/zh_TW/foreman_discovery.edit.po +19 -11
  52. data/locale/zh_TW/foreman_discovery.po +9 -3
  53. data/test/unit/discovered_extensions_test.rb +14 -1
  54. data/test/unit/host_discovered_test.rb +7 -1
  55. metadata +6 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47c5efcec999ce2d2785843302d6208b200a241f78fc30b6479a2d283a544299
4
- data.tar.gz: 926e0dbad91b519e476f922e0764404ab43b0ed64ac1f3bc0dec7b1491155c21
3
+ metadata.gz: 96449844722349c5dbde7fe09e0ca06051bf7fa1a7bb87c36de52a103d505611
4
+ data.tar.gz: cb1bb8e19220de291965b37329d49231b58f40898936cba633be93f6ba5e2009
5
5
  SHA512:
6
- metadata.gz: bd21c33c9318c10bc3f15aa4857194f79fae5b0cd2a3f4b43b46ed537c66e10016bca54151b9442209f541f88e53868479e8b9d548f63e38e8a584e440de41ea
7
- data.tar.gz: 2ed1a0f7cf2169394f58e735a55046ecf3fac8d90df3e23b2a566173af68da74932f891d0237096093b18a7451850653a79d014f0bad0d5df2db8f1297a0087c
6
+ metadata.gz: 5f09bca16062aba8ae5d80ec8a2b9498dbaef24eef21f12702472ae0cce9bc083fa2a8635b968b09eeeba321fe63cfc3193d4fc4376c6cbacba0692f2dc4c9aa
7
+ data.tar.gz: 80b2978cc54e2790cd4bb17848e92a9831dfac040c47e138b600522a17bb92f8cbd07120af2f3830e107330d057870262a7be5b7b8a2c9cb75a9e84bc7e56f47
@@ -63,7 +63,8 @@ class Host::Discovered < ::Host::Base
63
63
  bootif_mac = FacterUtils::bootif_mac(facts).try(:downcase)
64
64
  hostname = ''
65
65
  if Setting[:discovery_naming] == 'MAC-name'
66
- hostname = NameGenerator.new.generate_next_mac_name(bootif_mac)
66
+ hostname_mac = return_first_valid_mac(Setting::Discovered.discovery_hostname_fact_array, facts) || bootif_mac
67
+ hostname = NameGenerator.new.generate_next_mac_name(hostname_mac)
67
68
  elsif Setting[:discovery_naming] == 'Random-name'
68
69
  hostname = NameGenerator.new.generate_next_random_name
69
70
  else
@@ -226,6 +227,14 @@ class Host::Discovered < ::Host::Base
226
227
  hostname
227
228
  end
228
229
 
230
+ def self.return_first_valid_mac(facts_array, facts)
231
+ return facts[facts_array] if !facts_array.is_a?(Array)
232
+ facts_array.each do |value|
233
+ return facts[value] if !facts[value].nil? && facts[value].match(/([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})/)
234
+ end
235
+ return nil
236
+ end
237
+
229
238
  def self.return_first_valid_fact(facts_array, facts)
230
239
  return facts[facts_array] if !facts_array.is_a?(Array)
231
240
  facts_array.each do |value|
@@ -52,14 +52,21 @@ class ForemanDiscovery::HostConverter
52
52
  end
53
53
  end
54
54
 
55
+ def self.ip_for_subnet(subnet, mac, ip)
56
+ return ip if ip && subnet&.unused_ip(mac)&.ip_include?(ip)
57
+
58
+ unused_ip_for_subnet(subnet, mac, ip)
59
+ end
60
+
55
61
  def self.unused_ip_for_host(host, new_subnet = nil, new_subnet6 = nil)
56
62
  host.interfaces.each do |interface|
57
63
  next unless interface.managed?
58
64
 
59
65
  interface.subnet = new_subnet if new_subnet
60
66
  interface.subnet6 = new_subnet6 if new_subnet6
61
- interface.ip = unused_ip_for_subnet(interface.subnet, interface.mac, interface.ip) if interface.subnet
62
- interface.ip6 = unused_ip_for_subnet(interface.subnet6, interface.mac, interface.ip6) if interface.subnet6
67
+
68
+ interface.ip = ip_for_subnet(interface.subnet, interface.mac, interface.ip) if interface.subnet
69
+ interface.ip6 = ip_for_subnet(interface.subnet6, interface.mac, interface.ip6) if interface.subnet6
63
70
  end
64
71
  end
65
72
 
@@ -31,10 +31,12 @@ Extra options like --reset-vga can be set via "extra" array.
31
31
  options << 'console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us localechooser/translation/warn-light=true localechooser/translation/warn-severe=true'
32
32
  options << "locale=#{host_param('lang') || 'en_US'}"
33
33
  options << "inst.stage2=#{@host.operatingsystem.medium_uri(@host)}" if @host.operatingsystem.name.match(/Atomic/i)
34
+ extra = []
35
+ extra << "--kexec-file-syscall" if @host.pxe_loader.include?('SecureBoot')
34
36
  -%>
35
37
  {
36
38
  "kernel": "<%= @kernel_uri %>",
37
39
  "initram": "<%= @initrd_uri %>",
38
40
  "append": "url=<%= foreman_url('provision') + "&static=yes" %> interface=<%= mac %> netcfg/get_ipaddress=<%= ip %> netcfg/get_netmask=<%= mask %> netcfg/get_gateway=<%= gw %> netcfg/get_nameservers=<%= dns %> netcfg/disable_dhcp=true netcfg/get_hostname=<%= @host.name %> BOOTIF=<%= bootif %> <%= options.compact.join(' ') %>",
39
- "extra": []
41
+ "extra": <%= extra %>
40
42
  }
@@ -41,6 +41,8 @@ Extra options like --reset-vga can be set via "extra" array.
41
41
  if @host.operatingsystem.name != 'Fedora' && @host.operatingsystem.major.to_i >= 7 && host_param_true?('fips_enabled')
42
42
  options.push('fips=1')
43
43
  end
44
+ extra = []
45
+ extra << "--kexec-file-syscall" if @host.pxe_loader.include?('SecureBoot')
44
46
  -%>
45
47
  {
46
48
  "kernel": "<%= @kernel_uri %>",
@@ -51,5 +53,5 @@ Extra options like --reset-vga can be set via "extra" array.
51
53
  <% else -%>
52
54
  "append": "inst.ks=<%= foreman_url('provision') + "&static=yes" %> kssendmac nicdelay=5 <%= "ip=#{ip} netmask=#{mask} gateway=#{gw} dns=#{dns} ksdevice=#{mac} BOOTIF=#{bootif} nomodeset nokaslr " + options.compact.join(' ') %>",
53
55
  <% end -%>
54
- "extra": []
56
+ "extra": <%= extra %>
55
57
  }
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "20.0.1"
2
+ VERSION = "21.0.0"
3
3
  end
@@ -7,11 +7,11 @@
7
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 18.0.1\n"
10
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2021-11-25 10:15+0100\n"
13
- "PO-Revision-Date: 2021-09-20 17:24+0000\n"
14
- "Last-Translator: Transifex Bot <>\n"
12
+ "POT-Creation-Date: 2022-03-17 14:06+0100\n"
13
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
14
+ "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017\n"
15
15
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
16
16
  "\n"
17
17
  "MIME-Version: 1.0\n"
@@ -464,31 +464,31 @@ msgstr "Objectes d'interès no vàlids, han de tenir un Hash"
464
464
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
465
465
  msgstr ""
466
466
 
467
- #: ../app/models/host/discovered.rb:73
467
+ #: ../app/models/host/discovered.rb:74
468
468
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
469
469
  msgstr ""
470
470
 
471
- #: ../app/models/host/discovered.rb:102
471
+ #: ../app/models/host/discovered.rb:103
472
472
  msgid "Facts could not be imported"
473
473
  msgstr ""
474
474
 
475
- #: ../app/models/host/discovered.rb:160
475
+ #: ../app/models/host/discovered.rb:161
476
476
  msgid "Could not get facts from proxy %{url}: %{error}"
477
477
  msgstr "No s'han pogut obtenir els objectes d'interès del servidor intermediari %{url}: %{error}"
478
478
 
479
- #: ../app/models/host/discovered.rb:178
479
+ #: ../app/models/host/discovered.rb:179
480
480
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
481
481
  msgstr ""
482
482
 
483
- #: ../app/models/host/discovered.rb:182 ../app/models/host/discovered.rb:205
483
+ #: ../app/models/host/discovered.rb:183 ../app/models/host/discovered.rb:206
484
484
  msgid "Unable to perform %{action} on %{ips}"
485
485
  msgstr ""
486
486
 
487
- #: ../app/models/host/discovered.rb:201
487
+ #: ../app/models/host/discovered.rb:202
488
488
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
489
489
  msgstr ""
490
490
 
491
- #: ../app/models/host/discovered.rb:225
491
+ #: ../app/models/host/discovered.rb:226
492
492
  msgid "Invalid hostname: Could not normalize the hostname"
493
493
  msgstr ""
494
494
 
@@ -722,15 +722,15 @@ msgstr ""
722
722
 
723
723
  #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
724
724
  msgid "Storage"
725
- msgstr ""
725
+ msgstr "Emmagatzematge"
726
726
 
727
727
  #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
728
728
  msgid "Hardware"
729
- msgstr ""
729
+ msgstr "Maquinari"
730
730
 
731
731
  #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
732
732
  msgid "Network"
733
- msgstr ""
733
+ msgstr "Xarxa"
734
734
 
735
735
  #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
736
736
  msgid "Software"
@@ -876,7 +876,7 @@ msgstr "Interfícies"
876
876
 
877
877
  #: ../app/views/discovered_hosts/show.html.erb:44
878
878
  msgid "Type"
879
- msgstr ""
879
+ msgstr "Tipus"
880
880
 
881
881
  #: ../app/views/discovered_hosts/show.html.erb:45
882
882
  msgid "Identifier"
@@ -952,7 +952,7 @@ msgstr "Nom d'amfitrió per als amfitrions aprovisionats"
952
952
 
953
953
  #: ../app/views/discovery_rules/_form.html.erb:26
954
954
  msgid "Hosts Limit"
955
- msgstr ""
955
+ msgstr "Límit d'amfitrions"
956
956
 
957
957
  #: ../app/views/discovery_rules/_form.html.erb:26
958
958
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
@@ -1012,7 +1012,7 @@ msgstr "Consulta"
1012
1012
 
1013
1013
  #: ../app/views/discovery_rules/index.html.erb:9
1014
1014
  msgid "Host Group"
1015
- msgstr ""
1015
+ msgstr "Grup dels amfitrions"
1016
1016
 
1017
1017
  #: ../app/views/discovery_rules/index.html.erb:10
1018
1018
  msgid "Hosts/Limit"
@@ -1048,11 +1048,11 @@ msgstr ""
1048
1048
 
1049
1049
  #: ../db/seeds.d/80_discovery_ui_notification.rb:13
1050
1050
  msgid "Details"
1051
- msgstr ""
1051
+ msgstr "Detalls"
1052
1052
 
1053
1053
  #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1054
1054
  msgid "Hosts"
1055
- msgstr ""
1055
+ msgstr "Amfitrions"
1056
1056
 
1057
1057
  #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1058
1058
  msgid "Error message goes here"
@@ -1082,6 +1082,14 @@ msgstr ""
1082
1082
  msgid "documentation"
1083
1083
  msgstr ""
1084
1084
 
1085
+ #: ../webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js:7
1086
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
1087
+ msgstr ""
1088
+
1089
+ #: ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:12
1090
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
1091
+ msgstr ""
1092
+
1085
1093
  #: action_names.rb:2
1086
1094
  msgid "Remote action:"
1087
1095
  msgstr ""
@@ -7,10 +7,10 @@
7
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 18.0.1\n"
10
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2021-09-20 17:24+0000\n"
13
- "Last-Translator: Transifex Bot <>\n"
12
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
13
+ "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017\n"
14
14
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
15
15
  "\n"
16
16
  "MIME-Version: 1.0\n"
@@ -134,7 +134,7 @@ msgid "Destroyed selected hosts"
134
134
  msgstr "S'han destruït els amfitrions seleccionats"
135
135
 
136
136
  msgid "Details"
137
- msgstr ""
137
+ msgstr "Detalls"
138
138
 
139
139
  msgid "Disable"
140
140
  msgstr "Inhabilita"
@@ -310,7 +310,7 @@ msgid "Foreman discovered hosts summary"
310
310
  msgstr ""
311
311
 
312
312
  msgid "Hardware"
313
- msgstr ""
313
+ msgstr "Maquinari"
314
314
 
315
315
  msgid "Hardware facts"
316
316
  msgstr ""
@@ -331,7 +331,7 @@ msgid "Host %{host} was provisioned with rule %{rule}"
331
331
  msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
332
332
 
333
333
  msgid "Host Group"
334
- msgstr ""
334
+ msgstr "Grup dels amfitrions"
335
335
 
336
336
  msgid "Host group location %s must also be associated to the discovery rule"
337
337
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
@@ -365,10 +365,10 @@ msgid "Hostnames must not start with numbers. A good approach is to use unique i
365
365
  msgstr ""
366
366
 
367
367
  msgid "Hosts"
368
- msgstr ""
368
+ msgstr "Amfitrions"
369
369
 
370
370
  msgid "Hosts Limit"
371
- msgstr ""
371
+ msgstr "Límit d'amfitrions"
372
372
 
373
373
  msgid "Hosts/Limit"
374
374
  msgstr ""
@@ -497,7 +497,7 @@ msgid "Name of the parameter"
497
497
  msgstr "Nom del paràmetre"
498
498
 
499
499
  msgid "Network"
500
- msgstr ""
500
+ msgstr "Xarxa"
501
501
 
502
502
  msgid "Network facts"
503
503
  msgstr ""
@@ -511,12 +511,18 @@ msgstr ""
511
511
  msgid "New in the last 24 hours"
512
512
  msgstr "Nou en les últimes 24 hores"
513
513
 
514
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
515
+ msgstr ""
516
+
514
517
  msgid "No discovered hosts available"
515
518
  msgstr ""
516
519
 
517
520
  msgid "No discovered hosts for the selected period"
518
521
  msgstr ""
519
522
 
523
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
524
+ msgstr ""
525
+
520
526
  msgid "No discovered hosts to provision"
521
527
  msgstr "Sense amfitrions descoberts per aprovisionar"
522
528
 
@@ -677,7 +683,7 @@ msgid "Specify target hostname template pattern in the same syntax as in Provisi
677
683
  msgstr ""
678
684
 
679
685
  msgid "Storage"
680
- msgstr ""
686
+ msgstr "Emmagatzematge"
681
687
 
682
688
  msgid "Storage facts"
683
689
  msgstr ""
@@ -716,7 +722,7 @@ msgid "This might take a while, as all hosts, facts and reports will be destroye
716
722
  msgstr ""
717
723
 
718
724
  msgid "Type"
719
- msgstr ""
725
+ msgstr "Tipus"
720
726
 
721
727
  msgid "Type of name generator"
722
728
  msgstr ""
@@ -15,11 +15,11 @@
15
15
  # stbenjam <stephen@redhat.com>, 2016
16
16
  msgid ""
17
17
  msgstr ""
18
- "Project-Id-Version: foreman_discovery 18.0.1\n"
18
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
19
19
  "Report-Msgid-Bugs-To: \n"
20
- "POT-Creation-Date: 2021-11-25 10:15+0100\n"
21
- "PO-Revision-Date: 2021-10-13 15:12+0000\n"
22
- "Last-Translator: Patrick Dolinic\n"
20
+ "POT-Creation-Date: 2022-03-17 14:06+0100\n"
21
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
22
+ "Last-Translator: Patrick Dolinic, 2021\n"
23
23
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
24
24
  "MIME-Version: 1.0\n"
25
25
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -471,31 +471,31 @@ msgstr "Ungültige Fakten, es muss sich um einen Hash handeln"
471
471
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
472
472
  msgstr "Erwartetes discovery_fact '%s' fehlt, primäre Schnittstelle kann nicht gefunden und Hostname nicht eingestellt werden"
473
473
 
474
- #: ../app/models/host/discovered.rb:73
474
+ #: ../app/models/host/discovered.rb:74
475
475
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
476
476
  msgstr "Ungültige Fakten: Hash enthält keinen gültigen Wert für einen der Fakten in der Einstellung Discovery_Hostname: %s"
477
477
 
478
- #: ../app/models/host/discovered.rb:102
478
+ #: ../app/models/host/discovered.rb:103
479
479
  msgid "Facts could not be imported"
480
480
  msgstr "Fakten konnten nicht importiert werden"
481
481
 
482
- #: ../app/models/host/discovered.rb:160
482
+ #: ../app/models/host/discovered.rb:161
483
483
  msgid "Could not get facts from proxy %{url}: %{error}"
484
484
  msgstr "Fakten konnten nicht vom Proxy %{url} abgerufen werden: %{error}"
485
485
 
486
- #: ../app/models/host/discovered.rb:178
486
+ #: ../app/models/host/discovered.rb:179
487
487
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
488
488
  msgstr "Neustart auf %{name} (%{url}) nicht möglich: %{msg}"
489
489
 
490
- #: ../app/models/host/discovered.rb:182 ../app/models/host/discovered.rb:205
490
+ #: ../app/models/host/discovered.rb:183 ../app/models/host/discovered.rb:206
491
491
  msgid "Unable to perform %{action} on %{ips}"
492
492
  msgstr "%{action} auf %{ips} kann nicht ausgeführt werden"
493
493
 
494
- #: ../app/models/host/discovered.rb:201
494
+ #: ../app/models/host/discovered.rb:202
495
495
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
496
496
  msgstr "Kexec kann auf %{name} (%{url}) nicht ausgeführt werden: %{msg}"
497
497
 
498
- #: ../app/models/host/discovered.rb:225
498
+ #: ../app/models/host/discovered.rb:226
499
499
  msgid "Invalid hostname: Could not normalize the hostname"
500
500
  msgstr "Ungültiger Hostname: Konnte den Hostnamen nicht normalisieren"
501
501
 
@@ -1089,6 +1089,14 @@ msgstr "Weitere Informationen finden Sie unter"
1089
1089
  msgid "documentation"
1090
1090
  msgstr "Dokumentation"
1091
1091
 
1092
+ #: ../webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js:7
1093
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
1094
+ msgstr ""
1095
+
1096
+ #: ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:12
1097
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
1098
+ msgstr ""
1099
+
1092
1100
  #: action_names.rb:2
1093
1101
  msgid "Remote action:"
1094
1102
  msgstr "Entfernte Aktion:"
@@ -15,10 +15,10 @@
15
15
  # stbenjam <stephen@redhat.com>, 2016
16
16
  msgid ""
17
17
  msgstr ""
18
- "Project-Id-Version: foreman_discovery 18.0.1\n"
18
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
19
19
  "Report-Msgid-Bugs-To: \n"
20
- "PO-Revision-Date: 2021-10-13 15:12+0000\n"
21
- "Last-Translator: Patrick Dolinic\n"
20
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
21
+ "Last-Translator: Patrick Dolinic, 2021\n"
22
22
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
23
23
  "MIME-Version: 1.0\n"
24
24
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -518,12 +518,18 @@ msgstr "Neue Hosts"
518
518
  msgid "New in the last 24 hours"
519
519
  msgstr "Neu in den letzten 24 Stunden"
520
520
 
521
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
522
+ msgstr ""
523
+
521
524
  msgid "No discovered hosts available"
522
525
  msgstr "Keine entdeckten Hosts verfügbar"
523
526
 
524
527
  msgid "No discovered hosts for the selected period"
525
528
  msgstr "Keine entdeckten Hosts für den ausgewählten Zeitraum"
526
529
 
530
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
531
+ msgstr ""
532
+
527
533
  msgid "No discovered hosts to provision"
528
534
  msgstr "Keine entdeckten Hosts zur Bereitstellung"
529
535
 
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 18.0.1\n"
5
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -456,31 +456,31 @@ msgstr ""
456
456
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
457
457
  msgstr ""
458
458
 
459
- #: ../app/models/host/discovered.rb:73
459
+ #: ../app/models/host/discovered.rb:74
460
460
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
461
461
  msgstr ""
462
462
 
463
- #: ../app/models/host/discovered.rb:102
463
+ #: ../app/models/host/discovered.rb:103
464
464
  msgid "Facts could not be imported"
465
465
  msgstr ""
466
466
 
467
- #: ../app/models/host/discovered.rb:160
467
+ #: ../app/models/host/discovered.rb:161
468
468
  msgid "Could not get facts from proxy %{url}: %{error}"
469
469
  msgstr ""
470
470
 
471
- #: ../app/models/host/discovered.rb:178
471
+ #: ../app/models/host/discovered.rb:179
472
472
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
473
473
  msgstr ""
474
474
 
475
- #: ../app/models/host/discovered.rb:182 ../app/models/host/discovered.rb:205
475
+ #: ../app/models/host/discovered.rb:183 ../app/models/host/discovered.rb:206
476
476
  msgid "Unable to perform %{action} on %{ips}"
477
477
  msgstr ""
478
478
 
479
- #: ../app/models/host/discovered.rb:201
479
+ #: ../app/models/host/discovered.rb:202
480
480
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
481
481
  msgstr ""
482
482
 
483
- #: ../app/models/host/discovered.rb:225
483
+ #: ../app/models/host/discovered.rb:226
484
484
  msgid "Invalid hostname: Could not normalize the hostname"
485
485
  msgstr ""
486
486
 
@@ -1074,6 +1074,14 @@ msgstr ""
1074
1074
  msgid "documentation"
1075
1075
  msgstr ""
1076
1076
 
1077
+ #: ../webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js:7
1078
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
1079
+ msgstr ""
1080
+
1081
+ #: ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:12
1082
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
1083
+ msgstr ""
1084
+
1077
1085
  #: action_names.rb:2
1078
1086
  msgid "Remote action:"
1079
1087
  msgstr ""
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 18.0.1\n"
5
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -504,12 +504,18 @@ msgstr ""
504
504
  msgid "New in the last 24 hours"
505
505
  msgstr ""
506
506
 
507
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
508
+ msgstr ""
509
+
507
510
  msgid "No discovered hosts available"
508
511
  msgstr ""
509
512
 
510
513
  msgid "No discovered hosts for the selected period"
511
514
  msgstr ""
512
515
 
516
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
517
+ msgstr ""
518
+
513
519
  msgid "No discovered hosts to provision"
514
520
  msgstr ""
515
521
 
@@ -10,11 +10,11 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 18.0.1\n"
13
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2021-11-25 10:15+0100\n"
16
- "PO-Revision-Date: 2021-09-20 17:24+0000\n"
17
- "Last-Translator: Transifex Bot <>\n"
15
+ "POT-Creation-Date: 2022-03-17 14:06+0100\n"
16
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
17
+ "Last-Translator: Andi Chandler <andi@gowling.com>, 2015-2019\n"
18
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
19
19
  "man/language/en_GB/)\n"
20
20
  "MIME-Version: 1.0\n"
@@ -467,31 +467,31 @@ msgstr "Invalid facts, must be a Hash"
467
467
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
468
468
  msgstr "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
469
469
 
470
- #: ../app/models/host/discovered.rb:73
470
+ #: ../app/models/host/discovered.rb:74
471
471
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
472
472
  msgstr "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
473
473
 
474
- #: ../app/models/host/discovered.rb:102
474
+ #: ../app/models/host/discovered.rb:103
475
475
  msgid "Facts could not be imported"
476
476
  msgstr "Facts could not be imported"
477
477
 
478
- #: ../app/models/host/discovered.rb:160
478
+ #: ../app/models/host/discovered.rb:161
479
479
  msgid "Could not get facts from proxy %{url}: %{error}"
480
480
  msgstr "Could not get facts from proxy %{url}: %{error}"
481
481
 
482
- #: ../app/models/host/discovered.rb:178
482
+ #: ../app/models/host/discovered.rb:179
483
483
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
484
484
  msgstr ""
485
485
 
486
- #: ../app/models/host/discovered.rb:182 ../app/models/host/discovered.rb:205
486
+ #: ../app/models/host/discovered.rb:183 ../app/models/host/discovered.rb:206
487
487
  msgid "Unable to perform %{action} on %{ips}"
488
488
  msgstr ""
489
489
 
490
- #: ../app/models/host/discovered.rb:201
490
+ #: ../app/models/host/discovered.rb:202
491
491
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
492
492
  msgstr ""
493
493
 
494
- #: ../app/models/host/discovered.rb:225
494
+ #: ../app/models/host/discovered.rb:226
495
495
  msgid "Invalid hostname: Could not normalize the hostname"
496
496
  msgstr "Invalid hostname: Could not normalise the hostname"
497
497
 
@@ -1085,6 +1085,14 @@ msgstr ""
1085
1085
  msgid "documentation"
1086
1086
  msgstr ""
1087
1087
 
1088
+ #: ../webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js:7
1089
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
1090
+ msgstr ""
1091
+
1092
+ #: ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:12
1093
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
1094
+ msgstr ""
1095
+
1088
1096
  #: action_names.rb:2
1089
1097
  msgid "Remote action:"
1090
1098
  msgstr "Remote action:"
@@ -10,10 +10,10 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 18.0.1\n"
13
+ "Project-Id-Version: foreman_discovery 21.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2021-09-20 17:24+0000\n"
16
- "Last-Translator: Transifex Bot <>\n"
15
+ "PO-Revision-Date: 2013-11-15 17:25+0000\n"
16
+ "Last-Translator: Andi Chandler <andi@gowling.com>, 2015-2019\n"
17
17
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
18
18
  "man/language/en_GB/)\n"
19
19
  "MIME-Version: 1.0\n"
@@ -514,12 +514,18 @@ msgstr ""
514
514
  msgid "New in the last 24 hours"
515
515
  msgstr "New in the last 24 hours"
516
516
 
517
+ msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
518
+ msgstr ""
519
+
517
520
  msgid "No discovered hosts available"
518
521
  msgstr "No discovered hosts available"
519
522
 
520
523
  msgid "No discovered hosts for the selected period"
521
524
  msgstr "No discovered hosts for the selected period"
522
525
 
526
+ msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
527
+ msgstr ""
528
+
523
529
  msgid "No discovered hosts to provision"
524
530
  msgstr "No discovered hosts to provision"
525
531