foreman_discovery 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +12 -3
  3. data/app/models/host/discovered.rb +28 -25
  4. data/app/models/host/managed_extensions.rb +24 -3
  5. data/app/services/foreman_discovery/host_converter.rb +16 -2
  6. data/app/services/foreman_discovery/node_api/node_resource.rb +117 -0
  7. data/app/services/foreman_discovery/node_api/power.rb +57 -0
  8. data/{lib → app/services}/foreman_discovery/proxy_operations.rb +0 -0
  9. data/app/views/foreman_discovery/redhat_kexec.erb +44 -0
  10. data/db/seeds.d/50_discovery_templates.rb +18 -0
  11. data/lib/foreman_discovery/engine.rb +1 -1
  12. data/lib/foreman_discovery/version.rb +1 -1
  13. data/locale/de/foreman_discovery.po +146 -64
  14. data/locale/en_GB/foreman_discovery.po +146 -64
  15. data/locale/es/foreman_discovery.po +146 -64
  16. data/locale/foreman_discovery.pot +97 -41
  17. data/locale/fr/foreman_discovery.po +146 -64
  18. data/locale/gl/foreman_discovery.po +100 -59
  19. data/locale/it/foreman_discovery.po +106 -59
  20. data/locale/ja/foreman_discovery.po +132 -61
  21. data/locale/ko/foreman_discovery.po +104 -58
  22. data/locale/pt_BR/foreman_discovery.po +106 -59
  23. data/locale/ru/foreman_discovery.po +152 -66
  24. data/locale/sv_SE/foreman_discovery.po +103 -59
  25. data/locale/zh_CN/foreman_discovery.po +104 -58
  26. data/locale/zh_TW/foreman_discovery.po +104 -58
  27. data/test/functional/api/v2/discovered_hosts_controller_test.rb +30 -11
  28. data/test/functional/discovered_hosts_controller_test.rb +30 -26
  29. data/test/unit/discovered_extensions_test.rb +8 -8
  30. metadata +10 -34
  31. data/app/views/api/v2/discovered_hosts/auto_provision.json.rabl +0 -3
  32. data/app/views/api/v2/discovered_hosts/auto_provision_all.json.rabl +0 -3
  33. data/locale/Makefile +0 -62
  34. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/de/foreman_discovery.pox +0 -40
  36. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/en_GB/foreman_discovery.pox +0 -0
  38. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/es/foreman_discovery.pox +0 -41
  40. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/fr/foreman_discovery.pox +0 -69
  42. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/gl/foreman_discovery.pox +0 -21
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.pox +0 -0
  46. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/ja/foreman_discovery.pox +0 -29
  48. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ko/foreman_discovery.pox +0 -189
  50. data/locale/messages.mo +0 -0
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.pox +0 -0
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.pox +0 -0
  55. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/zanata.xml +0 -28
  57. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/zh_CN/foreman_discovery.pox +0 -33
  59. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_TW/foreman_discovery.pox +0 -23
@@ -1,20 +1,20 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 3.0.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-01-28 17:53+0100\n"
9
+ "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
+ "POT-Creation-Date: 2015-08-13 16:23+0200\n"
11
11
  "PO-Revision-Date: 2015-03-21 22:54+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
14
+ "Language: zh_CN\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
16
17
  "Content-Transfer-Encoding: 8bit\n"
17
- "Language: zh_CN\n"
18
18
  "Plural-Forms: nplurals=1; plural=0;\n"
19
19
 
20
20
  msgid "%s - The following hosts are about to be changed"
@@ -38,9 +38,10 @@ msgstr ""
38
38
  msgid "Auto Provision All"
39
39
  msgstr ""
40
40
 
41
- msgid ""
42
- "Automatically provision newly discovered hosts, according to the "
43
- "provisioning rules"
41
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
42
+ msgstr ""
43
+
44
+ msgid "Automatically reboot discovered host during provisioning"
44
45
  msgstr ""
45
46
 
46
47
  msgid "CPUs"
@@ -52,7 +53,7 @@ msgstr "取消"
52
53
  msgid "Could not get facts from proxy %{url}: %{error}"
53
54
  msgstr ""
54
55
 
55
- msgid "Create a discovered host"
56
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
56
57
  msgstr ""
57
58
 
58
59
  msgid "Create a discovery rule"
@@ -82,9 +83,6 @@ msgstr ""
82
83
  msgid "Disable rule?"
83
84
  msgstr ""
84
85
 
85
- msgid "Discovered Host Pool"
86
- msgstr ""
87
-
88
86
  msgid "Discovered host: %s"
89
87
  msgstr "找到的主机:%s"
90
88
 
@@ -94,13 +92,10 @@ msgstr "找到的主机"
94
92
  msgid "Discovered hosts are provisioning now"
95
93
  msgstr ""
96
94
 
97
- msgid "Discovery Rules"
95
+ msgid "Discovered hosts are rebooting now"
98
96
  msgstr ""
99
97
 
100
- msgid "Discovery rules"
101
- msgstr ""
102
-
103
- msgid "Discovery widget"
98
+ msgid "Discovery Rules"
104
99
  msgstr ""
105
100
 
106
101
  msgid "DiscoveryRule|Enabled"
@@ -121,10 +116,7 @@ msgstr ""
121
116
  msgid "Disks size"
122
117
  msgstr ""
123
118
 
124
- msgid ""
125
- "Domain will be appended automatically. A hostname based on MAC address will "
126
- "be used when left blank. In addition to @host attribute function rand for "
127
- "random integers is available. Examples:"
119
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank. In addition to @host attribute function rand for random integers is available. Examples:"
128
120
  msgstr ""
129
121
 
130
122
  msgid "Edit Discovery Rule"
@@ -139,15 +131,27 @@ msgstr ""
139
131
  msgid "Errors during auto provisioning: %s"
140
132
  msgstr ""
141
133
 
134
+ msgid "Errors during reboot: %s"
135
+ msgstr ""
136
+
142
137
  msgid "Execute rules against a discovered host"
143
138
  msgstr ""
144
139
 
145
140
  msgid "Execute rules against all currently discovered hosts"
146
141
  msgstr ""
147
142
 
143
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
144
+ msgstr ""
145
+
146
+ msgid "Extra facter columns to show in host lists (separate by comma)"
147
+ msgstr ""
148
+
148
149
  msgid "Fact"
149
150
  msgstr "详情"
150
151
 
152
+ msgid "Fact name to use for primary interface detection and hostname"
153
+ msgstr ""
154
+
151
155
  msgid "Facts discovered on this host"
152
156
  msgstr "在这台主机中找到的详情"
153
157
 
@@ -157,12 +161,6 @@ msgstr "为 %s 刷新详情"
157
161
  msgid "Failed to auto provision host %s: %s"
158
162
  msgstr ""
159
163
 
160
- msgid "Failed to import facts for discovered host"
161
- msgstr ""
162
-
163
- msgid "Failed to import facts for discovered host: %s"
164
- msgstr ""
165
-
166
164
  msgid "Failed to reboot host %s"
167
165
  msgstr ""
168
166
 
@@ -181,6 +179,14 @@ msgstr ""
181
179
  msgid "Host group"
182
180
  msgstr "主机组"
183
181
 
182
+ msgid "Host group location %s must also be associated to the discovery rule"
183
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
184
+ msgstr[0] ""
185
+
186
+ msgid "Host group organization %s must also be associated to the discovery rule"
187
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
188
+ msgstr[0] ""
189
+
184
190
  msgid "Host of type %s can not be rebooted"
185
191
  msgstr ""
186
192
 
@@ -196,18 +202,12 @@ msgstr ""
196
202
  msgid "IP Address"
197
203
  msgstr "IP地址"
198
204
 
199
- msgid "Imported discovered host"
205
+ msgid "Incompatible version of puppet fact parser"
200
206
  msgstr ""
201
207
 
202
208
  msgid "Invalid facts, must be a Hash"
203
209
  msgstr "无效详情,必须是 hash"
204
210
 
205
- msgid "Invalid facts: hash does not contain IP address"
206
- msgstr ""
207
-
208
- msgid "Invalid facts: hash does not contain the required fact '%s'"
209
- msgstr "无效详情:未含有所需详情 '%s'"
210
-
211
211
  msgid "Last facts upload"
212
212
  msgstr "最后一个上传的详情"
213
213
 
@@ -220,6 +220,9 @@ msgstr ""
220
220
  msgid "Location"
221
221
  msgstr "位置"
222
222
 
223
+ msgid "Locations"
224
+ msgstr ""
225
+
223
226
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
224
227
  msgstr ""
225
228
 
@@ -241,12 +244,18 @@ msgstr ""
241
244
  msgid "New Rule"
242
245
  msgstr ""
243
246
 
247
+ msgid "New in the last 24 hours"
248
+ msgstr ""
249
+
244
250
  msgid "No discovered hosts available"
245
251
  msgstr ""
246
252
 
247
253
  msgid "No discovered hosts to provision"
248
254
  msgstr ""
249
255
 
256
+ msgid "No discovered hosts to reboot"
257
+ msgstr ""
258
+
250
259
  msgid "No hosts selected"
251
260
  msgstr "未选择任何主机"
252
261
 
@@ -256,12 +265,21 @@ msgstr "未找到符合此 id 或者名称的主机"
256
265
  msgid "No rule found for host %s"
257
266
  msgstr ""
258
267
 
268
+ msgid "Not reported in more than 7 days"
269
+ msgstr ""
270
+
259
271
  msgid "Organization"
260
272
  msgstr "机构"
261
273
 
274
+ msgid "Organizations"
275
+ msgstr ""
276
+
262
277
  msgid "Please Confirm"
263
278
  msgstr "请确认"
264
279
 
280
+ msgid "Primary"
281
+ msgstr ""
282
+
265
283
  msgid "Provision"
266
284
  msgstr "供应"
267
285
 
@@ -271,12 +289,18 @@ msgstr ""
271
289
  msgid "Reboot"
272
290
  msgstr ""
273
291
 
292
+ msgid "Reboot All"
293
+ msgstr ""
294
+
274
295
  msgid "Rebooting %s"
275
296
  msgstr "正在重启 %s"
276
297
 
277
298
  msgid "Rebooting a discovered host"
278
299
  msgstr ""
279
300
 
301
+ msgid "Rebooting all discovered hosts"
302
+ msgstr ""
303
+
280
304
  msgid "Rebooting host %s"
281
305
  msgstr ""
282
306
 
@@ -286,6 +310,9 @@ msgstr "刷新详情"
286
310
  msgid "Refreshing the facts of a discovered host"
287
311
  msgstr ""
288
312
 
313
+ msgid "Reported in the last 7 days"
314
+ msgstr ""
315
+
289
316
  msgid "Rule disabled"
290
317
  msgstr ""
291
318
 
@@ -313,15 +340,10 @@ msgstr ""
313
340
  msgid "Show a discovery rule"
314
341
  msgstr ""
315
342
 
316
- msgid "Show fact as an extra column in the discovered hosts list"
317
- msgstr ""
318
-
319
343
  msgid "Something went wrong while selecting hosts - %s"
320
344
  msgstr "选择主机时出错 - %s"
321
345
 
322
- msgid ""
323
- "Specify target hostname template pattern in the same syntax as in "
324
- "Provisioning Templates (ERB)."
346
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
325
347
  msgstr ""
326
348
 
327
349
  msgid "Submit"
@@ -336,9 +358,6 @@ msgstr ""
336
358
  msgid "Template"
337
359
  msgstr "模板"
338
360
 
339
- msgid "The default fact name to use for the MAC of the system"
340
- msgstr "该系统 MAC 的默认详情名称"
341
-
342
361
  msgid "The default location to place discovered hosts in"
343
362
  msgstr "找到主机的默认位置"
344
363
 
@@ -351,17 +370,22 @@ msgstr ""
351
370
  msgid "The following hosts were not deleted: %s"
352
371
  msgstr "未删除以下主机:%s"
353
372
 
354
- msgid ""
355
- "This might take a while, as all hosts, facts and reports will be destroyed "
356
- "as well"
373
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
357
374
  msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
358
375
 
359
- msgid "Total pool size"
360
- msgid_plural "Total pool size"
361
- msgstr[0] ""
376
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
377
+ msgstr ""
362
378
 
363
- msgid ""
364
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
379
+ msgid "Unable to assign subnet, primary interface is missing IP address"
380
+ msgstr ""
381
+
382
+ msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
383
+ msgstr ""
384
+
385
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
386
+ msgstr ""
387
+
388
+ msgid "Unable to reboot %{name}: %{msg}"
365
389
  msgstr ""
366
390
 
367
391
  msgid "Update a rule"
@@ -376,19 +400,25 @@ msgstr "值"
376
400
  msgid "Warning"
377
401
  msgstr "警告"
378
402
 
379
- msgid ""
380
- "When creating hostname patterns, make sure the resulting host names are "
381
- "unique. Hostnames must not start with numbers. A good approach is to use "
382
- "unique information provided by facter (MAC address, BIOS or serial ID)."
403
+ msgid "When creating hostname patterns, make sure the resulting host names are unique. Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
383
404
  msgstr ""
384
405
 
385
406
  msgid "can't contain white spaces."
386
407
  msgstr ""
387
408
 
409
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
410
+ msgstr ""
411
+
412
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
413
+ msgstr ""
414
+
388
415
  msgid "filter results"
389
416
  msgstr ""
390
417
 
391
- msgid "hash containing facts for the host"
418
+ msgid "flag is used for temporary shutdown of rules"
419
+ msgstr ""
420
+
421
+ 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)"
392
422
  msgstr ""
393
423
 
394
424
  msgid "items selected. Uncheck to Clear"
@@ -409,10 +439,26 @@ msgstr ""
409
439
  msgid "paginate results"
410
440
  msgstr ""
411
441
 
412
- msgid ""
413
- "required if value is not inherited from host group or default password in "
414
- "settings"
442
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
443
+ msgstr ""
444
+
445
+ msgid "query to match discovered hosts for the particular rule"
446
+ msgstr ""
447
+
448
+ msgid "represents rule name shown to the users"
449
+ msgstr ""
450
+
451
+ msgid "required if value is not inherited from host group or default password in settings"
415
452
  msgstr ""
416
453
 
417
454
  msgid "sort results"
418
455
  msgstr ""
456
+
457
+ msgid "the hostgroup that is used to auto provision a host"
458
+ msgstr ""
459
+
460
+ #~ msgid "Invalid facts: hash does not contain the required fact '%s'"
461
+ #~ msgstr "无效详情:未含有所需详情 '%s'"
462
+
463
+ #~ msgid "The default fact name to use for the MAC of the system"
464
+ #~ msgstr "该系统 MAC 的默认详情名称"
@@ -1,20 +1,20 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 3.0.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-01-28 17:53+0100\n"
9
+ "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
10
+ "POT-Creation-Date: 2015-08-13 16:23+0200\n"
11
11
  "PO-Revision-Date: 2015-03-21 22:54+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
14
+ "Language: zh_TW\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
16
17
  "Content-Transfer-Encoding: 8bit\n"
17
- "Language: zh_TW\n"
18
18
  "Plural-Forms: nplurals=1; plural=0;\n"
19
19
 
20
20
  msgid "%s - The following hosts are about to be changed"
@@ -38,9 +38,10 @@ msgstr ""
38
38
  msgid "Auto Provision All"
39
39
  msgstr ""
40
40
 
41
- msgid ""
42
- "Automatically provision newly discovered hosts, according to the "
43
- "provisioning rules"
41
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
42
+ msgstr ""
43
+
44
+ msgid "Automatically reboot discovered host during provisioning"
44
45
  msgstr ""
45
46
 
46
47
  msgid "CPUs"
@@ -52,7 +53,7 @@ msgstr "取消"
52
53
  msgid "Could not get facts from proxy %{url}: %{error}"
53
54
  msgstr ""
54
55
 
55
- msgid "Create a discovered host"
56
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
56
57
  msgstr ""
57
58
 
58
59
  msgid "Create a discovery rule"
@@ -82,9 +83,6 @@ msgstr ""
82
83
  msgid "Disable rule?"
83
84
  msgstr ""
84
85
 
85
- msgid "Discovered Host Pool"
86
- msgstr ""
87
-
88
86
  msgid "Discovered host: %s"
89
87
  msgstr "發現的主機:%s"
90
88
 
@@ -94,13 +92,10 @@ msgstr "發現的主機"
94
92
  msgid "Discovered hosts are provisioning now"
95
93
  msgstr ""
96
94
 
97
- msgid "Discovery Rules"
95
+ msgid "Discovered hosts are rebooting now"
98
96
  msgstr ""
99
97
 
100
- msgid "Discovery rules"
101
- msgstr ""
102
-
103
- msgid "Discovery widget"
98
+ msgid "Discovery Rules"
104
99
  msgstr ""
105
100
 
106
101
  msgid "DiscoveryRule|Enabled"
@@ -121,10 +116,7 @@ msgstr ""
121
116
  msgid "Disks size"
122
117
  msgstr ""
123
118
 
124
- msgid ""
125
- "Domain will be appended automatically. A hostname based on MAC address will "
126
- "be used when left blank. In addition to @host attribute function rand for "
127
- "random integers is available. Examples:"
119
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank. In addition to @host attribute function rand for random integers is available. Examples:"
128
120
  msgstr ""
129
121
 
130
122
  msgid "Edit Discovery Rule"
@@ -139,15 +131,27 @@ msgstr ""
139
131
  msgid "Errors during auto provisioning: %s"
140
132
  msgstr ""
141
133
 
134
+ msgid "Errors during reboot: %s"
135
+ msgstr ""
136
+
142
137
  msgid "Execute rules against a discovered host"
143
138
  msgstr ""
144
139
 
145
140
  msgid "Execute rules against all currently discovered hosts"
146
141
  msgstr ""
147
142
 
143
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
144
+ msgstr ""
145
+
146
+ msgid "Extra facter columns to show in host lists (separate by comma)"
147
+ msgstr ""
148
+
148
149
  msgid "Fact"
149
150
  msgstr "詳情"
150
151
 
152
+ msgid "Fact name to use for primary interface detection and hostname"
153
+ msgstr ""
154
+
151
155
  msgid "Facts discovered on this host"
152
156
  msgstr "在這部主機上發現的詳情"
153
157
 
@@ -157,12 +161,6 @@ msgstr "%s 的詳情已刷新"
157
161
  msgid "Failed to auto provision host %s: %s"
158
162
  msgstr ""
159
163
 
160
- msgid "Failed to import facts for discovered host"
161
- msgstr ""
162
-
163
- msgid "Failed to import facts for discovered host: %s"
164
- msgstr ""
165
-
166
164
  msgid "Failed to reboot host %s"
167
165
  msgstr ""
168
166
 
@@ -181,6 +179,14 @@ msgstr ""
181
179
  msgid "Host group"
182
180
  msgstr "主機群組"
183
181
 
182
+ msgid "Host group location %s must also be associated to the discovery rule"
183
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
184
+ msgstr[0] ""
185
+
186
+ msgid "Host group organization %s must also be associated to the discovery rule"
187
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
188
+ msgstr[0] ""
189
+
184
190
  msgid "Host of type %s can not be rebooted"
185
191
  msgstr ""
186
192
 
@@ -196,18 +202,12 @@ msgstr ""
196
202
  msgid "IP Address"
197
203
  msgstr "IP 位址"
198
204
 
199
- msgid "Imported discovered host"
205
+ msgid "Incompatible version of puppet fact parser"
200
206
  msgstr ""
201
207
 
202
208
  msgid "Invalid facts, must be a Hash"
203
209
  msgstr "詳情無效,必須是雜湊"
204
210
 
205
- msgid "Invalid facts: hash does not contain IP address"
206
- msgstr ""
207
-
208
- msgid "Invalid facts: hash does not contain the required fact '%s'"
209
- msgstr "詳情無效:雜湊未包含必要的詳情「%s」"
210
-
211
211
  msgid "Last facts upload"
212
212
  msgstr "最後上傳的詳情"
213
213
 
@@ -220,6 +220,9 @@ msgstr ""
220
220
  msgid "Location"
221
221
  msgstr "位置"
222
222
 
223
+ msgid "Locations"
224
+ msgstr ""
225
+
223
226
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
224
227
  msgstr ""
225
228
 
@@ -241,12 +244,18 @@ msgstr ""
241
244
  msgid "New Rule"
242
245
  msgstr ""
243
246
 
247
+ msgid "New in the last 24 hours"
248
+ msgstr ""
249
+
244
250
  msgid "No discovered hosts available"
245
251
  msgstr ""
246
252
 
247
253
  msgid "No discovered hosts to provision"
248
254
  msgstr ""
249
255
 
256
+ msgid "No discovered hosts to reboot"
257
+ msgstr ""
258
+
250
259
  msgid "No hosts selected"
251
260
  msgstr "未選擇主機"
252
261
 
@@ -256,12 +265,21 @@ msgstr "沒有找到擁有此 ID 或名稱的主機"
256
265
  msgid "No rule found for host %s"
257
266
  msgstr ""
258
267
 
268
+ msgid "Not reported in more than 7 days"
269
+ msgstr ""
270
+
259
271
  msgid "Organization"
260
272
  msgstr "組織"
261
273
 
274
+ msgid "Organizations"
275
+ msgstr ""
276
+
262
277
  msgid "Please Confirm"
263
278
  msgstr "請確認"
264
279
 
280
+ msgid "Primary"
281
+ msgstr ""
282
+
265
283
  msgid "Provision"
266
284
  msgstr "佈建"
267
285
 
@@ -271,12 +289,18 @@ msgstr ""
271
289
  msgid "Reboot"
272
290
  msgstr ""
273
291
 
292
+ msgid "Reboot All"
293
+ msgstr ""
294
+
274
295
  msgid "Rebooting %s"
275
296
  msgstr "重新啟動 %s"
276
297
 
277
298
  msgid "Rebooting a discovered host"
278
299
  msgstr ""
279
300
 
301
+ msgid "Rebooting all discovered hosts"
302
+ msgstr ""
303
+
280
304
  msgid "Rebooting host %s"
281
305
  msgstr ""
282
306
 
@@ -286,6 +310,9 @@ msgstr "刷新詳情"
286
310
  msgid "Refreshing the facts of a discovered host"
287
311
  msgstr ""
288
312
 
313
+ msgid "Reported in the last 7 days"
314
+ msgstr ""
315
+
289
316
  msgid "Rule disabled"
290
317
  msgstr ""
291
318
 
@@ -313,15 +340,10 @@ msgstr ""
313
340
  msgid "Show a discovery rule"
314
341
  msgstr ""
315
342
 
316
- msgid "Show fact as an extra column in the discovered hosts list"
317
- msgstr ""
318
-
319
343
  msgid "Something went wrong while selecting hosts - %s"
320
344
  msgstr "選擇主機時發生了錯誤 - %s"
321
345
 
322
- msgid ""
323
- "Specify target hostname template pattern in the same syntax as in "
324
- "Provisioning Templates (ERB)."
346
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
325
347
  msgstr ""
326
348
 
327
349
  msgid "Submit"
@@ -336,9 +358,6 @@ msgstr ""
336
358
  msgid "Template"
337
359
  msgstr "範本"
338
360
 
339
- msgid "The default fact name to use for the MAC of the system"
340
- msgstr "系統之 MAC 所使用的預設詳情名稱"
341
-
342
361
  msgid "The default location to place discovered hosts in"
343
362
  msgstr "放置已發現之主機的預設位置"
344
363
 
@@ -351,17 +370,22 @@ msgstr ""
351
370
  msgid "The following hosts were not deleted: %s"
352
371
  msgstr "下列主機尚未刪除:%s"
353
372
 
354
- msgid ""
355
- "This might take a while, as all hosts, facts and reports will be destroyed "
356
- "as well"
373
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
357
374
  msgstr "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
358
375
 
359
- msgid "Total pool size"
360
- msgid_plural "Total pool size"
361
- msgstr[0] ""
376
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
377
+ msgstr ""
362
378
 
363
- msgid ""
364
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
379
+ msgid "Unable to assign subnet, primary interface is missing IP address"
380
+ msgstr ""
381
+
382
+ msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
383
+ msgstr ""
384
+
385
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
386
+ msgstr ""
387
+
388
+ msgid "Unable to reboot %{name}: %{msg}"
365
389
  msgstr ""
366
390
 
367
391
  msgid "Update a rule"
@@ -376,19 +400,25 @@ msgstr "值"
376
400
  msgid "Warning"
377
401
  msgstr "警告"
378
402
 
379
- msgid ""
380
- "When creating hostname patterns, make sure the resulting host names are "
381
- "unique. Hostnames must not start with numbers. A good approach is to use "
382
- "unique information provided by facter (MAC address, BIOS or serial ID)."
403
+ msgid "When creating hostname patterns, make sure the resulting host names are unique. Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
383
404
  msgstr ""
384
405
 
385
406
  msgid "can't contain white spaces."
386
407
  msgstr ""
387
408
 
409
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
410
+ msgstr ""
411
+
412
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
413
+ msgstr ""
414
+
388
415
  msgid "filter results"
389
416
  msgstr ""
390
417
 
391
- msgid "hash containing facts for the host"
418
+ msgid "flag is used for temporary shutdown of rules"
419
+ msgstr ""
420
+
421
+ 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)"
392
422
  msgstr ""
393
423
 
394
424
  msgid "items selected. Uncheck to Clear"
@@ -409,10 +439,26 @@ msgstr ""
409
439
  msgid "paginate results"
410
440
  msgstr ""
411
441
 
412
- msgid ""
413
- "required if value is not inherited from host group or default password in "
414
- "settings"
442
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
443
+ msgstr ""
444
+
445
+ msgid "query to match discovered hosts for the particular rule"
446
+ msgstr ""
447
+
448
+ msgid "represents rule name shown to the users"
449
+ msgstr ""
450
+
451
+ msgid "required if value is not inherited from host group or default password in settings"
415
452
  msgstr ""
416
453
 
417
454
  msgid "sort results"
418
455
  msgstr ""
456
+
457
+ msgid "the hostgroup that is used to auto provision a host"
458
+ msgstr ""
459
+
460
+ #~ msgid "Invalid facts: hash does not contain the required fact '%s'"
461
+ #~ msgstr "詳情無效:雜湊未包含必要的詳情「%s」"
462
+
463
+ #~ msgid "The default fact name to use for the MAC of the system"
464
+ #~ msgstr "系統之 MAC 所使用的預設詳情名稱"