foreman_discovery 16.2.0 → 16.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
  3. data/app/models/host/discovered.rb +1 -1
  4. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  5. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  6. data/app/views/discovered_hosts/welcome.html.erb +15 -9
  7. data/app/views/discovery_rules/index.html.erb +1 -1
  8. data/extra/discover-host +3 -3
  9. data/lib/foreman_discovery/engine.rb +2 -1
  10. data/lib/foreman_discovery/version.rb +1 -1
  11. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  12. data/locale/ca/foreman_discovery.edit.po +62 -39
  13. data/locale/ca/foreman_discovery.po +25 -10
  14. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  15. data/locale/de/foreman_discovery.edit.po +64 -39
  16. data/locale/de/foreman_discovery.po +25 -10
  17. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  18. data/locale/en/foreman_discovery.edit.po +59 -39
  19. data/locale/en/foreman_discovery.po +25 -10
  20. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/en_GB/foreman_discovery.edit.po +70 -39
  22. data/locale/en_GB/foreman_discovery.po +25 -10
  23. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/es/foreman_discovery.edit.po +70 -39
  25. data/locale/es/foreman_discovery.po +25 -10
  26. data/locale/foreman_discovery.pot +68 -45
  27. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  28. data/locale/fr/foreman_discovery.edit.po +68 -39
  29. data/locale/fr/foreman_discovery.po +25 -10
  30. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/gl/foreman_discovery.edit.po +59 -39
  32. data/locale/gl/foreman_discovery.po +25 -10
  33. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  34. data/locale/it/foreman_discovery.edit.po +59 -39
  35. data/locale/it/foreman_discovery.po +25 -10
  36. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/ja/foreman_discovery.edit.po +68 -39
  38. data/locale/ja/foreman_discovery.po +25 -10
  39. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/ko/foreman_discovery.edit.po +59 -39
  41. data/locale/ko/foreman_discovery.po +25 -10
  42. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/pt_BR/foreman_discovery.edit.po +68 -39
  44. data/locale/pt_BR/foreman_discovery.po +25 -10
  45. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/ru/foreman_discovery.edit.po +59 -39
  47. data/locale/ru/foreman_discovery.po +25 -10
  48. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/sv_SE/foreman_discovery.edit.po +59 -39
  50. data/locale/sv_SE/foreman_discovery.po +25 -10
  51. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/zh_CN/foreman_discovery.edit.po +68 -39
  53. data/locale/zh_CN/foreman_discovery.po +25 -10
  54. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/zh_TW/foreman_discovery.edit.po +59 -39
  56. data/locale/zh_TW/foreman_discovery.po +25 -10
  57. data/package.json +39 -0
  58. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  59. data/test/functional/discovery_rules_controller_test.rb +1 -1
  60. data/webpack/index.js +18 -0
  61. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  62. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  63. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  64. data/webpack/src/reducers.js +7 -0
  65. metadata +11 -4
@@ -10,7 +10,7 @@
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 16.1.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
15
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
16
  "Last-Translator: Transifex Bot <>\n"
@@ -334,6 +334,12 @@ msgstr[3] "С правилом также необходимо связать о
334
334
  msgid "Host of type %s can not be rebooted"
335
335
  msgstr "Узел типа %s не может быть перезагружен"
336
336
 
337
+ msgid "Host's owner type"
338
+ msgstr ""
339
+
340
+ msgid "Host's parameters (array or indexed hash)"
341
+ msgstr ""
342
+
337
343
  msgid "Hostname facts"
338
344
  msgstr ""
339
345
 
@@ -421,9 +427,6 @@ msgstr "Шаблон kexec не привязан к операционной с
421
427
  msgid "Last Facts Upload"
422
428
  msgstr ""
423
429
 
424
- msgid "Learn more about this in the documentation."
425
- msgstr ""
426
-
427
430
  msgid "List all discovered hosts"
428
431
  msgstr "Показать все обнаруженные узлы"
429
432
 
@@ -478,6 +481,9 @@ msgstr "нет"
478
481
  msgid "Name"
479
482
  msgstr "Имя"
480
483
 
484
+ msgid "Name of the parameter"
485
+ msgstr ""
486
+
481
487
  msgid "Network"
482
488
  msgstr "Сеть"
483
489
 
@@ -496,9 +502,6 @@ msgstr "Нет обнаруженных узлов"
496
502
  msgid "No discovered hosts for the selected period"
497
503
  msgstr "За указанный период времени новых узлов не обнаружено"
498
504
 
499
- msgid "No discovered hosts found in this context."
500
- msgstr ""
501
-
502
505
  msgid "No discovered hosts to provision"
503
506
  msgstr "Нет обнаруженных узлов"
504
507
 
@@ -541,6 +544,9 @@ msgstr ""
541
544
  msgid "PXELinux template to be used when pinning a host to discovery"
542
545
  msgstr ""
543
546
 
547
+ msgid "Parameter value"
548
+ msgstr ""
549
+
544
550
  msgid "Please Confirm"
545
551
  msgstr "Подтвердите"
546
552
 
@@ -688,15 +694,15 @@ msgstr "Узлы не были удалены: %s"
688
694
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
689
695
  msgstr "Это может занять некоторое время, так как в ходе выполнения будут удалены узлы, статистика и все отчеты"
690
696
 
691
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
692
- msgstr ""
693
-
694
697
  msgid "Type"
695
698
  msgstr "Тип"
696
699
 
697
700
  msgid "Type of name generator"
698
701
  msgstr ""
699
702
 
703
+ msgid "Type of value"
704
+ msgstr ""
705
+
700
706
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
701
707
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
702
708
 
@@ -781,6 +787,15 @@ msgstr "запрос для поиска соответствий среди у
781
787
  msgid "represents rule name shown to the users"
782
788
  msgstr "название правила, которое увидят пользователи"
783
789
 
790
+ msgid "required if host is managed and custom partition has not been defined"
791
+ msgstr ""
792
+
793
+ msgid "required if host is managed and value is not inherited from host group"
794
+ msgstr ""
795
+
796
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
797
+ msgstr ""
798
+
784
799
  msgid "required if value is not inherited from host group or default password in settings"
785
800
  msgstr "обязательно, если пароль не унаследован от группы узлов или заданного по умолчанию пароля"
786
801
 
@@ -8,7 +8,7 @@
8
8
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 16.1.0\n"
11
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
14
14
  "Last-Translator: Transifex Bot <>\n"
@@ -44,7 +44,7 @@ msgstr "antal poster per begäran"
44
44
  msgid "Show a discovered host"
45
45
  msgstr ""
46
46
 
47
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
47
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
48
48
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
49
49
  msgstr ""
50
50
 
@@ -56,6 +56,10 @@ msgstr ""
56
56
  msgid "Provision a discovered host"
57
57
  msgstr ""
58
58
 
59
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
60
+ msgid "required if host is managed and value is not inherited from host group"
61
+ msgstr ""
62
+
59
63
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
60
64
  msgid "not required if using a subnet with DHCP proxy"
61
65
  msgstr ""
@@ -64,71 +68,99 @@ msgstr ""
64
68
  msgid "not required if it's a virtual machine"
65
69
  msgstr ""
66
70
 
67
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
71
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
72
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
73
+ msgstr ""
74
+
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
76
+ msgid "required if host is managed and custom partition has not been defined"
77
+ msgstr ""
78
+
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
80
+ msgid "Host's owner type"
81
+ msgstr ""
82
+
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
84
+ msgid "Host's parameters (array or indexed hash)"
85
+ msgstr ""
86
+
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
88
+ msgid "Name of the parameter"
89
+ msgstr ""
90
+
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
92
+ msgid "Parameter value"
93
+ msgstr ""
94
+
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
96
+ msgid "Type of value"
97
+ msgstr ""
98
+
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
68
100
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
69
101
  msgstr ""
70
102
 
71
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
72
104
  msgid "required if value is not inherited from host group or default password in settings"
73
105
  msgstr ""
74
106
 
75
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
76
108
  msgid "Delete a discovered host"
77
109
  msgstr ""
78
110
 
79
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
80
112
  msgid "Upload facts for a host, creating the host if required"
81
113
  msgstr ""
82
114
 
83
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
84
116
  msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
85
117
  msgstr ""
86
118
 
87
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
88
120
  msgid "Execute rules against a discovered host"
89
121
  msgstr ""
90
122
 
91
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:160
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
92
124
  msgid "Host %{host} was provisioned with rule %{rule}"
93
125
  msgstr ""
94
126
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
96
128
  msgid "Unable to provision %{host}: %{errors}"
97
129
  msgstr ""
98
130
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:167
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
100
132
  msgid "No rule found for host %s"
101
133
  msgstr ""
102
134
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
104
136
  msgid "Execute rules against all currently discovered hosts"
105
137
  msgstr ""
106
138
 
107
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:173
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
108
140
  msgid "Errors during auto provisioning: %s"
109
141
  msgstr ""
110
142
 
111
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:176
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
112
144
  msgid "No discovered hosts to provision"
113
145
  msgstr ""
114
146
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
116
148
  msgid "%s discovered hosts were provisioned"
117
149
  msgstr ""
118
150
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
151
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
120
152
  msgid "Refreshing the facts of a discovered host"
121
153
  msgstr ""
122
154
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
124
156
  msgid "Rebooting a discovered host"
125
157
  msgstr ""
126
158
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
159
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
128
160
  msgid "Rebooting all discovered hosts"
129
161
  msgstr ""
130
162
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:129
163
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
132
164
  msgid "Discovered hosts are rebooting now"
133
165
  msgstr ""
134
166
 
@@ -372,7 +404,7 @@ msgstr ""
372
404
  msgid "Provision"
373
405
  msgstr "Provisionera"
374
406
 
375
- #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
407
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
376
408
  msgid "Discovered Hosts"
377
409
  msgstr "Hittade värdar"
378
410
 
@@ -842,18 +874,6 @@ msgstr ""
842
874
  msgid "Collapse All"
843
875
  msgstr ""
844
876
 
845
- #: ../app/views/discovered_hosts/welcome.html.erb:7
846
- msgid "No discovered hosts found in this context."
847
- msgstr ""
848
-
849
- #: ../app/views/discovered_hosts/welcome.html.erb:8
850
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
851
- msgstr ""
852
-
853
- #: ../app/views/discovered_hosts/welcome.html.erb:9
854
- msgid "Learn more about this in the documentation."
855
- msgstr ""
856
-
857
877
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
858
878
  msgid "Summary report for discovered hosts from Foreman"
859
879
  msgstr ""
@@ -946,7 +966,7 @@ msgstr ""
946
966
  msgid "Edit %s"
947
967
  msgstr "Redigera %s"
948
968
 
949
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
969
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
950
970
  msgid "Discovery Rules"
951
971
  msgstr ""
952
972
 
@@ -1002,19 +1022,19 @@ msgstr ""
1002
1022
  msgid "Details"
1003
1023
  msgstr ""
1004
1024
 
1005
- #: ../lib/foreman_discovery/engine.rb:179
1025
+ #: ../lib/foreman_discovery/engine.rb:180
1006
1026
  msgid "Discovery Kexec template"
1007
1027
  msgstr ""
1008
1028
 
1009
- #: ../lib/foreman_discovery/engine.rb:188
1029
+ #: ../lib/foreman_discovery/engine.rb:189
1010
1030
  msgid "Discovery Proxy"
1011
1031
  msgstr ""
1012
1032
 
1013
- #: ../lib/foreman_discovery/engine.rb:189
1033
+ #: ../lib/foreman_discovery/engine.rb:190
1014
1034
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1015
1035
  msgstr ""
1016
1036
 
1017
- #: ../lib/foreman_discovery/engine.rb:190
1037
+ #: ../lib/foreman_discovery/engine.rb:191
1018
1038
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1019
1039
  msgstr ""
1020
1040
 
@@ -1027,9 +1047,9 @@ msgid "Import Puppet classes"
1027
1047
  msgstr ""
1028
1048
 
1029
1049
  #: action_names.rb:4
1030
- msgid "Import facts"
1050
+ msgid "Action with sub plans"
1031
1051
  msgstr ""
1032
1052
 
1033
1053
  #: action_names.rb:5
1034
- msgid "Action with sub plans"
1054
+ msgid "Import facts"
1035
1055
  msgstr ""
@@ -8,7 +8,7 @@
8
8
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 16.1.0\n"
11
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
14
14
  "Last-Translator: Transifex Bot <>\n"
@@ -326,6 +326,12 @@ msgstr[1] ""
326
326
  msgid "Host of type %s can not be rebooted"
327
327
  msgstr ""
328
328
 
329
+ msgid "Host's owner type"
330
+ msgstr ""
331
+
332
+ msgid "Host's parameters (array or indexed hash)"
333
+ msgstr ""
334
+
329
335
  msgid "Hostname facts"
330
336
  msgstr ""
331
337
 
@@ -413,9 +419,6 @@ msgstr ""
413
419
  msgid "Last Facts Upload"
414
420
  msgstr ""
415
421
 
416
- msgid "Learn more about this in the documentation."
417
- msgstr ""
418
-
419
422
  msgid "List all discovered hosts"
420
423
  msgstr ""
421
424
 
@@ -470,6 +473,9 @@ msgstr "N/A"
470
473
  msgid "Name"
471
474
  msgstr "Namn"
472
475
 
476
+ msgid "Name of the parameter"
477
+ msgstr ""
478
+
473
479
  msgid "Network"
474
480
  msgstr ""
475
481
 
@@ -488,9 +494,6 @@ msgstr ""
488
494
  msgid "No discovered hosts for the selected period"
489
495
  msgstr ""
490
496
 
491
- msgid "No discovered hosts found in this context."
492
- msgstr ""
493
-
494
497
  msgid "No discovered hosts to provision"
495
498
  msgstr ""
496
499
 
@@ -533,6 +536,9 @@ msgstr ""
533
536
  msgid "PXELinux template to be used when pinning a host to discovery"
534
537
  msgstr ""
535
538
 
539
+ msgid "Parameter value"
540
+ msgstr ""
541
+
536
542
  msgid "Please Confirm"
537
543
  msgstr "Var god, bekräfta"
538
544
 
@@ -680,15 +686,15 @@ msgstr "Följande värdar raderades inte: %s"
680
686
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
681
687
  msgstr "Detta kan dröja då alla värdar, fakta och rapporter också kommer bli förstörda"
682
688
 
683
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
684
- msgstr ""
685
-
686
689
  msgid "Type"
687
690
  msgstr ""
688
691
 
689
692
  msgid "Type of name generator"
690
693
  msgstr ""
691
694
 
695
+ msgid "Type of value"
696
+ msgstr ""
697
+
692
698
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
693
699
  msgstr ""
694
700
 
@@ -773,6 +779,15 @@ msgstr ""
773
779
  msgid "represents rule name shown to the users"
774
780
  msgstr ""
775
781
 
782
+ msgid "required if host is managed and custom partition has not been defined"
783
+ msgstr ""
784
+
785
+ msgid "required if host is managed and value is not inherited from host group"
786
+ msgstr ""
787
+
788
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
789
+ msgstr ""
790
+
776
791
  msgid "required if value is not inherited from host group or default password in settings"
777
792
  msgstr ""
778
793
 
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 16.1.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
11
  "Last-Translator: Transifex Bot <>\n"
@@ -41,7 +41,7 @@ msgstr "每个请求中的条目数"
41
41
  msgid "Show a discovered host"
42
42
  msgstr "显示一个发现主机"
43
43
 
44
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
44
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
45
45
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
46
46
  msgstr "DHCP 文件名选项(默认为 Grub2 或 PXELinux)"
47
47
 
@@ -53,6 +53,10 @@ msgstr "创建一个用于测试的发现主机(使用 /详情创建新主机
53
53
  msgid "Provision a discovered host"
54
54
  msgstr "置备发现主机"
55
55
 
56
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
57
+ msgid "required if host is managed and value is not inherited from host group"
58
+ msgstr ""
59
+
56
60
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
57
61
  msgid "not required if using a subnet with DHCP proxy"
58
62
  msgstr "如果使用附带 DHCP 代理服务器的子网则不需要"
@@ -61,71 +65,99 @@ msgstr "如果使用附带 DHCP 代理服务器的子网则不需要"
61
65
  msgid "not required if it's a virtual machine"
62
66
  msgstr "如果是虚拟机,则不需要"
63
67
 
64
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
68
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
69
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
70
+ msgstr ""
71
+
72
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
73
+ msgid "required if host is managed and custom partition has not been defined"
74
+ msgstr ""
75
+
76
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
77
+ msgid "Host's owner type"
78
+ msgstr ""
79
+
80
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
81
+ msgid "Host's parameters (array or indexed hash)"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
85
+ msgid "Name of the parameter"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
89
+ msgid "Parameter value"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
93
+ msgid "Type of value"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
65
97
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
66
98
  msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
67
99
 
68
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
100
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
69
101
  msgid "required if value is not inherited from host group or default password in settings"
70
102
  msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
71
103
 
72
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
73
105
  msgid "Delete a discovered host"
74
106
  msgstr "删除发现主机"
75
107
 
76
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
77
109
  msgid "Upload facts for a host, creating the host if required"
78
110
  msgstr "上传主机的系统详情,如需要,请创建主机。"
79
111
 
80
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
81
113
  msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
82
114
  msgstr "hash 包含具备最小详情集合的主机的详情:discovery_bootif、macaddress_eth0、ipaddress、ipaddress_eth0、interfaces: eth0(主接口名为 eth0 的示例)"
83
115
 
84
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
116
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
85
117
  msgid "Execute rules against a discovered host"
86
118
  msgstr "对发现主机执行规则"
87
119
 
88
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:160
120
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
89
121
  msgid "Host %{host} was provisioned with rule %{rule}"
90
122
  msgstr "主机 %{host} 置备了规则 %{rule}"
91
123
 
92
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
124
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
93
125
  msgid "Unable to provision %{host}: %{errors}"
94
126
  msgstr "无法置备 %{host}:%{errors}"
95
127
 
96
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:167
128
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
97
129
  msgid "No rule found for host %s"
98
130
  msgstr "没有为主机 %s 找到规则"
99
131
 
100
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
132
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
101
133
  msgid "Execute rules against all currently discovered hosts"
102
134
  msgstr "对当前所有发现主机执行规则"
103
135
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:173
136
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
105
137
  msgid "Errors during auto provisioning: %s"
106
138
  msgstr "自动置备期间出错:%s"
107
139
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:176
140
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
109
141
  msgid "No discovered hosts to provision"
110
142
  msgstr "没有要置备的发现主机"
111
143
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
144
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
113
145
  msgid "%s discovered hosts were provisioned"
114
146
  msgstr "已置备 %s 发现主机"
115
147
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
117
149
  msgid "Refreshing the facts of a discovered host"
118
150
  msgstr "刷新发现主机的详情"
119
151
 
120
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
152
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
121
153
  msgid "Rebooting a discovered host"
122
154
  msgstr "重启发现主机"
123
155
 
124
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
156
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
125
157
  msgid "Rebooting all discovered hosts"
126
158
  msgstr "重启所有发现主机"
127
159
 
128
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:129
160
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
129
161
  msgid "Discovered hosts are rebooting now"
130
162
  msgstr "现在正在重启发现主机"
131
163
 
@@ -369,7 +401,7 @@ msgstr "最近 7 天内报告"
369
401
  msgid "Provision"
370
402
  msgstr "供应"
371
403
 
372
- #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
404
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
373
405
  msgid "Discovered Hosts"
374
406
  msgstr "发现主机"
375
407
 
@@ -839,18 +871,6 @@ msgstr "IP 地址"
839
871
  msgid "Collapse All"
840
872
  msgstr "隐藏全部"
841
873
 
842
- #: ../app/views/discovered_hosts/welcome.html.erb:7
843
- msgid "No discovered hosts found in this context."
844
- msgstr "在此上下文中未找到发现主机。"
845
-
846
- #: ../app/views/discovered_hosts/welcome.html.erb:8
847
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
848
- msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
849
-
850
- #: ../app/views/discovered_hosts/welcome.html.erb:9
851
- msgid "Learn more about this in the documentation."
852
- msgstr "在本文档中了解更多这方面的内容。"
853
-
854
874
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
855
875
  msgid "Summary report for discovered hosts from Foreman"
856
876
  msgstr "来自 Foreman 的 发现主机概述报告"
@@ -943,7 +963,7 @@ msgstr "主机名不得以数字开始。一种好方法是使用 facter 提供
943
963
  msgid "Edit %s"
944
964
  msgstr "编辑 %s"
945
965
 
946
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
966
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
947
967
  msgid "Discovery Rules"
948
968
  msgstr "发现规则"
949
969
 
@@ -999,19 +1019,19 @@ msgstr "已发现一个或多个主机"
999
1019
  msgid "Details"
1000
1020
  msgstr "详情"
1001
1021
 
1002
- #: ../lib/foreman_discovery/engine.rb:179
1022
+ #: ../lib/foreman_discovery/engine.rb:180
1003
1023
  msgid "Discovery Kexec template"
1004
1024
  msgstr "发现 Kexec 模板"
1005
1025
 
1006
- #: ../lib/foreman_discovery/engine.rb:188
1026
+ #: ../lib/foreman_discovery/engine.rb:189
1007
1027
  msgid "Discovery Proxy"
1008
1028
  msgstr "发现代理服务器"
1009
1029
 
1010
- #: ../lib/foreman_discovery/engine.rb:189
1030
+ #: ../lib/foreman_discovery/engine.rb:190
1011
1031
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1012
1032
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器"
1013
1033
 
1014
- #: ../lib/foreman_discovery/engine.rb:190
1034
+ #: ../lib/foreman_discovery/engine.rb:191
1015
1035
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1016
1036
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器 ID"
1017
1037
 
@@ -1024,9 +1044,18 @@ msgid "Import Puppet classes"
1024
1044
  msgstr ""
1025
1045
 
1026
1046
  #: action_names.rb:4
1027
- msgid "Import facts"
1047
+ msgid "Action with sub plans"
1028
1048
  msgstr ""
1029
1049
 
1030
1050
  #: action_names.rb:5
1031
- msgid "Action with sub plans"
1051
+ msgid "Import facts"
1032
1052
  msgstr ""
1053
+
1054
+ #~ msgid "Learn more about this in the documentation."
1055
+ #~ msgstr "在本文档中了解更多这方面的内容。"
1056
+ #~ msgid "No discovered hosts found in this context."
1057
+ #~ msgstr "在此上下文中未找到发现主机。"
1058
+ #~ msgid ""
1059
+ #~ "This page shows discovered bare-metal or virtual nodes waiting to be provision"
1060
+ #~ "ed."
1061
+ #~ msgstr "此页显示了等待置备的发现裸机或虚拟节点。"