foreman_discovery 16.1.4 → 16.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/discovered_hosts_controller.rb +3 -10
- data/app/models/host/discovered.rb +10 -14
- data/app/models/setting/discovered.rb +3 -1
- data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
- data/app/views/foreman_discovery/debian_kexec.erb +2 -1
- data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
- data/lib/foreman_discovery/engine.rb +1 -1
- 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 +67 -99
- 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 +71 -103
- 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 +65 -97
- 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 +70 -102
- 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 +94 -128
- data/locale/es/foreman_discovery.po +1 -1
- data/locale/foreman_discovery.pot +85 -85
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +102 -134
- 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 +66 -98
- 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 +71 -103
- 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 +107 -137
- 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 +71 -103
- 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 +92 -127
- 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 +71 -103
- 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 +67 -99
- 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 +143 -172
- 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 +71 -103
- data/locale/zh_TW/foreman_discovery.po +1 -1
- data/test/facts/only-ipv6.json +205 -0
- data/test/facts/skylake-ipv6.json +223 -0
- data/test/functional/api/v2/settings_controller_test.rb +2 -2
- data/test/unit/host_discovered_test.rb +0 -16
- metadata +19 -16
- data/test/facts/vmware-facter4-nolegacy.json +0 -402
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: accf12de8ae1253e5023ba98c65da7c3af14aa8da4691fe67dd7f18bc5717518
|
4
|
+
data.tar.gz: 0dd4c83a875917ccf3933679a31a747d8f559e5195415fab619cc0220bcd97c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8fd61670a325106898043ab9533f7512835394a6141139580436e9c8fdd0027ff0aee02c0a53f6d92b5b4535d5bcbcabfb1cd91ddc0fd85ce8a0a54d2cde27e
|
7
|
+
data.tar.gz: 90263e8535e3d338ee335a280ff89dafd188d7e92c8f7becb340bc6ede0884bbf4ee915ad158de546c84058240c7338d1d4a736f3124e8c6c57f935862073f83
|
@@ -102,16 +102,9 @@ module Api
|
|
102
102
|
state = true
|
103
103
|
User.as_anonymous_admin do
|
104
104
|
@discovered_host = Host::Discovered.import_host(facts)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
# discovery SubnetAndTaxonomy import hook and enforce taxnomy manually
|
109
|
-
# in find_discovery_rule method via validate_rule_by_taxonomy.
|
110
|
-
Taxonomy.no_taxonomy_scope do
|
111
|
-
Rails.logger.warn 'Discovered facts import unsuccessful, skipping auto provisioning' unless @discovered_host
|
112
|
-
if Setting['discovery_auto'] && @discovered_host && (rule = find_discovery_rule(@discovered_host))
|
113
|
-
state = perform_auto_provision(@discovered_host, rule)
|
114
|
-
end
|
105
|
+
Rails.logger.warn 'Discovered facts import unsuccessful, skipping auto provisioning' unless @discovered_host
|
106
|
+
if Setting['discovery_auto'] && @discovered_host && (rule = find_discovery_rule(@discovered_host))
|
107
|
+
state = perform_auto_provision(@discovered_host, rule)
|
115
108
|
end
|
116
109
|
end
|
117
110
|
process_response state
|
@@ -44,9 +44,13 @@ class Host::Discovered < ::Host::Base
|
|
44
44
|
|
45
45
|
# Discovery import workflow:
|
46
46
|
# discovered#import_host ->
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
47
|
+
# ForemanDiscovery::HostFactImporter#import_facts ->
|
48
|
+
# ::HostFactImporter#import_facts ->
|
49
|
+
# ::HostFactImporter#parse_facts ->
|
50
|
+
# discovered#populate_fields_from_facts ->
|
51
|
+
# base#populate_fields_from_facts ->
|
52
|
+
# base#set_interfaces ->
|
53
|
+
# discovered#populate_discovery_fields_from_facts
|
50
54
|
def self.import_host facts
|
51
55
|
raise(::Foreman::Exception.new(N_("Invalid facts, must be a Hash"))) unless facts.is_a?(Hash) || facts.is_a?(ActionController::Parameters)
|
52
56
|
|
@@ -92,19 +96,11 @@ class Host::Discovered < ::Host::Base
|
|
92
96
|
|
93
97
|
# and save (interfaces are created via puppet parser extension)
|
94
98
|
host.save(:validate => false) if host.new_record?
|
95
|
-
|
99
|
+
importer = ForemanDiscovery::HostFactImporter.new(host)
|
100
|
+
raise ::Foreman::Exception.new(N_("Facts could not be imported")) unless importer.import_facts(facts)
|
96
101
|
host
|
97
102
|
end
|
98
103
|
|
99
|
-
def import_facts(facts)
|
100
|
-
# Discovered Hosts won't report in via puppet, so we can use that field to
|
101
|
-
# record the last time it sent facts...
|
102
|
-
self.last_report = Time.now
|
103
|
-
# Set the correct facts type for new foreman facts importing code.
|
104
|
-
facts[:_type] = :foreman_discovery
|
105
|
-
super(facts)
|
106
|
-
end
|
107
|
-
|
108
104
|
def setup_clone
|
109
105
|
# Nic::Managed needs this method but Discovered hosts shouldn't
|
110
106
|
# be doing orchestration anyway...
|
@@ -144,7 +140,7 @@ class Host::Discovered < ::Host::Base
|
|
144
140
|
def refresh_facts
|
145
141
|
facts = ::ForemanDiscovery::NodeAPI::Inventory.new(:url => proxy_url(self.ip)).facter
|
146
142
|
self.class.import_host facts
|
147
|
-
import_facts facts
|
143
|
+
::ForemanDiscovery::HostFactImporter.new(self).import_facts facts
|
148
144
|
rescue => e
|
149
145
|
::Foreman::Logging.exception("Unable to get facts from proxy", e)
|
150
146
|
raise ::Foreman::WrappedException.new(e, N_("Could not get facts from proxy %{url}: %{error}"), :url => proxy_url, :error => e)
|
@@ -8,7 +8,9 @@ class Setting::Discovered < ::Setting
|
|
8
8
|
BLANK_ATTRS << 'discovery_facts_hardware'
|
9
9
|
BLANK_ATTRS << 'discovery_facts_network'
|
10
10
|
BLANK_ATTRS << 'discovery_facts_ipmi'
|
11
|
-
|
11
|
+
|
12
|
+
STRING_PRESENCE_ATTRS = ['discovery_hostname', 'discovery_prefix']
|
13
|
+
validates :value, :presence => true, :if => proc { |s| STRING_PRESENCE_ATTRS.include?(s.name) }
|
12
14
|
|
13
15
|
def self.default_settings
|
14
16
|
[
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class ForemanDiscovery::HostFactImporter < ::HostFactImporter
|
2
|
+
def import_facts(facts)
|
3
|
+
# Discovered Hosts won't report in via puppet, so we can use that field to
|
4
|
+
# record the last time it sent facts...
|
5
|
+
host.last_report = Time.now
|
6
|
+
# Set the correct facts type for new foreman facts importing code.
|
7
|
+
facts[:_type] = :foreman_discovery
|
8
|
+
super(facts)
|
9
|
+
end
|
10
|
+
end
|
@@ -12,9 +12,10 @@ environments. The template must generate JSON format with the following items
|
|
12
12
|
"kernel", "initram", "append" and "extra". The kexec command is composed in
|
13
13
|
the following way:
|
14
14
|
|
15
|
-
kexec --force --
|
15
|
+
kexec --force --debug --append=$append --initrd=$initram $extra $kernel
|
16
16
|
|
17
17
|
Please read kexec(8) man page for more information about semantics.
|
18
|
+
Extra options like --reset-vga can be set via "extra" array.
|
18
19
|
-%>
|
19
20
|
<%
|
20
21
|
mac = @host.facts['discovery_bootif']
|
@@ -22,9 +22,10 @@ environments. The template must generate JSON format with the following items
|
|
22
22
|
"kernel", "initram", "append" and "extra". The kexec command is composed in
|
23
23
|
the following way:
|
24
24
|
|
25
|
-
kexec --force --
|
25
|
+
kexec --force --debug --append=$append --initrd=$initram $extra $kernel
|
26
26
|
|
27
27
|
Please read kexec(8) man page for more information about semantics.
|
28
|
+
Extra options like --reset-vga can be set via "extra" array.
|
28
29
|
-%>
|
29
30
|
<%
|
30
31
|
mac = @host.facts['discovery_bootif']
|
@@ -43,7 +43,7 @@ module ForemanDiscovery
|
|
43
43
|
|
44
44
|
initializer 'foreman_discovery.register_plugin', :before => :finisher_hook do |app|
|
45
45
|
Foreman::Plugin.register :foreman_discovery do
|
46
|
-
requires_foreman '>=
|
46
|
+
requires_foreman '>= 2.2'
|
47
47
|
|
48
48
|
# discovered hosts permissions
|
49
49
|
security_block :discovery do
|
Binary file
|
@@ -7,10 +7,10 @@
|
|
7
7
|
# Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_discovery 16.
|
10
|
+
"Project-Id-Version: foreman_discovery 16.1.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
|
-
"PO-Revision-Date: 2020-
|
13
|
-
"Last-Translator:
|
12
|
+
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
13
|
+
"Last-Translator: Transifex Bot <>\n"
|
14
14
|
"Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
|
15
15
|
"\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
@@ -43,7 +43,7 @@ msgstr "Nombre d'entrades per petició"
|
|
43
43
|
msgid "Show a discovered host"
|
44
44
|
msgstr "Mostra un amfitrió descobert"
|
45
45
|
|
46
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
46
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
|
47
47
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
48
48
|
msgstr ""
|
49
49
|
|
@@ -55,10 +55,6 @@ msgstr "Crea un amfitrió descobert per a provar-ho (utilitzeu /facts per crear
|
|
55
55
|
msgid "Provision a discovered host"
|
56
56
|
msgstr "Aprovisiona un amfitrió descobert"
|
57
57
|
|
58
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
|
59
|
-
msgid "required if host is managed and value is not inherited from host group"
|
60
|
-
msgstr ""
|
61
|
-
|
62
58
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
|
63
59
|
msgid "not required if using a subnet with DHCP proxy"
|
64
60
|
msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermediari DHCP"
|
@@ -67,99 +63,71 @@ msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermed
|
|
67
63
|
msgid "not required if it's a virtual machine"
|
68
64
|
msgstr ""
|
69
65
|
|
70
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
71
|
-
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
72
|
-
msgstr ""
|
73
|
-
|
74
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
|
75
|
-
msgid "required if host is managed and custom partition has not been defined"
|
76
|
-
msgstr "es requereix si l'amfitrió està gestionat i no s'ha definit la partició personalitzada"
|
77
|
-
|
78
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
|
79
|
-
msgid "Host's owner type"
|
80
|
-
msgstr "Tipus de propietari de l'amfitrió"
|
81
|
-
|
82
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
|
83
|
-
msgid "Host's parameters (array or indexed hash)"
|
84
|
-
msgstr ""
|
85
|
-
|
86
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
|
87
|
-
msgid "Name of the parameter"
|
88
|
-
msgstr "Nom del paràmetre"
|
89
|
-
|
90
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
|
91
|
-
msgid "Parameter value"
|
92
|
-
msgstr "Valor del paràmetre"
|
93
|
-
|
94
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
|
95
|
-
msgid "Type of value"
|
96
|
-
msgstr ""
|
97
|
-
|
98
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
|
66
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
|
99
67
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
100
68
|
msgstr ""
|
101
69
|
|
102
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
70
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
|
103
71
|
msgid "required if value is not inherited from host group or default password in settings"
|
104
72
|
msgstr ""
|
105
73
|
|
106
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
74
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
|
107
75
|
msgid "Delete a discovered host"
|
108
76
|
msgstr "Suprimeix un amfitrió descobert"
|
109
77
|
|
110
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
78
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
|
111
79
|
msgid "Upload facts for a host, creating the host if required"
|
112
80
|
msgstr "Puja els objectes d'interès per a un amfitrió, creant el nou amfitrió si fos necessari"
|
113
81
|
|
114
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
82
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
|
115
83
|
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)"
|
116
84
|
msgstr ""
|
117
85
|
|
118
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
86
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
|
119
87
|
msgid "Execute rules against a discovered host"
|
120
88
|
msgstr ""
|
121
89
|
|
122
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
90
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:160
|
123
91
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
124
92
|
msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
|
125
93
|
|
126
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
94
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
|
127
95
|
msgid "Unable to provision %{host}: %{errors}"
|
128
96
|
msgstr "No es pot aprovisionar a %{host}: %{errors}"
|
129
97
|
|
130
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
98
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:167
|
131
99
|
msgid "No rule found for host %s"
|
132
100
|
msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
|
133
101
|
|
134
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
102
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
|
135
103
|
msgid "Execute rules against all currently discovered hosts"
|
136
104
|
msgstr "Executa les regles contra tots els amfitrions detectats actualment"
|
137
105
|
|
138
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
106
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:173
|
139
107
|
msgid "Errors during auto provisioning: %s"
|
140
108
|
msgstr "Erros durant l'auto aprovisionament: %s"
|
141
109
|
|
142
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
110
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:176
|
143
111
|
msgid "No discovered hosts to provision"
|
144
112
|
msgstr "Sense amfitrions descoberts per aprovisionar"
|
145
113
|
|
146
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
114
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
|
147
115
|
msgid "%s discovered hosts were provisioned"
|
148
116
|
msgstr "%s amfitrions descoberts van ser aprovisionats"
|
149
117
|
|
150
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
118
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
|
151
119
|
msgid "Refreshing the facts of a discovered host"
|
152
120
|
msgstr "S'estan refrescant els objectes d'interès d'un amfitrió descobert"
|
153
121
|
|
154
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
122
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
|
155
123
|
msgid "Rebooting a discovered host"
|
156
124
|
msgstr "S'està reiniciant un amfitrió descobert"
|
157
125
|
|
158
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
126
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
|
159
127
|
msgid "Rebooting all discovered hosts"
|
160
128
|
msgstr "S'estan reiniciant tots els amfitrions descoberts"
|
161
129
|
|
162
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
130
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:129
|
163
131
|
msgid "Discovered hosts are rebooting now"
|
164
132
|
msgstr "Ara s'estan reiniciant els amfitrions descoberts"
|
165
133
|
|
@@ -331,11 +299,11 @@ msgstr "Cap amfitrió seleccionat"
|
|
331
299
|
msgid "Something went wrong while selecting hosts - %s"
|
332
300
|
msgstr "Alguna cosa va anar malament mentre se seleccionaven els amfitrions - %s"
|
333
301
|
|
334
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
302
|
+
#: ../app/controllers/discovery_rules_controller.rb:68
|
335
303
|
msgid "Rule enabled"
|
336
304
|
msgstr "Regla habilitada"
|
337
305
|
|
338
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
306
|
+
#: ../app/controllers/discovery_rules_controller.rb:68
|
339
307
|
msgid "Rule disabled"
|
340
308
|
msgstr "Regla inhabilitada"
|
341
309
|
|
@@ -343,15 +311,15 @@ msgstr "Regla inhabilitada"
|
|
343
311
|
msgid "%s ago"
|
344
312
|
msgstr "fa %s"
|
345
313
|
|
346
|
-
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
314
|
+
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
|
347
315
|
msgid "Auto Provision"
|
348
316
|
msgstr "Auto aprovisiona"
|
349
317
|
|
350
|
-
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
318
|
+
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
|
351
319
|
msgid "Refresh facts"
|
352
320
|
msgstr "Refresca els objectes d'interès"
|
353
321
|
|
354
|
-
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
322
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
|
355
323
|
msgid "Reboot"
|
356
324
|
msgstr "Reinicia"
|
357
325
|
|
@@ -363,7 +331,7 @@ msgstr "Enrere"
|
|
363
331
|
msgid "Select Action"
|
364
332
|
msgstr "Selecciona l'acció"
|
365
333
|
|
366
|
-
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
334
|
+
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
|
367
335
|
msgid "Delete %s?"
|
368
336
|
msgstr "Voleu suprimir %s?"
|
369
337
|
|
@@ -403,7 +371,7 @@ msgstr "Es va informar en els últims 7 dies"
|
|
403
371
|
msgid "Provision"
|
404
372
|
msgstr "Aprovisiona"
|
405
373
|
|
406
|
-
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:
|
374
|
+
#: ../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
375
|
msgid "Discovered Hosts"
|
408
376
|
msgstr ""
|
409
377
|
|
@@ -753,15 +721,15 @@ msgstr ""
|
|
753
721
|
msgid "Host"
|
754
722
|
msgstr "Amfitrió"
|
755
723
|
|
756
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
724
|
+
#: ../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
|
757
725
|
msgid "Model"
|
758
726
|
msgstr "Model"
|
759
727
|
|
760
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
728
|
+
#: ../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
|
761
729
|
msgid "CPUs"
|
762
730
|
msgstr "Les CPU"
|
763
731
|
|
764
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
732
|
+
#: ../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
|
765
733
|
msgid "Memory"
|
766
734
|
msgstr "Memòria"
|
767
735
|
|
@@ -773,59 +741,59 @@ msgstr ""
|
|
773
741
|
msgid "Create Host"
|
774
742
|
msgstr "Crea un amfitrió"
|
775
743
|
|
776
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
744
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
|
777
745
|
msgid "Select all items in this page"
|
778
746
|
msgstr "Selecciona tots els ítems en aquesta pàgina"
|
779
747
|
|
780
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
748
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
|
781
749
|
msgid "items selected. Uncheck to Clear"
|
782
750
|
msgstr "ítems seleccionats. Desmarca per netejar"
|
783
751
|
|
784
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
752
|
+
#: ../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
|
785
753
|
msgid "Name"
|
786
754
|
msgstr "Nom"
|
787
755
|
|
788
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
756
|
+
#: ../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
|
789
757
|
msgid "IP Address"
|
790
758
|
msgstr "Adreça IP"
|
791
759
|
|
792
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
760
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
|
793
761
|
msgid "Disk Count"
|
794
762
|
msgstr ""
|
795
763
|
|
796
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
764
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
|
797
765
|
msgid "Disks Size"
|
798
766
|
msgstr ""
|
799
767
|
|
800
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
768
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
|
801
769
|
msgid "Location"
|
802
770
|
msgstr "Ubicació"
|
803
771
|
|
804
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
772
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
|
805
773
|
msgid "Organization"
|
806
774
|
msgstr "Organització"
|
807
775
|
|
808
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
776
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
|
809
777
|
msgid "Subnet"
|
810
778
|
msgstr "Subxarxa"
|
811
779
|
|
812
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
780
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
|
813
781
|
msgid "Last Facts Upload"
|
814
782
|
msgstr ""
|
815
783
|
|
816
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
784
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
|
817
785
|
msgid "Actions"
|
818
786
|
msgstr "Accions"
|
819
787
|
|
820
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
788
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
|
821
789
|
msgid "Please Confirm"
|
822
790
|
msgstr "Si us plau, confirmeu"
|
823
791
|
|
824
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
792
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
|
825
793
|
msgid "Cancel"
|
826
794
|
msgstr "Cancel·la"
|
827
795
|
|
828
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
796
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
|
829
797
|
msgid "Submit"
|
830
798
|
msgstr "Envia"
|
831
799
|
|
@@ -873,6 +841,18 @@ msgstr "Adreça IP"
|
|
873
841
|
msgid "Collapse All"
|
874
842
|
msgstr ""
|
875
843
|
|
844
|
+
#: ../app/views/discovered_hosts/welcome.html.erb:7
|
845
|
+
msgid "No discovered hosts found in this context."
|
846
|
+
msgstr ""
|
847
|
+
|
848
|
+
#: ../app/views/discovered_hosts/welcome.html.erb:8
|
849
|
+
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
850
|
+
msgstr ""
|
851
|
+
|
852
|
+
#: ../app/views/discovered_hosts/welcome.html.erb:9
|
853
|
+
msgid "Learn more about this in the documentation."
|
854
|
+
msgstr "Obteniu més informació sobre això a la documentació."
|
855
|
+
|
876
856
|
#: ../app/views/discovered_mailer/discovered_summary.html.erb:6
|
877
857
|
msgid "Summary report for discovered hosts from Foreman"
|
878
858
|
msgstr ""
|
@@ -965,11 +945,11 @@ msgstr ""
|
|
965
945
|
msgid "Edit %s"
|
966
946
|
msgstr "Edita %s"
|
967
947
|
|
968
|
-
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:
|
948
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
|
969
949
|
msgid "Discovery Rules"
|
970
950
|
msgstr "Regles de descobriment"
|
971
951
|
|
972
|
-
#: ../app/views/discovery_rules/index.html.erb:2
|
952
|
+
#: ../app/views/discovery_rules/index.html.erb:2
|
973
953
|
msgid "Create Rule"
|
974
954
|
msgstr ""
|
975
955
|
|
@@ -1001,10 +981,6 @@ msgstr "Habilitada"
|
|
1001
981
|
msgid "New Discovery Rule"
|
1002
982
|
msgstr "Regla de descobriment nova"
|
1003
983
|
|
1004
|
-
#: ../app/views/discovery_rules/welcome.html.erb:8
|
1005
|
-
msgid "Discovered Rules"
|
1006
|
-
msgstr ""
|
1007
|
-
|
1008
984
|
#: ../db/seeds.d/50_discovery_templates.rb:5
|
1009
985
|
msgid "Command line options for kexec during PXE-less provisioning."
|
1010
986
|
msgstr ""
|
@@ -1025,42 +1001,34 @@ msgstr ""
|
|
1025
1001
|
msgid "Details"
|
1026
1002
|
msgstr ""
|
1027
1003
|
|
1028
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1004
|
+
#: ../lib/foreman_discovery/engine.rb:179
|
1029
1005
|
msgid "Discovery Kexec template"
|
1030
1006
|
msgstr ""
|
1031
1007
|
|
1032
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1008
|
+
#: ../lib/foreman_discovery/engine.rb:188
|
1033
1009
|
msgid "Discovery Proxy"
|
1034
1010
|
msgstr ""
|
1035
1011
|
|
1036
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1012
|
+
#: ../lib/foreman_discovery/engine.rb:189
|
1037
1013
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1038
1014
|
msgstr ""
|
1039
1015
|
|
1040
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1016
|
+
#: ../lib/foreman_discovery/engine.rb:190
|
1041
1017
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1042
1018
|
msgstr ""
|
1043
1019
|
|
1044
|
-
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
|
1045
|
-
msgid "For more information please see "
|
1046
|
-
msgstr ""
|
1047
|
-
|
1048
|
-
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
|
1049
|
-
msgid "documentation"
|
1050
|
-
msgstr ""
|
1051
|
-
|
1052
1020
|
#: action_names.rb:2
|
1053
|
-
msgid "
|
1021
|
+
msgid "Remote action:"
|
1054
1022
|
msgstr ""
|
1055
1023
|
|
1056
1024
|
#: action_names.rb:3
|
1057
|
-
msgid "Import
|
1025
|
+
msgid "Import Puppet classes"
|
1058
1026
|
msgstr ""
|
1059
1027
|
|
1060
1028
|
#: action_names.rb:4
|
1061
|
-
msgid "Import
|
1029
|
+
msgid "Import facts"
|
1062
1030
|
msgstr ""
|
1063
1031
|
|
1064
1032
|
#: action_names.rb:5
|
1065
|
-
msgid "
|
1033
|
+
msgid "Action with sub plans"
|
1066
1034
|
msgstr ""
|