foreman_discovery 15.0.0 → 15.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/discovery_attribute_set.rb +0 -1
- data/app/models/host/discovered.rb +1 -2
- data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +9 -2
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.edit.po +81 -170
- data/locale/ca/foreman_discovery.po +1 -1
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +79 -169
- data/locale/de/foreman_discovery.po +1 -1
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +12 -12
- data/locale/en/foreman_discovery.po +1 -1
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +81 -170
- data/locale/en_GB/foreman_discovery.po +1 -1
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +81 -170
- data/locale/es/foreman_discovery.po +1 -1
- data/locale/foreman_discovery.pot +13 -13
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +79 -169
- data/locale/fr/foreman_discovery.po +1 -1
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +81 -170
- data/locale/gl/foreman_discovery.po +1 -1
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +81 -170
- data/locale/it/foreman_discovery.po +1 -1
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +83 -170
- data/locale/ja/foreman_discovery.po +1 -1
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +81 -169
- data/locale/ko/foreman_discovery.po +1 -1
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +81 -170
- data/locale/pt_BR/foreman_discovery.po +1 -1
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +84 -171
- data/locale/ru/foreman_discovery.po +1 -1
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +81 -170
- data/locale/sv_SE/foreman_discovery.po +1 -1
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +83 -170
- data/locale/zh_CN/foreman_discovery.po +1 -1
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +83 -170
- data/locale/zh_TW/foreman_discovery.po +1 -1
- data/test/functional/discovered_hosts_controller_test.rb +1 -1
- data/test/unit/discovery_attribute_set_test.rb +12 -8
- data/test/unit/managed_extensions_test.rb +2 -2
- metadata +29 -34
- data/test/facts/asswweb061.json +0 -2967
- data/test/facts/qemu_noip.json +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6616fcb141c9b34f56d2878914d9aa3fa32d6338b4a665db8264c5b265c352fb
|
4
|
+
data.tar.gz: d4e1f3143cf169b12af2dd77210c248d86722125dfa1b3aec0872d6991bf0586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40b39fc7f5de86598c4b401eaac38a21ce0694f6aaf955e7a1263605ac27177089e64c06ef9c6a3e9157e63c8eae6ee1d4185c77fe1968084b5a005b56837ce0
|
7
|
+
data.tar.gz: 6673f071cab3e4380454d86b6c5697825afd23ffeee63e0baaa0be30ee271b34c491782dbfe6034d8c3935a5c70590c7a1c82d37cb8cbb989b4fc71ae4157030
|
@@ -3,5 +3,4 @@ class DiscoveryAttributeSet < ApplicationRecord
|
|
3
3
|
|
4
4
|
validates :cpu_count, :presence => true, :numericality => {:greater_than_or_equal_to => 0}
|
5
5
|
validates :memory, :presence => true, :numericality => {:greater_than_or_equal_to => 0}
|
6
|
-
validates :host, :presence => true
|
7
6
|
end
|
@@ -9,8 +9,7 @@ class Host::Discovered < ::Host::Base
|
|
9
9
|
include ::Hostext::OperatingSystem
|
10
10
|
|
11
11
|
has_one :discovery_attribute_set, :foreign_key => :host_id, :dependent => :destroy
|
12
|
-
|
13
|
-
validates :discovery_attribute_set, :presence => true
|
12
|
+
validates_associated :discovery_attribute_set
|
14
13
|
|
15
14
|
delegate :memory, :cpu_count, :disk_count, :disks_size, :to => :discovery_attribute_set, :allow_nil => true
|
16
15
|
after_destroy :delete_notification
|
@@ -3,8 +3,15 @@ module ForemanDiscovery
|
|
3
3
|
module ImportHooks
|
4
4
|
class DiscoveryAttribute < ImportHook
|
5
5
|
def after_populate
|
6
|
-
|
7
|
-
host.
|
6
|
+
# This should be done in a SQL transaction but we cannot use transactions for
|
7
|
+
# host updates because it utterly breaks our orchestration. We must work with
|
8
|
+
# the fact that discovery_attribute_set can end up being nil and controllers
|
9
|
+
# and views must be aware and render zero/blank values.
|
10
|
+
if host.discovery_attribute_set
|
11
|
+
host.discovery_attribute_set.update(import_from_facts)
|
12
|
+
else
|
13
|
+
host.build_discovery_attribute_set(import_from_facts)
|
14
|
+
end
|
8
15
|
end
|
9
16
|
|
10
17
|
def import_from_facts
|
Binary file
|
@@ -1,18 +1,19 @@
|
|
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_discovery package.
|
4
|
-
#
|
4
|
+
#
|
5
5
|
# Translators:
|
6
6
|
# Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017
|
7
7
|
# Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_discovery
|
10
|
+
"Project-Id-Version: foreman_discovery 15.0.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
|
-
"POT-Creation-Date: 2019-
|
12
|
+
"POT-Creation-Date: 2019-07-23 17:13+0200\n"
|
13
13
|
"PO-Revision-Date: 2019-04-18 19:36+0000\n"
|
14
14
|
"Last-Translator: Lukáš Zapletal\n"
|
15
|
-
"Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)
|
15
|
+
"Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
|
16
|
+
"\n"
|
16
17
|
"MIME-Version: 1.0\n"
|
17
18
|
"Content-Type: text/plain; charset=UTF-8\n"
|
18
19
|
"Content-Transfer-Encoding: 8bit\n"
|
@@ -23,23 +24,19 @@ msgstr ""
|
|
23
24
|
msgid "List all discovered hosts"
|
24
25
|
msgstr "Llista tots els amfitrions descoberts"
|
25
26
|
|
26
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
|
27
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:15
|
27
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
|
28
28
|
msgid "filter results"
|
29
29
|
msgstr "filtra els resultats"
|
30
30
|
|
31
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
|
32
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:16
|
31
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
|
33
32
|
msgid "sort results"
|
34
33
|
msgstr "ordena els resultats"
|
35
34
|
|
36
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
|
37
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:17
|
35
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
|
38
36
|
msgid "paginate results"
|
39
37
|
msgstr "pagina els resultats"
|
40
38
|
|
41
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
|
42
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:18
|
39
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
|
43
40
|
msgid "number of entries per request"
|
44
41
|
msgstr "Nombre d'entrades per petició"
|
45
42
|
|
@@ -47,8 +44,7 @@ msgstr "Nombre d'entrades per petició"
|
|
47
44
|
msgid "Show a discovered host"
|
48
45
|
msgstr "Mostra un amfitrió descobert"
|
49
46
|
|
50
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
|
51
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
|
47
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
|
52
48
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
53
49
|
msgstr ""
|
54
50
|
|
@@ -69,14 +65,11 @@ msgid "not required if it's a virtual machine"
|
|
69
65
|
msgstr ""
|
70
66
|
|
71
67
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
|
72
|
-
msgid ""
|
73
|
-
"UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
68
|
+
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
74
69
|
msgstr ""
|
75
70
|
|
76
71
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
|
77
|
-
msgid ""
|
78
|
-
"required if value is not inherited from host group or default password in "
|
79
|
-
"settings"
|
72
|
+
msgid "required if value is not inherited from host group or default password in settings"
|
80
73
|
msgstr ""
|
81
74
|
|
82
75
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
|
@@ -88,18 +81,14 @@ msgid "Upload facts for a host, creating the host if required"
|
|
88
81
|
msgstr "Puja els objectes d'interès per a un amfitrió, creant el nou amfitrió si fos necessari"
|
89
82
|
|
90
83
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
|
91
|
-
msgid ""
|
92
|
-
"hash containing facts for the host with minimum set of facts: "
|
93
|
-
"discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
|
94
|
-
"eth0 (example in case primary interface is named eth0)"
|
84
|
+
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)"
|
95
85
|
msgstr ""
|
96
86
|
|
97
87
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
|
98
88
|
msgid "Execute rules against a discovered host"
|
99
89
|
msgstr ""
|
100
90
|
|
101
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
|
102
|
-
#: ../app/controllers/discovered_hosts_controller.rb:159
|
91
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
|
103
92
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
104
93
|
msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
|
105
94
|
|
@@ -107,8 +96,7 @@ msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
|
|
107
96
|
msgid "Unable to provision %{host}: %{errors}"
|
108
97
|
msgstr "No es pot aprovisionar a %{host}: %{errors}"
|
109
98
|
|
110
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
|
111
|
-
#: ../app/controllers/discovered_hosts_controller.rb:166
|
99
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
|
112
100
|
msgid "No rule found for host %s"
|
113
101
|
msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
|
114
102
|
|
@@ -116,13 +104,11 @@ msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
|
|
116
104
|
msgid "Execute rules against all currently discovered hosts"
|
117
105
|
msgstr "Executa les regles contra tots els amfitrions detectats actualment"
|
118
106
|
|
119
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
|
120
|
-
#: ../app/controllers/discovered_hosts_controller.rb:172
|
107
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
|
121
108
|
msgid "Errors during auto provisioning: %s"
|
122
109
|
msgstr "Erros durant l'auto aprovisionament: %s"
|
123
110
|
|
124
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
|
125
|
-
#: ../app/controllers/discovered_hosts_controller.rb:175
|
111
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
|
126
112
|
msgid "No discovered hosts to provision"
|
127
113
|
msgstr "Sense amfitrions descoberts per aprovisionar"
|
128
114
|
|
@@ -142,8 +128,7 @@ msgstr "S'està reiniciant un amfitrió descobert"
|
|
142
128
|
msgid "Rebooting all discovered hosts"
|
143
129
|
msgstr "S'estan reiniciant tots els amfitrions descoberts"
|
144
130
|
|
145
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
|
146
|
-
#: ../app/controllers/discovered_hosts_controller.rb:128
|
131
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
|
147
132
|
msgid "Discovered hosts are rebooting now"
|
148
133
|
msgstr "Ara s'estan reiniciant els amfitrions descoberts"
|
149
134
|
|
@@ -168,8 +153,7 @@ msgid "the hostgroup that is used to auto provision a host"
|
|
168
153
|
msgstr "el grup d'amfitrions que s'utilitza per a l'auto aprovisionament d'un amfitrió"
|
169
154
|
|
170
155
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:35
|
171
|
-
msgid ""
|
172
|
-
"defines a pattern to assign human-readable hostnames to the matching hosts"
|
156
|
+
msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
|
173
157
|
msgstr ""
|
174
158
|
|
175
159
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:36
|
@@ -177,8 +161,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
|
|
177
161
|
msgstr "permet la limitació del nombre total màxim dels amfitrions aprovisionats per cada regla"
|
178
162
|
|
179
163
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:37
|
180
|
-
msgid ""
|
181
|
-
"puts the rules in order, low numbers go first. Must be greater then zero"
|
164
|
+
msgid "puts the rules in order, low numbers go first. Must be greater then zero"
|
182
165
|
msgstr ""
|
183
166
|
|
184
167
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:38
|
@@ -329,21 +312,15 @@ msgstr "Regla inhabilitada"
|
|
329
312
|
msgid "%s ago"
|
330
313
|
msgstr "fa %s"
|
331
314
|
|
332
|
-
#: ../app/helpers/discovered_hosts_helper.rb:14
|
333
|
-
#: ../app/helpers/discovered_hosts_helper.rb:29
|
334
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
|
315
|
+
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
|
335
316
|
msgid "Auto Provision"
|
336
317
|
msgstr "Auto aprovisiona"
|
337
318
|
|
338
|
-
#: ../app/helpers/discovered_hosts_helper.rb:15
|
339
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
|
319
|
+
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
|
340
320
|
msgid "Refresh facts"
|
341
321
|
msgstr "Refresca els objectes d'interès"
|
342
322
|
|
343
|
-
#: ../app/helpers/discovered_hosts_helper.rb:16
|
344
|
-
#: ../app/helpers/discovered_hosts_helper.rb:30
|
345
|
-
#: ../app/models/setting/discovered.rb:26
|
346
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
|
323
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
|
347
324
|
msgid "Reboot"
|
348
325
|
msgstr "Reinicia"
|
349
326
|
|
@@ -351,13 +328,11 @@ msgstr "Reinicia"
|
|
351
328
|
msgid "Back"
|
352
329
|
msgstr "Enrere"
|
353
330
|
|
354
|
-
#: ../app/helpers/discovered_hosts_helper.rb:21
|
355
|
-
#: ../app/helpers/discovered_hosts_helper.rb:35
|
331
|
+
#: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
|
356
332
|
msgid "Select Action"
|
357
333
|
msgstr "Selecciona l'acció"
|
358
334
|
|
359
|
-
#: ../app/helpers/discovered_hosts_helper.rb:23
|
360
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
|
335
|
+
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
|
361
336
|
msgid "Delete %s?"
|
362
337
|
msgstr "Voleu suprimir %s?"
|
363
338
|
|
@@ -377,8 +352,7 @@ msgstr "Suprimeix"
|
|
377
352
|
msgid "%s - The following hosts are about to be changed"
|
378
353
|
msgstr "%s - Els següents amfitrions estan a punt de ser canviats"
|
379
354
|
|
380
|
-
#: ../app/helpers/discovered_hosts_helper.rb:46
|
381
|
-
#: ../app/views/dashboard/_discovery_widget_host.html.erb:2
|
355
|
+
#: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
|
382
356
|
msgid "N/A"
|
383
357
|
msgstr "N/D"
|
384
358
|
|
@@ -398,12 +372,7 @@ msgstr "Es va informar en els últims 7 dies"
|
|
398
372
|
msgid "Provision"
|
399
373
|
msgstr "Aprovisiona"
|
400
374
|
|
401
|
-
#: ../app/helpers/discovery_rules_helper.rb:26
|
402
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
|
403
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:1
|
404
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:6
|
405
|
-
#: ../lib/foreman_discovery/engine.rb:158
|
406
|
-
#: ../lib/foreman_discovery/engine.rb:173
|
375
|
+
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
|
407
376
|
msgid "Discovered Hosts"
|
408
377
|
msgstr ""
|
409
378
|
|
@@ -452,65 +421,58 @@ msgid "must be present."
|
|
452
421
|
msgstr ""
|
453
422
|
|
454
423
|
#: ../app/models/discovery_rule.rb:52
|
455
|
-
msgid ""
|
456
|
-
"Host group
|
457
|
-
msgid_plural ""
|
458
|
-
"Host group organizations %s must also be associated to the discovery rule"
|
424
|
+
msgid "Host group organization %s must also be associated to the discovery rule"
|
425
|
+
msgid_plural "Host group organizations %s must also be associated to the discovery rule"
|
459
426
|
msgstr[0] ""
|
460
427
|
msgstr[1] ""
|
461
428
|
|
462
429
|
#: ../app/models/discovery_rule.rb:56
|
463
430
|
msgid "Host group location %s must also be associated to the discovery rule"
|
464
|
-
msgid_plural ""
|
465
|
-
"Host group locations %s must also be associated to the discovery rule"
|
431
|
+
msgid_plural "Host group locations %s must also be associated to the discovery rule"
|
466
432
|
msgstr[0] ""
|
467
433
|
msgstr[1] ""
|
468
434
|
|
469
|
-
#: ../app/models/host/discovered.rb:
|
435
|
+
#: ../app/models/host/discovered.rb:40
|
470
436
|
msgid "Fact + prefix"
|
471
437
|
msgstr ""
|
472
438
|
|
473
|
-
#: ../app/models/host/discovered.rb:
|
439
|
+
#: ../app/models/host/discovered.rb:41
|
474
440
|
msgid "Random name"
|
475
441
|
msgstr ""
|
476
442
|
|
477
|
-
#: ../app/models/host/discovered.rb:
|
443
|
+
#: ../app/models/host/discovered.rb:42
|
478
444
|
msgid "MAC-based name"
|
479
445
|
msgstr ""
|
480
446
|
|
481
|
-
#: ../app/models/host/discovered.rb:
|
447
|
+
#: ../app/models/host/discovered.rb:51
|
482
448
|
msgid "Invalid facts, must be a Hash"
|
483
449
|
msgstr "Objectes d'interès no vàlids, han de tenir un Hash"
|
484
450
|
|
485
|
-
#: ../app/models/host/discovered.rb:
|
486
|
-
msgid ""
|
487
|
-
"Expected discovery_fact '%s' is missing, unable to detect primary interface "
|
488
|
-
"and set hostname"
|
451
|
+
#: ../app/models/host/discovered.rb:56
|
452
|
+
msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
|
489
453
|
msgstr ""
|
490
454
|
|
491
|
-
#: ../app/models/host/discovered.rb:
|
492
|
-
msgid ""
|
493
|
-
"Invalid facts: hash does not contain a valid value for any of the facts in "
|
494
|
-
"the discovery_hostname setting: %s"
|
455
|
+
#: ../app/models/host/discovered.rb:69
|
456
|
+
msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
|
495
457
|
msgstr ""
|
496
458
|
|
497
|
-
#: ../app/models/host/discovered.rb:
|
459
|
+
#: ../app/models/host/discovered.rb:95
|
498
460
|
msgid "Facts could not be imported"
|
499
461
|
msgstr ""
|
500
462
|
|
501
|
-
#: ../app/models/host/discovered.rb:
|
463
|
+
#: ../app/models/host/discovered.rb:150
|
502
464
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
503
465
|
msgstr "No s'han pogut obtenir els objectes d'interès del servidor intermediari %{url}: %{error}"
|
504
466
|
|
505
|
-
#: ../app/models/host/discovered.rb:
|
467
|
+
#: ../app/models/host/discovered.rb:158
|
506
468
|
msgid "Unable to reboot %{name} via %{url}: %{msg}"
|
507
469
|
msgstr "No es pot reiniciar %{name} a través de %{url}: %{msg}"
|
508
470
|
|
509
|
-
#: ../app/models/host/discovered.rb:
|
471
|
+
#: ../app/models/host/discovered.rb:166
|
510
472
|
msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
|
511
473
|
msgstr "No es pot realitzar kexec a %{name} a través de %{url}: %{msg}"
|
512
474
|
|
513
|
-
#: ../app/models/host/discovered.rb:
|
475
|
+
#: ../app/models/host/discovered.rb:185
|
514
476
|
msgid "Invalid hostname: Could not normalize the hostname"
|
515
477
|
msgstr ""
|
516
478
|
|
@@ -526,11 +488,11 @@ msgstr "S'està reiniciant %s"
|
|
526
488
|
msgid "Kexec template not associated with operating system"
|
527
489
|
msgstr ""
|
528
490
|
|
529
|
-
#: ../app/models/host/managed_extensions.rb:
|
491
|
+
#: ../app/models/host/managed_extensions.rb:49
|
530
492
|
msgid "Kernel kexec URL is invalid: '%s'"
|
531
493
|
msgstr ""
|
532
494
|
|
533
|
-
#: ../app/models/host/managed_extensions.rb:
|
495
|
+
#: ../app/models/host/managed_extensions.rb:50
|
534
496
|
msgid "Init RAM kexec URL is invalid: '%s'"
|
535
497
|
msgstr ""
|
536
498
|
|
@@ -563,9 +525,7 @@ msgid "Interface fact"
|
|
563
525
|
msgstr ""
|
564
526
|
|
565
527
|
#: ../app/models/setting/discovered.rb:22
|
566
|
-
msgid ""
|
567
|
-
"Automatic bond interface (if another interface is detected on the same VLAN "
|
568
|
-
"via LLDP)"
|
528
|
+
msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
|
569
529
|
msgstr ""
|
570
530
|
|
571
531
|
#: ../app/models/setting/discovered.rb:22
|
@@ -589,9 +549,7 @@ msgid "Hostname facts"
|
|
589
549
|
msgstr ""
|
590
550
|
|
591
551
|
#: ../app/models/setting/discovered.rb:25
|
592
|
-
msgid ""
|
593
|
-
"Automatically provision newly discovered hosts, according to the "
|
594
|
-
"provisioning rules"
|
552
|
+
msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
|
595
553
|
msgstr ""
|
596
554
|
|
597
555
|
#: ../app/models/setting/discovered.rb:25
|
@@ -667,9 +625,7 @@ msgid "IPMI facts"
|
|
667
625
|
msgstr ""
|
668
626
|
|
669
627
|
#: ../app/models/setting/discovered.rb:35
|
670
|
-
msgid ""
|
671
|
-
"Automatically generate PXE configuration to pin a newly discovered host to "
|
672
|
-
"discovery"
|
628
|
+
msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
|
673
629
|
msgstr ""
|
674
630
|
|
675
631
|
#: ../app/models/setting/discovered.rb:35
|
@@ -709,9 +665,7 @@ msgid "Force DNS"
|
|
709
665
|
msgstr ""
|
710
666
|
|
711
667
|
#: ../app/models/setting/discovered.rb:40
|
712
|
-
msgid ""
|
713
|
-
"Do not allow to discover existing managed host matching MAC of a "
|
714
|
-
"provisioning NIC (errors out early)"
|
668
|
+
msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
|
715
669
|
msgstr ""
|
716
670
|
|
717
671
|
#: ../app/models/setting/discovered.rb:40
|
@@ -735,9 +689,7 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
|
|
735
689
|
msgstr ""
|
736
690
|
|
737
691
|
#: ../app/services/foreman_discovery/fact_parser.rb:12
|
738
|
-
msgid ""
|
739
|
-
"Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: "
|
740
|
-
"%{filter}"
|
692
|
+
msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
|
741
693
|
msgstr ""
|
742
694
|
|
743
695
|
#: ../app/services/foreman_discovery/node_api/node_resource.rb:75
|
@@ -756,25 +708,15 @@ msgstr ""
|
|
756
708
|
msgid "Host"
|
757
709
|
msgstr "Amfitrió"
|
758
710
|
|
759
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
|
760
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
|
761
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
|
762
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:18
|
763
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:10
|
711
|
+
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../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
|
764
712
|
msgid "Model"
|
765
713
|
msgstr "Model"
|
766
714
|
|
767
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
|
768
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
|
769
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:20
|
770
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:12
|
715
|
+
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
|
771
716
|
msgid "CPUs"
|
772
717
|
msgstr "Les CPU"
|
773
718
|
|
774
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
|
775
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
|
776
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:21
|
777
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:13
|
719
|
+
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
|
778
720
|
msgid "Memory"
|
779
721
|
msgstr "Memòria"
|
780
722
|
|
@@ -786,67 +728,59 @@ msgstr ""
|
|
786
728
|
msgid "Create Host"
|
787
729
|
msgstr "Crea un amfitrió"
|
788
730
|
|
789
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
731
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
|
790
732
|
msgid "Select all items in this page"
|
791
733
|
msgstr "Selecciona tots els ítems en aquesta pàgina"
|
792
734
|
|
793
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
735
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
|
794
736
|
msgid "items selected. Uncheck to Clear"
|
795
737
|
msgstr "ítems seleccionats. Desmarca per netejar"
|
796
738
|
|
797
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
798
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
|
799
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:17
|
800
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:9
|
739
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5 ../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
|
801
740
|
msgid "Name"
|
802
741
|
msgstr "Nom"
|
803
742
|
|
804
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
805
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:19
|
806
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:11
|
743
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
|
807
744
|
msgid "IP Address"
|
808
745
|
msgstr "Adreça IP"
|
809
746
|
|
810
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
747
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
|
811
748
|
msgid "Disk Count"
|
812
749
|
msgstr ""
|
813
750
|
|
814
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
751
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
|
815
752
|
msgid "Disks Size"
|
816
753
|
msgstr ""
|
817
754
|
|
818
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
819
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
|
755
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
|
820
756
|
msgid "Location"
|
821
757
|
msgstr "Ubicació"
|
822
758
|
|
823
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
824
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
|
759
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
|
825
760
|
msgid "Organization"
|
826
761
|
msgstr "Organització"
|
827
762
|
|
828
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
763
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
|
829
764
|
msgid "Subnet"
|
830
765
|
msgstr "Subxarxa"
|
831
766
|
|
832
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
767
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
|
833
768
|
msgid "Last Facts Upload"
|
834
769
|
msgstr ""
|
835
770
|
|
836
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
837
|
-
#: ../app/views/discovery_rules/index.html.erb:12
|
771
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
|
838
772
|
msgid "Actions"
|
839
773
|
msgstr "Accions"
|
840
774
|
|
841
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
775
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
|
842
776
|
msgid "Please Confirm"
|
843
777
|
msgstr "Si us plau, confirmeu"
|
844
778
|
|
845
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
779
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
|
846
780
|
msgid "Cancel"
|
847
781
|
msgstr "Cancel·la"
|
848
782
|
|
849
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
783
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
|
850
784
|
msgid "Submit"
|
851
785
|
msgstr "Envia"
|
852
786
|
|
@@ -855,9 +789,7 @@ msgid "Provision %s"
|
|
855
789
|
msgstr ""
|
856
790
|
|
857
791
|
#: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
|
858
|
-
msgid ""
|
859
|
-
"This might take a while, as all hosts, facts and reports will be destroyed "
|
860
|
-
"as well"
|
792
|
+
msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
|
861
793
|
msgstr ""
|
862
794
|
|
863
795
|
#: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
|
@@ -901,9 +833,7 @@ msgid "No discovered hosts found in this context."
|
|
901
833
|
msgstr ""
|
902
834
|
|
903
835
|
#: ../app/views/discovered_hosts/welcome.html.erb:8
|
904
|
-
msgid ""
|
905
|
-
"This page shows discovered bare-metal or virtual nodes waiting to be "
|
906
|
-
"provisioned."
|
836
|
+
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
907
837
|
msgstr ""
|
908
838
|
|
909
839
|
#: ../app/views/discovered_hosts/welcome.html.erb:9
|
@@ -918,23 +848,19 @@ msgstr ""
|
|
918
848
|
msgid "<b>Foreman</b> Discovered hosts summary"
|
919
849
|
msgstr ""
|
920
850
|
|
921
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:10
|
922
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:5
|
851
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
|
923
852
|
msgid "Summary from %{time} ago to %{now}"
|
924
853
|
msgstr ""
|
925
854
|
|
926
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:11
|
927
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:3
|
855
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
|
928
856
|
msgid "Discovered hosts from Foreman server at %{foreman_url}"
|
929
857
|
msgstr ""
|
930
858
|
|
931
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:22
|
932
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:14
|
859
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
|
933
860
|
msgid "Disk count"
|
934
861
|
msgstr "Nombre de discs"
|
935
862
|
|
936
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:23
|
937
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:15
|
863
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
|
938
864
|
msgid "Disks size"
|
939
865
|
msgstr "Mida de disc"
|
940
866
|
|
@@ -983,41 +909,30 @@ msgid "Rule priority (lower integer means higher priority)"
|
|
983
909
|
msgstr ""
|
984
910
|
|
985
911
|
#: ../app/views/discovery_rules/_template_inline.erb:2
|
986
|
-
msgid ""
|
987
|
-
"Specify target hostname template pattern in the same syntax as in "
|
988
|
-
"Provisioning Templates (ERB)."
|
912
|
+
msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
|
989
913
|
msgstr ""
|
990
914
|
|
991
915
|
#: ../app/views/discovery_rules/_template_inline.erb:4
|
992
|
-
msgid ""
|
993
|
-
"Domain will be appended automatically. A hostname based on MAC address will "
|
994
|
-
"be used when left blank."
|
916
|
+
msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
|
995
917
|
msgstr ""
|
996
918
|
|
997
919
|
#: ../app/views/discovery_rules/_template_inline.erb:5
|
998
|
-
msgid ""
|
999
|
-
"In addition to @host attribute function rand for random integers is "
|
1000
|
-
"available. Examples:"
|
920
|
+
msgid "In addition to @host attribute function rand for random integers is available. Examples:"
|
1001
921
|
msgstr ""
|
1002
922
|
|
1003
923
|
#: ../app/views/discovery_rules/_template_inline.erb:8
|
1004
|
-
msgid ""
|
1005
|
-
"When creating hostname patterns, make sure the resulting host names are "
|
1006
|
-
"unique."
|
924
|
+
msgid "When creating hostname patterns, make sure the resulting host names are unique."
|
1007
925
|
msgstr ""
|
1008
926
|
|
1009
927
|
#: ../app/views/discovery_rules/_template_inline.erb:9
|
1010
|
-
msgid ""
|
1011
|
-
"Hostnames must not start with numbers. A good approach is to use unique "
|
1012
|
-
"information provided by facter (MAC address, BIOS or serial ID)."
|
928
|
+
msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
|
1013
929
|
msgstr ""
|
1014
930
|
|
1015
931
|
#: ../app/views/discovery_rules/edit.html.erb:1
|
1016
932
|
msgid "Edit %s"
|
1017
933
|
msgstr "Edita %s"
|
1018
934
|
|
1019
|
-
#: ../app/views/discovery_rules/index.html.erb:1
|
1020
|
-
#: ../lib/foreman_discovery/engine.rb:163
|
935
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
|
1021
936
|
msgid "Discovery Rules"
|
1022
937
|
msgstr "Regles de descobriment"
|
1023
938
|
|
@@ -1082,13 +997,9 @@ msgid "Discovery Proxy"
|
|
1082
997
|
msgstr ""
|
1083
998
|
|
1084
999
|
#: ../lib/foreman_discovery/engine.rb:189
|
1085
|
-
msgid ""
|
1086
|
-
"Discovery Proxy to use within this subnet for managing connection to "
|
1087
|
-
"discovered hosts"
|
1000
|
+
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1088
1001
|
msgstr ""
|
1089
1002
|
|
1090
1003
|
#: ../lib/foreman_discovery/engine.rb:190
|
1091
|
-
msgid ""
|
1092
|
-
"ID of Discovery Proxy to use within this subnet for managing connection to "
|
1093
|
-
"discovered hosts"
|
1004
|
+
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1094
1005
|
msgstr ""
|