foreman_discovery 5.0.0 → 5.0.1

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