foreman_discovery 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +41 -51
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +20 -23
  4. data/app/controllers/discovered_hosts_controller.rb +50 -46
  5. data/app/helpers/concerns/foreman_discovery/settings_helper_extensions.rb +34 -0
  6. data/app/helpers/discovery_rules_helper.rb +5 -6
  7. data/app/mailers/discovered_mailer.rb +19 -0
  8. data/app/models/discovery_rule.rb +3 -3
  9. data/app/models/host/discovered.rb +33 -11
  10. data/app/models/host/managed_extensions.rb +10 -0
  11. data/app/models/hostgroup_extensions.rb +1 -1
  12. data/app/models/setting/discovered.rb +17 -11
  13. data/app/services/foreman_discovery/fact_parser.rb +16 -0
  14. data/app/services/foreman_discovery/host_converter.rb +0 -4
  15. data/app/services/foreman_discovery/node_api/power.rb +3 -3
  16. data/app/views/discovered_hosts/_discovered_host.html.erb +4 -2
  17. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  18. data/app/views/discovered_mailer/_discovered_host.html.erb +10 -0
  19. data/app/views/discovered_mailer/discovered_summary.html.erb +35 -0
  20. data/app/views/discovered_mailer/discovered_summary.text.erb +24 -0
  21. data/config/routes.rb +3 -3
  22. data/db/seeds.d/70_discovery_mail_notification.rb +9 -0
  23. data/lib/foreman_discovery/engine.rb +12 -9
  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 +780 -0
  27. data/locale/ca/foreman_discovery.po +358 -261
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +774 -0
  30. data/locale/de/foreman_discovery.po +418 -311
  31. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en_GB/foreman_discovery.edit.po +779 -0
  33. data/locale/en_GB/foreman_discovery.po +423 -313
  34. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/es/foreman_discovery.edit.po +781 -0
  36. data/locale/es/foreman_discovery.po +425 -313
  37. data/locale/foreman_discovery.pot +496 -159
  38. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/fr/foreman_discovery.edit.po +778 -0
  40. data/locale/fr/foreman_discovery.po +458 -322
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.edit.po +757 -0
  43. data/locale/gl/foreman_discovery.po +306 -215
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.edit.po +771 -0
  46. data/locale/it/foreman_discovery.po +411 -301
  47. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ja/foreman_discovery.edit.po +770 -0
  49. data/locale/ja/foreman_discovery.po +395 -300
  50. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ko/foreman_discovery.edit.po +768 -0
  52. data/locale/ko/foreman_discovery.po +393 -299
  53. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/pt_BR/foreman_discovery.edit.po +780 -0
  55. data/locale/pt_BR/foreman_discovery.po +438 -309
  56. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ru/foreman_discovery.edit.po +775 -0
  58. data/locale/ru/foreman_discovery.po +413 -308
  59. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/sv_SE/foreman_discovery.edit.po +766 -0
  61. data/locale/sv_SE/foreman_discovery.po +321 -232
  62. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_CN/foreman_discovery.edit.po +769 -0
  64. data/locale/zh_CN/foreman_discovery.po +393 -302
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.edit.po +769 -0
  67. data/locale/zh_TW/foreman_discovery.po +395 -302
  68. data/test/functional/api/v2/discovered_hosts_controller_test.rb +8 -0
  69. data/test/functional/api/v2/discovery_rules_controller_test.rb +9 -0
  70. data/test/functional/discovered_hosts_controller_test.rb +26 -17
  71. data/test/functional/discovery_rules_controller_test.rb +9 -8
  72. data/test/test_helper.rb +0 -4
  73. data/test/test_helper_discovery.rb +24 -0
  74. data/test/unit/discovered_extensions_test.rb +31 -0
  75. data/test/unit/discovered_mailer_test.rb +44 -0
  76. data/test/unit/discovery_attribute_set_test.rb +12 -0
  77. data/test/unit/discovery_rule_test.rb +20 -0
  78. data/test/unit/{puppet_fact_parser_extensions_test.rb → fact_parser_test.rb} +3 -16
  79. data/test/unit/host_discovered_test.rb +56 -11
  80. metadata +29 -5
  81. data/app/lib/puppet_fact_parser_extensions.rb +0 -29
@@ -0,0 +1,766 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) 2015 Foreman developers
3
+ # This file is distributed under the same license as the foreman_discovery package.
4
+ #
5
+ # Translators:
6
+ # Dominic Cleal <dominic@cleal.org>, 2014
7
+ # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
8
+ # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: Foreman\n"
12
+ "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
13
+ "PO-Revision-Date: 2015-10-15 09:16+0000\n"
14
+ "Last-Translator: Lukáš Zapletal\n"
15
+ "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
16
+ "uage/sv_SE/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: sv_SE\n"
21
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
+
23
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:15
24
+ msgid "List all discovered hosts"
25
+ msgstr ""
26
+
27
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16 ../app/controllers/api/v2/discovery_rules_controller.rb:14
28
+ msgid "filter results"
29
+ msgstr "filtrera resultat"
30
+
31
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
32
+ msgid "sort results"
33
+ msgstr ""
34
+
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
36
+ msgid "paginate results"
37
+ msgstr ""
38
+
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
40
+ msgid "number of entries per request"
41
+ msgstr ""
42
+
43
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:25
44
+ msgid "Show a discovered host"
45
+ msgstr ""
46
+
47
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:39
48
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
49
+ msgstr ""
50
+
51
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:47
52
+ msgid "Provision a discovered host"
53
+ msgstr ""
54
+
55
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:52
56
+ msgid "not required if using a subnet with DHCP proxy"
57
+ msgstr ""
58
+
59
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
60
+ msgid "not required if it's a virtual machine"
61
+ msgstr ""
62
+
63
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
64
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
65
+ msgstr ""
66
+
67
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
68
+ msgid "required if value is not inherited from host group or default password in settings"
69
+ msgstr ""
70
+
71
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
72
+ msgid "Delete a discovered host"
73
+ msgstr ""
74
+
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:92
76
+ msgid "Upload facts for a host, creating the host if required"
77
+ msgstr ""
78
+
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
80
+ 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)"
81
+ msgstr ""
82
+
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:112
84
+ msgid "Execute rules against a discovered host"
85
+ msgstr ""
86
+
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118 ../app/controllers/discovered_hosts_controller.rb:147
88
+ msgid "Host %{host} was provisioned with rule %{rule}"
89
+ msgstr ""
90
+
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:121
92
+ msgid "Unable to provision %{host}: %{errors}"
93
+ msgstr ""
94
+
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:127 ../app/controllers/discovered_hosts_controller.rb:154
96
+ msgid "No rule found for host %s"
97
+ msgstr ""
98
+
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:134
100
+ msgid "Execute rules against all currently discovered hosts"
101
+ msgstr ""
102
+
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138 ../app/controllers/discovered_hosts_controller.rb:160
104
+ msgid "Errors during auto provisioning: %s"
105
+ msgstr ""
106
+
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:141 ../app/controllers/discovered_hosts_controller.rb:163
108
+ msgid "No discovered hosts to provision"
109
+ msgstr ""
110
+
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:163
112
+ msgid "%s discovered hosts were provisioned"
113
+ msgstr ""
114
+
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:174
116
+ msgid "Refreshing the facts of a discovered host"
117
+ msgstr ""
118
+
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:183
120
+ msgid "Rebooting a discovered host"
121
+ msgstr ""
122
+
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
124
+ msgid "Rebooting all discovered hosts"
125
+ msgstr ""
126
+
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:203 ../app/controllers/discovered_hosts_controller.rb:105
128
+ msgid "Discovered hosts are rebooting now"
129
+ msgstr ""
130
+
131
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:13
132
+ msgid "List all discovery rules"
133
+ msgstr ""
134
+
135
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:23
136
+ msgid "Show a discovery rule"
137
+ msgstr ""
138
+
139
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:31
140
+ msgid "represents rule name shown to the users"
141
+ msgstr ""
142
+
143
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
144
+ msgid "query to match discovered hosts for the particular rule"
145
+ msgstr ""
146
+
147
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
148
+ msgid "the hostgroup that is used to auto provision a host"
149
+ msgstr ""
150
+
151
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
152
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
153
+ msgstr ""
154
+
155
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
156
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
157
+ msgstr ""
158
+
159
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
160
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
161
+ msgstr ""
162
+
163
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
164
+ msgid "flag is used for temporary shutdown of rules"
165
+ msgstr ""
166
+
167
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:41
168
+ msgid "Create a discovery rule"
169
+ msgstr ""
170
+
171
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:49
172
+ msgid "Update a rule"
173
+ msgstr ""
174
+
175
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:57
176
+ msgid "Delete a rule"
177
+ msgstr ""
178
+
179
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:6
180
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
181
+ msgstr ""
182
+
183
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:47
184
+ msgid "No hostgroup associated with rule '%s'"
185
+ msgstr ""
186
+
187
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:63
188
+ msgid "Errors during reboot: %s"
189
+ msgstr ""
190
+
191
+ #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:81
192
+ msgid "No discovered hosts to reboot"
193
+ msgstr ""
194
+
195
+ #: ../app/controllers/discovered_hosts_controller.rb:73
196
+ msgid "Facts refreshed for %s"
197
+ msgstr "Fakta uppdaterade för %s"
198
+
199
+ #: ../app/controllers/discovered_hosts_controller.rb:75
200
+ msgid "Failed to refresh facts for %s"
201
+ msgstr "Misslyckades med att uppdatera fakta för %s"
202
+
203
+ #: ../app/controllers/discovered_hosts_controller.rb:78
204
+ msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
205
+ msgstr ""
206
+
207
+ #: ../app/controllers/discovered_hosts_controller.rb:85
208
+ msgid "Host of type %s can not be rebooted"
209
+ msgstr ""
210
+
211
+ #: ../app/controllers/discovered_hosts_controller.rb:89
212
+ msgid "Rebooting host %s"
213
+ msgstr ""
214
+
215
+ #: ../app/controllers/discovered_hosts_controller.rb:91
216
+ msgid "Failed to reboot host %s"
217
+ msgstr ""
218
+
219
+ #: ../app/controllers/discovered_hosts_controller.rb:94
220
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
221
+ msgstr ""
222
+
223
+ #: ../app/controllers/discovered_hosts_controller.rb:108
224
+ msgid "Failed to reboot hosts with error %s"
225
+ msgstr ""
226
+
227
+ #: ../app/controllers/discovered_hosts_controller.rb:122
228
+ msgid "Destroyed selected hosts"
229
+ msgstr "Förstör markerade värdar"
230
+
231
+ #: ../app/controllers/discovered_hosts_controller.rb:124
232
+ msgid "The following hosts were not deleted: %s"
233
+ msgstr "Följande värdar raderades inte: %s"
234
+
235
+ #: ../app/controllers/discovered_hosts_controller.rb:151
236
+ msgid "Failed to auto provision host %s: %s"
237
+ msgstr ""
238
+
239
+ #: ../app/controllers/discovered_hosts_controller.rb:179
240
+ msgid "Discovered hosts are provisioning now"
241
+ msgstr ""
242
+
243
+ #: ../app/controllers/discovered_hosts_controller.rb:267
244
+ msgid "No hosts were found with that id or name"
245
+ msgstr "Inga värdar med det idt eller namnet hittades"
246
+
247
+ #: ../app/controllers/discovered_hosts_controller.rb:271
248
+ msgid "No hosts selected"
249
+ msgstr "Inga värdar markerade"
250
+
251
+ #: ../app/controllers/discovered_hosts_controller.rb:277
252
+ msgid "Something went wrong while selecting hosts - %s"
253
+ msgstr "Något blev fel vid markering av värdar - %s"
254
+
255
+ #: ../app/controllers/discovery_rules_controller.rb:66
256
+ msgid "Rule disabled"
257
+ msgstr ""
258
+
259
+ #: ../app/controllers/discovery_rules_controller.rb:66
260
+ msgid "Rule enabled"
261
+ msgstr ""
262
+
263
+ #: ../app/helpers/discovered_hosts_helper.rb:11
264
+ msgid "%s ago"
265
+ msgstr "%s sedan"
266
+
267
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
268
+ msgid "Provision"
269
+ msgstr "Provisionera"
270
+
271
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
272
+ msgid "Auto Provision"
273
+ msgstr ""
274
+
275
+ #: ../app/helpers/discovered_hosts_helper.rb:17 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:44
276
+ msgid "Refresh facts"
277
+ msgstr "Uppdatera fakta"
278
+
279
+ #: ../app/helpers/discovered_hosts_helper.rb:18 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:45
280
+ msgid "Reboot"
281
+ msgstr ""
282
+
283
+ #: ../app/helpers/discovered_hosts_helper.rb:21
284
+ msgid "Back"
285
+ msgstr ""
286
+
287
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/helpers/discovered_hosts_helper.rb:46
288
+ msgid "Select Action"
289
+ msgstr "Välj Åtgärd"
290
+
291
+ #: ../app/helpers/discovered_hosts_helper.rb:30
292
+ msgid "Expand All"
293
+ msgstr ""
294
+
295
+ #: ../app/helpers/discovered_hosts_helper.rb:35
296
+ msgid "Delete"
297
+ msgstr "Radera"
298
+
299
+ #: ../app/helpers/discovered_hosts_helper.rb:36
300
+ msgid "Are you sure?"
301
+ msgstr "Är du säker?"
302
+
303
+ #: ../app/helpers/discovered_hosts_helper.rb:42
304
+ msgid "Delete hosts"
305
+ msgstr "Radera värdar"
306
+
307
+ #: ../app/helpers/discovered_hosts_helper.rb:43
308
+ msgid "Assign Organization"
309
+ msgstr "Tilldela Organisation"
310
+
311
+ #: ../app/helpers/discovered_hosts_helper.rb:44
312
+ msgid "Assign Location"
313
+ msgstr "Tilldela Plats"
314
+
315
+ #: ../app/helpers/discovered_hosts_helper.rb:48
316
+ msgid "%s - The following hosts are about to be changed"
317
+ msgstr "%s - Följande värdar kommer att ändras"
318
+
319
+ #: ../app/helpers/discovered_hosts_helper.rb:57
320
+ msgid "N/A"
321
+ msgstr "N/A"
322
+
323
+ #: ../app/helpers/discovered_hosts_helper.rb:69
324
+ msgid "New in the last 24 hours"
325
+ msgstr ""
326
+
327
+ #: ../app/helpers/discovered_hosts_helper.rb:73
328
+ msgid "Not reported in more than 7 days"
329
+ msgstr ""
330
+
331
+ #: ../app/helpers/discovered_hosts_helper.rb:77
332
+ msgid "Reported in the last 7 days"
333
+ msgstr ""
334
+
335
+ #: ../app/helpers/discovery_rules_helper.rb:26
336
+ msgid "Discovered Hosts"
337
+ msgstr ""
338
+
339
+ #: ../app/helpers/discovery_rules_helper.rb:27
340
+ msgid "Associated Hosts"
341
+ msgstr ""
342
+
343
+ #: ../app/helpers/discovery_rules_helper.rb:29
344
+ msgid "Disable rule '%s'?"
345
+ msgstr ""
346
+
347
+ #: ../app/helpers/discovery_rules_helper.rb:29
348
+ msgid "Disable"
349
+ msgstr ""
350
+
351
+ #: ../app/helpers/discovery_rules_helper.rb:31
352
+ msgid "Enable"
353
+ msgstr ""
354
+
355
+ #: ../app/helpers/discovery_rules_helper.rb:31
356
+ msgid "Enable rule '%s'?"
357
+ msgstr ""
358
+
359
+ #: ../app/helpers/discovery_rules_helper.rb:33
360
+ msgid "Delete rule '%s'?"
361
+ msgstr ""
362
+
363
+ #: ../app/mailers/discovered_mailer.rb:4
364
+ msgid "Must specify a user with email enabled"
365
+ msgstr ""
366
+
367
+ #: ../app/mailers/discovered_mailer.rb:15
368
+ msgid "Discovered hosts summary"
369
+ msgstr ""
370
+
371
+ #: ../app/models/discovery_rule.rb:11
372
+ msgid "can't contain white spaces."
373
+ msgstr ""
374
+
375
+ #: ../app/models/discovery_rule.rb:13
376
+ msgid "must start with a letter or ERB."
377
+ msgstr ""
378
+
379
+ #: ../app/models/discovery_rule.rb:49
380
+ msgid "Host group organization %s must also be associated to the discovery rule"
381
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
382
+ msgstr[0] ""
383
+ msgstr[1] ""
384
+
385
+ #: ../app/models/discovery_rule.rb:55
386
+ msgid "Host group location %s must also be associated to the discovery rule"
387
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
388
+ msgstr[0] ""
389
+ msgstr[1] ""
390
+
391
+ #: ../app/models/host/discovered.rb:34
392
+ msgid "Invalid facts, must be a Hash"
393
+ msgstr ""
394
+
395
+ #: ../app/models/host/discovered.rb:39
396
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
397
+ msgstr ""
398
+
399
+ #: ../app/models/host/discovered.rb:46
400
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
401
+ msgstr ""
402
+
403
+ #: ../app/models/host/discovered.rb:107
404
+ msgid "Unable to assign subnet, primary interface is missing IP address"
405
+ msgstr ""
406
+
407
+ #: ../app/models/host/discovered.rb:149
408
+ msgid "Could not get facts from proxy %{url}: %{error}"
409
+ msgstr ""
410
+
411
+ #: ../app/models/host/discovered.rb:165
412
+ msgid "Unable to reboot %{name} via %{url}: %{msg}"
413
+ msgstr ""
414
+
415
+ #: ../app/models/host/discovered.rb:173
416
+ msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
417
+ msgstr ""
418
+
419
+ #: ../app/models/host/discovered.rb:192
420
+ msgid "Invalid hostname: Could not normalize the hostname"
421
+ msgstr ""
422
+
423
+ #: ../app/models/host/managed_extensions.rb:24
424
+ msgid "Reloading kernel on %s"
425
+ msgstr ""
426
+
427
+ #: ../app/models/host/managed_extensions.rb:26
428
+ msgid "Rebooting %s"
429
+ msgstr "Startar om %s"
430
+
431
+ #: ../app/models/host/managed_extensions.rb:45
432
+ msgid "Operating system not set for host/hostgroup"
433
+ msgstr ""
434
+
435
+ #: ../app/models/host/managed_extensions.rb:47
436
+ msgid "Medium not set for host/hostgroup"
437
+ msgstr ""
438
+
439
+ #: ../app/models/host/managed_extensions.rb:54
440
+ msgid "Kexec template not associated with operating system"
441
+ msgstr ""
442
+
443
+ #: ../app/models/setting/discovered.rb:19
444
+ msgid "Fact name to use for primary interface detection"
445
+ msgstr ""
446
+
447
+ #: ../app/models/setting/discovered.rb:20
448
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
449
+ msgstr ""
450
+
451
+ #: ../app/models/setting/discovered.rb:21
452
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
453
+ msgstr ""
454
+
455
+ #: ../app/models/setting/discovered.rb:22
456
+ msgid "Automatically reboot discovered host during provisioning"
457
+ msgstr ""
458
+
459
+ #: ../app/models/setting/discovered.rb:28
460
+ msgid "The default prefix to use for the host name, must start with a letter"
461
+ msgstr ""
462
+
463
+ #: ../app/models/setting/discovered.rb:34
464
+ msgid "Extra facter columns to show in host lists (separate by comma)"
465
+ msgstr ""
466
+
467
+ #: ../app/models/setting/discovered.rb:41
468
+ msgid "The default location to place discovered hosts in"
469
+ msgstr "Standardplatsen att placera värdar i"
470
+
471
+ #: ../app/models/setting/discovered.rb:48
472
+ msgid "The default organization to place discovered hosts in"
473
+ msgstr "Standardorganisationen att placera hittade värdar i"
474
+
475
+ #: ../app/models/setting/discovered.rb:55
476
+ msgid "Regex to organize facts for highlights section"
477
+ msgstr ""
478
+
479
+ #: ../app/models/setting/discovered.rb:56
480
+ msgid "Regex to organize facts for storage section"
481
+ msgstr ""
482
+
483
+ #: ../app/models/setting/discovered.rb:57
484
+ msgid "Regex to organize facts for software section"
485
+ msgstr ""
486
+
487
+ #: ../app/models/setting/discovered.rb:58
488
+ msgid "Regex to organize facts for hardware section"
489
+ msgstr ""
490
+
491
+ #: ../app/models/setting/discovered.rb:59
492
+ msgid "Regex to organize facts for network section"
493
+ msgstr ""
494
+
495
+ #: ../app/models/setting/discovered.rb:60
496
+ msgid "Regex to organize facts for ipmi section"
497
+ msgstr ""
498
+
499
+ #: ../app/services/foreman_discovery/fact_parser.rb:9
500
+ msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
501
+ msgstr ""
502
+
503
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
504
+ msgid "Image API returned HTTP/%{code} with '%{body}"
505
+ msgstr ""
506
+
507
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
508
+ msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
509
+ msgstr ""
510
+
511
+ #: ../app/views/dashboard/_discovery_widget.html.erb:9
512
+ msgid "No discovered hosts available"
513
+ msgstr ""
514
+
515
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:3
516
+ msgid "Host"
517
+ msgstr "Värd"
518
+
519
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
520
+ msgid "Model"
521
+ msgstr "Modell"
522
+
523
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
524
+ msgid "CPUs"
525
+ msgstr "CPUer"
526
+
527
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
528
+ msgid "Memory"
529
+ msgstr "Minne"
530
+
531
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../lib/foreman_discovery/engine.rb:136
532
+ msgid "Discovered hosts"
533
+ msgstr "Hittade värdar"
534
+
535
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
536
+ msgid "items selected. Uncheck to Clear"
537
+ msgstr "poster markerade. Avmarkera för att rensa"
538
+
539
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
540
+ msgid "Select all items in this page"
541
+ msgstr "Markera alla valbara på denna sida"
542
+
543
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
544
+ msgid "Name"
545
+ msgstr "Namn"
546
+
547
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
548
+ msgid "IP Address"
549
+ msgstr "IPadress"
550
+
551
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11 ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
552
+ msgid "Disk count"
553
+ msgstr ""
554
+
555
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12 ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
556
+ msgid "Disks size"
557
+ msgstr ""
558
+
559
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
560
+ msgid "Location"
561
+ msgstr "Lokation"
562
+
563
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
564
+ msgid "Organization"
565
+ msgstr "Organisation"
566
+
567
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:22
568
+ msgid "Subnet"
569
+ msgstr "Subnät"
570
+
571
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:23
572
+ msgid "Last facts upload"
573
+ msgstr "Sista faktauppladdning"
574
+
575
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
576
+ msgid "Delete %s?"
577
+ msgstr "Radera %s?"
578
+
579
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
580
+ msgid "Please Confirm"
581
+ msgstr "Var god, bekräfta"
582
+
583
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:63
584
+ msgid "Cancel"
585
+ msgstr "Avbryt"
586
+
587
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:64
588
+ msgid "Submit"
589
+ msgstr "Sänd"
590
+
591
+ #: ../app/views/discovered_hosts/index.html.erb:2
592
+ msgid "Reboot All"
593
+ msgstr ""
594
+
595
+ #: ../app/views/discovered_hosts/index.html.erb:3
596
+ msgid "Auto Provision All"
597
+ msgstr ""
598
+
599
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:4
600
+ msgid "Warning"
601
+ msgstr "Varning"
602
+
603
+ #: ../app/views/discovered_hosts/multiple_destroy.html.erb:5
604
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
605
+ msgstr "Detta kan dröja då alla värdar, fakta och rapporter också kommer bli förstörda"
606
+
607
+ #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
608
+ msgid "Select location"
609
+ msgstr "Välj lokation"
610
+
611
+ #: ../app/views/discovered_hosts/select_multiple_organization.html.erb:5
612
+ msgid "Select organization"
613
+ msgstr "Välj organisation"
614
+
615
+ #: ../app/views/discovered_hosts/show.html.erb:1
616
+ msgid "Discovered host: %s"
617
+ msgstr "Hittade värdar: %s"
618
+
619
+ #: ../app/views/discovered_hosts/show.html.erb:32
620
+ msgid "Identifier"
621
+ msgstr ""
622
+
623
+ #: ../app/views/discovered_hosts/show.html.erb:33
624
+ msgid "MAC address"
625
+ msgstr ""
626
+
627
+ #: ../app/views/discovered_hosts/show.html.erb:34
628
+ msgid "IP address"
629
+ msgstr ""
630
+
631
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
632
+ msgid "Summary report for discovered hosts from Foreman"
633
+ msgstr ""
634
+
635
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:9
636
+ msgid "<b>Foreman</b> Discovered hosts summary"
637
+ msgstr ""
638
+
639
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
640
+ msgid "Summary from %{time} ago to %{now}"
641
+ msgstr ""
642
+
643
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
644
+ msgid "Discovered hosts from Foreman server at %{foreman_url}"
645
+ msgstr ""
646
+
647
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:31
648
+ msgid "No discovered hosts for the selected period"
649
+ msgstr ""
650
+
651
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:1
652
+ msgid "Foreman discovered hosts summary"
653
+ msgstr ""
654
+
655
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:21
656
+ msgid "No new discovered hosts for this period"
657
+ msgstr ""
658
+
659
+ #: ../app/views/discovery_rules/_form.html.erb:5
660
+ msgid "Primary"
661
+ msgstr ""
662
+
663
+ #: ../app/views/discovery_rules/_form.html.erb:7
664
+ msgid "Locations"
665
+ msgstr ""
666
+
667
+ #: ../app/views/discovery_rules/_form.html.erb:10
668
+ msgid "Organizations"
669
+ msgstr ""
670
+
671
+ #: ../app/views/discovery_rules/_form.html.erb:22
672
+ msgid "Target host group for this rule with all properties set"
673
+ msgstr ""
674
+
675
+ #: ../app/views/discovery_rules/_form.html.erb:24
676
+ msgid "Template"
677
+ msgstr "Mall"
678
+
679
+ #: ../app/views/discovery_rules/_form.html.erb:26
680
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
681
+ msgstr ""
682
+
683
+ #: ../app/views/discovery_rules/_form.html.erb:29
684
+ 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:"
685
+ msgstr ""
686
+
687
+ #: ../app/views/discovery_rules/_form.html.erb:42
688
+ 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)."
689
+ msgstr ""
690
+
691
+ #: ../app/views/discovery_rules/_form.html.erb:43
692
+ msgid "Hostname for provisioned hosts"
693
+ msgstr ""
694
+
695
+ #: ../app/views/discovery_rules/_form.html.erb:44
696
+ msgid "Hosts limit"
697
+ msgstr ""
698
+
699
+ #: ../app/views/discovery_rules/_form.html.erb:44
700
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
701
+ msgstr ""
702
+
703
+ #: ../app/views/discovery_rules/_form.html.erb:45
704
+ msgid "Rule priority (lower integer means higher priority)"
705
+ msgstr ""
706
+
707
+ #: ../app/views/discovery_rules/edit.html.erb:1
708
+ msgid "Edit Discovery Rule"
709
+ msgstr ""
710
+
711
+ #: ../app/views/discovery_rules/index.html.erb:1
712
+ msgid "Discovery Rules"
713
+ msgstr ""
714
+
715
+ #: ../app/views/discovery_rules/index.html.erb:2
716
+ msgid "New Rule"
717
+ msgstr ""
718
+
719
+ #: ../app/views/discovery_rules/index.html.erb:6
720
+ msgid "DiscoveryRule|Name"
721
+ msgstr ""
722
+
723
+ #: ../app/views/discovery_rules/index.html.erb:7
724
+ msgid "DiscoveryRule|Priority"
725
+ msgstr ""
726
+
727
+ #: ../app/views/discovery_rules/index.html.erb:8
728
+ msgid "DiscoveryRule|Query"
729
+ msgstr ""
730
+
731
+ #: ../app/views/discovery_rules/index.html.erb:9
732
+ msgid "Host group"
733
+ msgstr "Värdgrupp"
734
+
735
+ #: ../app/views/discovery_rules/index.html.erb:10
736
+ msgid "Hosts/limit"
737
+ msgstr ""
738
+
739
+ #: ../app/views/discovery_rules/index.html.erb:11
740
+ msgid "DiscoveryRule|Enabled"
741
+ msgstr ""
742
+
743
+ #: ../app/views/discovery_rules/new.html.erb:1
744
+ msgid "New Discovery Rule"
745
+ msgstr ""
746
+
747
+ #: ../db/seeds.d/70_discovery_mail_notification.rb:3
748
+ msgid "A summary of discovered hosts"
749
+ msgstr ""
750
+
751
+ #: ../lib/foreman_discovery/engine.rb:141
752
+ msgid "Discovery rules"
753
+ msgstr ""
754
+
755
+ #: ../lib/foreman_discovery/engine.rb:146
756
+ msgid "Discovery widget"
757
+ msgstr ""
758
+
759
+ #~ msgid "Fact"
760
+ #~ msgstr "Fakta"
761
+
762
+ #~ msgid "Facts discovered on this host"
763
+ #~ msgstr "Fakta hittade för denna värd"
764
+
765
+ #~ msgid "Value"
766
+ #~ msgstr "Värde"