foreman_discovery 16.2.0 → 16.3.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.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
- data/app/models/host/discovered.rb +1 -1
- data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
- data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
- data/app/views/discovered_hosts/welcome.html.erb +15 -9
- data/app/views/discovery_rules/index.html.erb +1 -1
- data/extra/discover-host +3 -3
- data/lib/foreman_discovery/engine.rb +2 -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 +62 -39
- data/locale/ca/foreman_discovery.po +25 -10
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +64 -39
- data/locale/de/foreman_discovery.po +25 -10
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +59 -39
- data/locale/en/foreman_discovery.po +25 -10
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +70 -39
- data/locale/en_GB/foreman_discovery.po +25 -10
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +70 -39
- data/locale/es/foreman_discovery.po +25 -10
- data/locale/foreman_discovery.pot +68 -45
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +68 -39
- data/locale/fr/foreman_discovery.po +25 -10
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +59 -39
- data/locale/gl/foreman_discovery.po +25 -10
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +59 -39
- data/locale/it/foreman_discovery.po +25 -10
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +68 -39
- data/locale/ja/foreman_discovery.po +25 -10
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +59 -39
- data/locale/ko/foreman_discovery.po +25 -10
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +68 -39
- data/locale/pt_BR/foreman_discovery.po +25 -10
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +59 -39
- data/locale/ru/foreman_discovery.po +25 -10
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +59 -39
- data/locale/sv_SE/foreman_discovery.po +25 -10
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +68 -39
- data/locale/zh_CN/foreman_discovery.po +25 -10
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +59 -39
- data/locale/zh_TW/foreman_discovery.po +25 -10
- data/package.json +39 -0
- data/test/functional/discovered_hosts_controller_test.rb +1 -1
- data/test/functional/discovery_rules_controller_test.rb +1 -1
- data/webpack/index.js +18 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
- data/webpack/src/reducers.js +7 -0
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 633d9a0f20147b982f23bbcc7fe02eb210bdbb060ac2f304b098620981502899
|
4
|
+
data.tar.gz: e80520e5eacd123161aa6da427e8185ff0d52dd44d8925319391563ba2634372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a6ab1d08a10291ba5fa6665649fbaa2b23779305b83826b86a62c1644d9f4545e069c1eba6d13cac27789c50faa2093058de9396d60a06d36f212d995f17c4
|
7
|
+
data.tar.gz: 8c2e52c9eee44e6bd3f22098059395e10b4250d193b331b787bb87ffc7f222911510e650645e6d9ff26bd46245680060e7f033fde62bc8bdf0c13d8f39e7aea0
|
@@ -51,24 +51,30 @@ module Api
|
|
51
51
|
param :id, :identifier, :required => true
|
52
52
|
param :discovered_host, Hash, :action_aware => true do
|
53
53
|
param :name, String
|
54
|
-
param :environment_id, String
|
54
|
+
param :environment_id, String, :desc => N_("required if host is managed and value is not inherited from host group")
|
55
55
|
param :ip, String, :desc => N_("not required if using a subnet with DHCP proxy")
|
56
56
|
param :mac, String, :desc => N_("not required if it's a virtual machine")
|
57
|
-
param :architecture_id, :number
|
58
|
-
param :domain_id, :number
|
57
|
+
param :architecture_id, :number, :desc => N_("required if host is managed and value is not inherited from host group")
|
58
|
+
param :domain_id, :number, :desc => N_("required if host is managed and value is not inherited from host group")
|
59
59
|
param :puppet_proxy_id, :number
|
60
60
|
param :puppet_class_ids, Array
|
61
|
-
param :operatingsystem_id,
|
62
|
-
param :medium_id, :
|
63
|
-
param :ptable_id, :number
|
64
|
-
param :subnet_id, :number
|
61
|
+
param :operatingsystem_id, :number, :desc => N_("required if host is managed and value is not inherited from host group")
|
62
|
+
param :medium_id, String, :desc => N_("required if not imaged based provisioning and host is managed and value is not inherited from host group")
|
63
|
+
param :ptable_id, :number, :desc => N_("required if host is managed and custom partition has not been defined")
|
64
|
+
param :subnet_id, :number, :desc => N_("required if host is managed and value is not inherited from host group")
|
65
65
|
param :sp_subnet_id, :number
|
66
66
|
param :model_id, :number
|
67
67
|
param :hostgroup_id, :number
|
68
68
|
param :owner_id, :number
|
69
|
+
param :owner_type, Host::Base::OWNER_TYPES, :desc => N_("Host's owner type")
|
69
70
|
param :puppet_ca_proxy_id, :number
|
70
71
|
param :image_id, :number
|
71
|
-
param :host_parameters_attributes, Array
|
72
|
+
param :host_parameters_attributes, Array, :desc => N_("Host's parameters (array or indexed hash)") do
|
73
|
+
param :name, String, :desc => N_("Name of the parameter"), :required => true
|
74
|
+
param :value, String, :desc => N_("Parameter value"), :required => true
|
75
|
+
param :parameter_type, Parameter::KEY_TYPES, :desc => N_("Type of value")
|
76
|
+
param :hidden_value, :bool
|
77
|
+
end
|
72
78
|
param :build, :bool
|
73
79
|
param :enabled, :bool
|
74
80
|
param :provision_method, String
|
@@ -102,9 +108,16 @@ module Api
|
|
102
108
|
state = true
|
103
109
|
User.as_anonymous_admin do
|
104
110
|
@discovered_host = Host::Discovered.import_host(facts)
|
105
|
-
|
106
|
-
|
107
|
-
|
111
|
+
# Host::Based.set_taxonomies sets taxonomies during import from either
|
112
|
+
# facts or via Global Foreman setting "default_taxonomy", reset it back so
|
113
|
+
# the anonymous admin can see all records. We set taxonomy explicitly via
|
114
|
+
# discovery SubnetAndTaxonomy import hook and enforce taxnomy manually
|
115
|
+
# in find_discovery_rule method via validate_rule_by_taxonomy.
|
116
|
+
Taxonomy.no_taxonomy_scope do
|
117
|
+
Rails.logger.warn 'Discovered facts import unsuccessful, skipping auto provisioning' unless @discovered_host
|
118
|
+
if Setting['discovery_auto'] && @discovered_host && (rule = find_discovery_rule(@discovered_host))
|
119
|
+
state = perform_auto_provision(@discovered_host, rule)
|
120
|
+
end
|
108
121
|
end
|
109
122
|
end
|
110
123
|
process_response state
|
@@ -143,7 +143,7 @@ class Host::Discovered < ::Host::Base
|
|
143
143
|
::ForemanDiscovery::HostFactImporter.new(self).import_facts facts
|
144
144
|
rescue => e
|
145
145
|
::Foreman::Logging.exception("Unable to get facts from proxy", e)
|
146
|
-
raise ::Foreman::WrappedException.new(e, N_("Could not get facts from proxy %{url}: %{error}"), :url => proxy_url, :error => e)
|
146
|
+
raise ::Foreman::WrappedException.new(e, N_("Could not get facts from proxy %{url}: %{error}"), :url => proxy_url(self.ip), :error => e)
|
147
147
|
end
|
148
148
|
|
149
149
|
def reboot(old_ip = nil, new_ip = nil)
|
@@ -35,6 +35,7 @@ module ForemanDiscovery
|
|
35
35
|
Location.find_by_title(facts["discovery_location"]) ||
|
36
36
|
Location.find_by_title(Setting[:discovery_location]) ||
|
37
37
|
host.subnet.try(:locations).try(:first) ||
|
38
|
+
host.subnet6.try(:locations).try(:first) ||
|
38
39
|
Location.first
|
39
40
|
end
|
40
41
|
|
@@ -48,6 +49,7 @@ module ForemanDiscovery
|
|
48
49
|
Organization.find_by_title(facts["discovery_organization"]) ||
|
49
50
|
Organization.find_by_title(Setting[:discovery_organization]) ||
|
50
51
|
host.subnet.try(:organizations).try(:first) ||
|
52
|
+
host.subnet6.try(:organizations).try(:first) ||
|
51
53
|
Organization.first
|
52
54
|
end
|
53
55
|
end
|
@@ -1,10 +1,16 @@
|
|
1
|
+
<% content_for(:javascripts) do %>
|
2
|
+
<%= webpacked_plugins_js_for :'foreman_discovery' %>
|
3
|
+
<% end %>
|
4
|
+
<% content_for(:stylesheets) do %>
|
5
|
+
<%= webpacked_plugins_css_for :'foreman_discovery' %>
|
6
|
+
<% end %>
|
7
|
+
|
1
8
|
<% content_for(:title, _("Discovered Hosts")) %>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
9
|
+
|
10
|
+
<% content_for(:content) do %>
|
11
|
+
<%= notifications %>
|
12
|
+
<div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
|
13
|
+
<div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
|
14
|
+
<%= react_component('DiscoveredHosts',
|
15
|
+
docUrl: "https://theforeman.org/plugins/foreman_discovery/#{ForemanDiscovery::VERSION.scan(/\d+\.\d+/).first}/index.html" ) %>
|
16
|
+
<% end %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<td><%= trunc_with_tooltip(rule.search) %></td>
|
19
19
|
<td><%= label_with_link(rule.hostgroup, 26, authorizer) %></td>
|
20
20
|
<td><%= rule.hosts.count %> / <%= rule.max_count %></td>
|
21
|
-
<td><%= rule.enabled %></td>
|
21
|
+
<td><%= checked_icon rule.enabled %></td>
|
22
22
|
<td><%= action_buttons(*permitted_discovery_actions(rule)) %></td>
|
23
23
|
</tr>
|
24
24
|
<% end %>
|
data/extra/discover-host
CHANGED
@@ -79,12 +79,12 @@ unless preserve_interfaces
|
|
79
79
|
name, subnet, mac, explicit_ip = iface
|
80
80
|
mac ||= (["52"] + 5.times.map { '%02x' % rand(0..255) }).join(':')
|
81
81
|
json["macaddress_#{name}"] = mac
|
82
|
-
|
82
|
+
_, prefix = subnet.split('/')
|
83
83
|
if subnet.include?('.')
|
84
|
-
random_ip = IPAddr.new(subnet, Socket::AF_INET) | IPAddr.new(rand(2**prefix.to_i), Socket::AF_INET)
|
84
|
+
random_ip = IPAddr.new(subnet, Socket::AF_INET) | IPAddr.new(rand(2**(32 - prefix.to_i)), Socket::AF_INET)
|
85
85
|
fact_name = "ipaddress"
|
86
86
|
else
|
87
|
-
random_ip = IPAddr.new(subnet, Socket::AF_INET6) | IPAddr.new(rand(2**prefix.to_i), Socket::AF_INET6)
|
87
|
+
random_ip = IPAddr.new(subnet, Socket::AF_INET6) | IPAddr.new(rand(2**(32 - prefix.to_i)), Socket::AF_INET6)
|
88
88
|
fact_name = "ipaddress6"
|
89
89
|
end
|
90
90
|
json["#{fact_name}_#{name}"] = explicit_ip ? explicit_ip : random_ip
|
@@ -49,7 +49,8 @@ module ForemanDiscovery
|
|
49
49
|
security_block :discovery do
|
50
50
|
permission :view_discovered_hosts, {
|
51
51
|
:discovered_hosts => [:index, :show, :auto_complete_search, :welcome],
|
52
|
-
:"api/v2/discovered_hosts" => [:index, :show]
|
52
|
+
:"api/v2/discovered_hosts" => [:index, :show],
|
53
|
+
:'discovered_hosts/react' => [:index]
|
53
54
|
}, :resource_type => 'Host'
|
54
55
|
permission :submit_discovered_hosts, {
|
55
56
|
:"api/v2/discovered_hosts" => [:facts, :create]
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
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.2.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
13
13
|
"Last-Translator: Transifex Bot <>\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:85
|
47
47
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
48
48
|
msgstr ""
|
49
49
|
|
@@ -55,6 +55,10 @@ 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
|
+
|
58
62
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
|
59
63
|
msgid "not required if using a subnet with DHCP proxy"
|
60
64
|
msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermediari DHCP"
|
@@ -63,71 +67,99 @@ msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermed
|
|
63
67
|
msgid "not required if it's a virtual machine"
|
64
68
|
msgstr ""
|
65
69
|
|
66
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
70
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
|
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 ""
|
77
|
+
|
78
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
|
79
|
+
msgid "Host's owner type"
|
80
|
+
msgstr ""
|
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 ""
|
89
|
+
|
90
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
|
91
|
+
msgid "Parameter value"
|
92
|
+
msgstr ""
|
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
|
67
99
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
68
100
|
msgstr ""
|
69
101
|
|
70
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
102
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
|
71
103
|
msgid "required if value is not inherited from host group or default password in settings"
|
72
104
|
msgstr ""
|
73
105
|
|
74
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
106
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
|
75
107
|
msgid "Delete a discovered host"
|
76
108
|
msgstr "Suprimeix un amfitrió descobert"
|
77
109
|
|
78
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
110
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
|
79
111
|
msgid "Upload facts for a host, creating the host if required"
|
80
112
|
msgstr "Puja els objectes d'interès per a un amfitrió, creant el nou amfitrió si fos necessari"
|
81
113
|
|
82
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
114
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
|
83
115
|
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)"
|
84
116
|
msgstr ""
|
85
117
|
|
86
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
118
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
|
87
119
|
msgid "Execute rules against a discovered host"
|
88
120
|
msgstr ""
|
89
121
|
|
90
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
122
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
|
91
123
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
92
124
|
msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
|
93
125
|
|
94
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
126
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
|
95
127
|
msgid "Unable to provision %{host}: %{errors}"
|
96
128
|
msgstr "No es pot aprovisionar a %{host}: %{errors}"
|
97
129
|
|
98
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
130
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
|
99
131
|
msgid "No rule found for host %s"
|
100
132
|
msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
|
101
133
|
|
102
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
134
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
|
103
135
|
msgid "Execute rules against all currently discovered hosts"
|
104
136
|
msgstr "Executa les regles contra tots els amfitrions detectats actualment"
|
105
137
|
|
106
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
138
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
|
107
139
|
msgid "Errors during auto provisioning: %s"
|
108
140
|
msgstr "Erros durant l'auto aprovisionament: %s"
|
109
141
|
|
110
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
142
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
|
111
143
|
msgid "No discovered hosts to provision"
|
112
144
|
msgstr "Sense amfitrions descoberts per aprovisionar"
|
113
145
|
|
114
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
146
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
|
115
147
|
msgid "%s discovered hosts were provisioned"
|
116
148
|
msgstr "%s amfitrions descoberts van ser aprovisionats"
|
117
149
|
|
118
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
150
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
|
119
151
|
msgid "Refreshing the facts of a discovered host"
|
120
152
|
msgstr "S'estan refrescant els objectes d'interès d'un amfitrió descobert"
|
121
153
|
|
122
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
154
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
|
123
155
|
msgid "Rebooting a discovered host"
|
124
156
|
msgstr "S'està reiniciant un amfitrió descobert"
|
125
157
|
|
126
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
158
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
|
127
159
|
msgid "Rebooting all discovered hosts"
|
128
160
|
msgstr "S'estan reiniciant tots els amfitrions descoberts"
|
129
161
|
|
130
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
162
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
|
131
163
|
msgid "Discovered hosts are rebooting now"
|
132
164
|
msgstr "Ara s'estan reiniciant els amfitrions descoberts"
|
133
165
|
|
@@ -371,7 +403,7 @@ msgstr "Es va informar en els últims 7 dies"
|
|
371
403
|
msgid "Provision"
|
372
404
|
msgstr "Aprovisiona"
|
373
405
|
|
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:
|
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:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
|
375
407
|
msgid "Discovered Hosts"
|
376
408
|
msgstr ""
|
377
409
|
|
@@ -841,18 +873,6 @@ msgstr "Adreça IP"
|
|
841
873
|
msgid "Collapse All"
|
842
874
|
msgstr ""
|
843
875
|
|
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
|
-
|
856
876
|
#: ../app/views/discovered_mailer/discovered_summary.html.erb:6
|
857
877
|
msgid "Summary report for discovered hosts from Foreman"
|
858
878
|
msgstr ""
|
@@ -945,7 +965,7 @@ msgstr ""
|
|
945
965
|
msgid "Edit %s"
|
946
966
|
msgstr "Edita %s"
|
947
967
|
|
948
|
-
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:
|
968
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
|
949
969
|
msgid "Discovery Rules"
|
950
970
|
msgstr "Regles de descobriment"
|
951
971
|
|
@@ -1001,19 +1021,19 @@ msgstr ""
|
|
1001
1021
|
msgid "Details"
|
1002
1022
|
msgstr ""
|
1003
1023
|
|
1004
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1024
|
+
#: ../lib/foreman_discovery/engine.rb:180
|
1005
1025
|
msgid "Discovery Kexec template"
|
1006
1026
|
msgstr ""
|
1007
1027
|
|
1008
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1028
|
+
#: ../lib/foreman_discovery/engine.rb:189
|
1009
1029
|
msgid "Discovery Proxy"
|
1010
1030
|
msgstr ""
|
1011
1031
|
|
1012
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1032
|
+
#: ../lib/foreman_discovery/engine.rb:190
|
1013
1033
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1014
1034
|
msgstr ""
|
1015
1035
|
|
1016
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1036
|
+
#: ../lib/foreman_discovery/engine.rb:191
|
1017
1037
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1018
1038
|
msgstr ""
|
1019
1039
|
|
@@ -1026,9 +1046,12 @@ msgid "Import Puppet classes"
|
|
1026
1046
|
msgstr ""
|
1027
1047
|
|
1028
1048
|
#: action_names.rb:4
|
1029
|
-
msgid "
|
1049
|
+
msgid "Action with sub plans"
|
1030
1050
|
msgstr ""
|
1031
1051
|
|
1032
1052
|
#: action_names.rb:5
|
1033
|
-
msgid "
|
1053
|
+
msgid "Import facts"
|
1034
1054
|
msgstr ""
|
1055
|
+
|
1056
|
+
#~ msgid "Learn more about this in the documentation."
|
1057
|
+
#~ msgstr "Obteniu més informació sobre això a la documentació."
|
@@ -7,7 +7,7 @@
|
|
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.2.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"PO-Revision-Date: 2020-05-26 17:21+0000\n"
|
13
13
|
"Last-Translator: Transifex Bot <>\n"
|
@@ -325,6 +325,12 @@ msgstr[1] ""
|
|
325
325
|
msgid "Host of type %s can not be rebooted"
|
326
326
|
msgstr ""
|
327
327
|
|
328
|
+
msgid "Host's owner type"
|
329
|
+
msgstr ""
|
330
|
+
|
331
|
+
msgid "Host's parameters (array or indexed hash)"
|
332
|
+
msgstr ""
|
333
|
+
|
328
334
|
msgid "Hostname facts"
|
329
335
|
msgstr ""
|
330
336
|
|
@@ -412,9 +418,6 @@ msgstr ""
|
|
412
418
|
msgid "Last Facts Upload"
|
413
419
|
msgstr ""
|
414
420
|
|
415
|
-
msgid "Learn more about this in the documentation."
|
416
|
-
msgstr "Obteniu més informació sobre això a la documentació."
|
417
|
-
|
418
421
|
msgid "List all discovered hosts"
|
419
422
|
msgstr "Llista tots els amfitrions descoberts"
|
420
423
|
|
@@ -469,6 +472,9 @@ msgstr "N/D"
|
|
469
472
|
msgid "Name"
|
470
473
|
msgstr "Nom"
|
471
474
|
|
475
|
+
msgid "Name of the parameter"
|
476
|
+
msgstr ""
|
477
|
+
|
472
478
|
msgid "Network"
|
473
479
|
msgstr ""
|
474
480
|
|
@@ -487,9 +493,6 @@ msgstr ""
|
|
487
493
|
msgid "No discovered hosts for the selected period"
|
488
494
|
msgstr ""
|
489
495
|
|
490
|
-
msgid "No discovered hosts found in this context."
|
491
|
-
msgstr ""
|
492
|
-
|
493
496
|
msgid "No discovered hosts to provision"
|
494
497
|
msgstr "Sense amfitrions descoberts per aprovisionar"
|
495
498
|
|
@@ -532,6 +535,9 @@ msgstr ""
|
|
532
535
|
msgid "PXELinux template to be used when pinning a host to discovery"
|
533
536
|
msgstr ""
|
534
537
|
|
538
|
+
msgid "Parameter value"
|
539
|
+
msgstr ""
|
540
|
+
|
535
541
|
msgid "Please Confirm"
|
536
542
|
msgstr "Si us plau, confirmeu"
|
537
543
|
|
@@ -679,15 +685,15 @@ msgstr ""
|
|
679
685
|
msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
|
680
686
|
msgstr ""
|
681
687
|
|
682
|
-
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
683
|
-
msgstr ""
|
684
|
-
|
685
688
|
msgid "Type"
|
686
689
|
msgstr ""
|
687
690
|
|
688
691
|
msgid "Type of name generator"
|
689
692
|
msgstr ""
|
690
693
|
|
694
|
+
msgid "Type of value"
|
695
|
+
msgstr ""
|
696
|
+
|
691
697
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
692
698
|
msgstr ""
|
693
699
|
|
@@ -772,6 +778,15 @@ msgstr ""
|
|
772
778
|
msgid "represents rule name shown to the users"
|
773
779
|
msgstr "representa el nom de la regla que es mostra als usuaris"
|
774
780
|
|
781
|
+
msgid "required if host is managed and custom partition has not been defined"
|
782
|
+
msgstr ""
|
783
|
+
|
784
|
+
msgid "required if host is managed and value is not inherited from host group"
|
785
|
+
msgstr ""
|
786
|
+
|
787
|
+
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
788
|
+
msgstr ""
|
789
|
+
|
775
790
|
msgid "required if value is not inherited from host group or default password in settings"
|
776
791
|
msgstr ""
|
777
792
|
|