foreman_discovery 17.0.4 → 18.0.0
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/discovered_hosts_controller.rb +10 -3
- data/app/controllers/discovery_rules_controller.rb +1 -1
- data/app/helpers/discovered_hosts_helper.rb +3 -2
- data/app/models/discovery_fact_name.rb +9 -0
- data/app/services/discovery_fact_importer.rb +5 -0
- data/app/services/foreman_discovery/host_converter.rb +3 -3
- data/app/views/discovered_hosts/welcome.html.erb +1 -2
- data/app/views/discovery_rules/welcome.html.erb +1 -2
- data/lib/foreman_discovery/engine.rb +3 -1
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.po +13 -7
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.po +11 -5
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.po +7 -1
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.po +8 -2
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.po +11 -5
- data/locale/foreman_discovery.pot +38 -30
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.po +57 -51
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.po +11 -5
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.po +11 -5
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.po +43 -37
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.po +11 -5
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.po +11 -5
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.po +15 -9
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.po +11 -5
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.po +59 -53
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.po +11 -5
- data/package.json +1 -1
- data/test/functional/api/v2/fact_value_extensions_test.rb +1 -4
- data/test/functional/discovered_hosts_controller_test.rb +6 -5
- data/test/integration/discovered_hosts_test.rb +10 -4
- data/test/test_helper_discovery.rb +35 -27
- data/test/test_plugin_helper.rb +7 -0
- data/test/unit/discovered_extensions_test.rb +36 -16
- data/test/unit/discovery_attribute_set_test.rb +2 -8
- data/test/unit/fact_parser_test.rb +1 -4
- metadata +9 -12
- data/test/functional/api/v2/settings_controller_test.rb +0 -22
- data/test/models/setting_test.rb +0 -11
- data/test/unit/setting_discovered_test.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5ed6f9be99d08e38902acdbfff3e02aa7b086415cc6c8208a446ad8195fe18
|
4
|
+
data.tar.gz: cebfddeec98ce1ce01778dbe3c94fa1581132462a01e5ee04c2f78a6812a8c02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a2c9cfe529fbf8e22c11ce4b7260ae6bd61d0005688b5b50199c6c7e2a432cbe8a99b1a4fd1f94757246892fa60426181382dd6de874bfe0d495d1e98b140c
|
7
|
+
data.tar.gz: 5a151a76f41f68258a90154209c81e2fa3a16dc6049191269d8b261dca51d9c5ed536ad7c18180079d9186c58a80ed145640541bbd2534f6c666a78aea407cc8
|
@@ -14,6 +14,9 @@ class DiscoveredHostsController < ::ApplicationController
|
|
14
14
|
around_action :skip_bullet, :only => [:edit]
|
15
15
|
|
16
16
|
helper :hosts
|
17
|
+
if defined?(ForemanPuppet)
|
18
|
+
helper ForemanPuppet::HostsAndHostgroupsHelper
|
19
|
+
end
|
17
20
|
|
18
21
|
layout 'layouts/application'
|
19
22
|
|
@@ -200,14 +203,16 @@ class DiscoveredHostsController < ::ApplicationController
|
|
200
203
|
subnet6 = @host.hostgroup.subnet6 || @host.subnet6
|
201
204
|
@architecture = @host.hostgroup.architecture
|
202
205
|
@operatingsystem = @host.hostgroup.operatingsystem
|
203
|
-
|
206
|
+
if defined?(ForemanPuppet)
|
207
|
+
@environment = @host.hostgroup.environment
|
208
|
+
@host.environment = @environment
|
209
|
+
end
|
204
210
|
@domain = @host.hostgroup.domain
|
205
211
|
@subnet = subnet
|
206
212
|
@subnet6 = subnet6
|
207
213
|
@compute_profile = @host.hostgroup.compute_profile
|
208
214
|
@realm = @host.hostgroup.realm
|
209
215
|
@host.interfaces.first.assign_attributes(subnet: subnet, subnet6: subnet6, domain: @domain)
|
210
|
-
@host.environment = @environment
|
211
216
|
end
|
212
217
|
end
|
213
218
|
|
@@ -217,7 +222,9 @@ class DiscoveredHostsController < ::ApplicationController
|
|
217
222
|
|
218
223
|
def load_vars_for_ajax
|
219
224
|
return unless @host
|
220
|
-
|
225
|
+
if defined?(ForemanPuppet)
|
226
|
+
@environment = @host.environment
|
227
|
+
end
|
221
228
|
@architecture = @host.architecture
|
222
229
|
@domain = @host.domain
|
223
230
|
@operatingsystem = @host.operatingsystem
|
@@ -20,7 +20,7 @@ class DiscoveryRulesController < ApplicationController
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def clone
|
23
|
-
@discovery_rule.deep_clone except: [:name, :priority]
|
23
|
+
@discovery_rule = @discovery_rule.deep_clone except: [:name, :priority]
|
24
24
|
@discovery_rule.priority = DiscoveryRule.suggest_priority
|
25
25
|
end
|
26
26
|
|
@@ -98,7 +98,8 @@ module DiscoveredHostsHelper
|
|
98
98
|
discovered_host_path(host)
|
99
99
|
end
|
100
100
|
|
101
|
-
def
|
102
|
-
Foreman::Plugin.find(:foreman_discovery).version.scan(/\d+\.\d+/).first
|
101
|
+
def discovery_doc_url
|
102
|
+
doc_version = Foreman::Plugin.find(:foreman_discovery).version.scan(/\d+\.\d+/).first
|
103
|
+
"https://theforeman.org/plugins/foreman_discovery/#{doc_version}"
|
103
104
|
end
|
104
105
|
end
|
@@ -21,10 +21,10 @@ class ForemanDiscovery::HostConverter
|
|
21
21
|
def self.set_build_clean_facts(host)
|
22
22
|
# fact cleaning
|
23
23
|
if Setting['discovery_clean_facts']
|
24
|
-
# clean all facts except those
|
24
|
+
# clean all facts except those from Discovery
|
25
25
|
host.define_singleton_method(:clear_facts) do
|
26
|
-
|
27
|
-
|
26
|
+
keep_ids = FactValue.where(host_id: host.id, fact_names: { type: 'DiscoveryFactName' }).where("fact_names.name like 'discovery_%'").joins(:fact_name).pluck("fact_values.id")
|
27
|
+
FactValue.where.not(id: keep_ids).delete_all
|
28
28
|
end
|
29
29
|
else
|
30
30
|
# clean no facts (default behavior)
|
@@ -8,8 +8,7 @@
|
|
8
8
|
<% content_for(:title, _("Discovered Hosts")) %>
|
9
9
|
|
10
10
|
<% content_for(:content) do %>
|
11
|
-
<%= notifications %>
|
12
11
|
<div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
|
13
12
|
<div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
|
14
|
-
<%= react_component('DiscoveredHosts', docUrl:
|
13
|
+
<%= react_component('DiscoveredHosts', docUrl: discovery_doc_url ) %>
|
15
14
|
<% end %>
|
@@ -8,8 +8,7 @@
|
|
8
8
|
<% content_for(:title, _("Discovered Rules")) %>
|
9
9
|
|
10
10
|
<% content_for(:content) do %>
|
11
|
-
<%= notifications %>
|
12
11
|
<div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
|
13
12
|
<div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
|
14
|
-
<%= react_component('DiscoveryRules', docUrl:
|
13
|
+
<%= react_component('DiscoveryRules', docUrl: discovery_doc_url + '/#4.3Automaticprovisioning' ) %>
|
15
14
|
<% end %>
|
@@ -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 '>= 3.0'
|
47
47
|
|
48
48
|
# discovered hosts permissions
|
49
49
|
security_block :discovery do
|
@@ -212,6 +212,8 @@ module ForemanDiscovery
|
|
212
212
|
# Controller extensions
|
213
213
|
::HostsController.send :include, ForemanDiscovery::Concerns::HostsControllerExtensions
|
214
214
|
::Api::V2::FactValuesController.send :include, Api::V2::FactValuesControllerExtensions
|
215
|
+
|
216
|
+
Foreman::Plugin.fact_importer_registry.register(:foreman_discovery, DiscoveryFactImporter)
|
215
217
|
end
|
216
218
|
|
217
219
|
rake_tasks do
|
Binary file
|
@@ -3,14 +3,14 @@
|
|
3
3
|
# This file is distributed under the same license as the foreman_discovery package.
|
4
4
|
#
|
5
5
|
# Translators:
|
6
|
-
# Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017
|
7
|
-
# Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
|
6
|
+
# Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017
|
7
|
+
# Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015-2016
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_discovery
|
10
|
+
"Project-Id-Version: foreman_discovery 17.1.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
|
-
"PO-Revision-Date: 2021-
|
13
|
-
"Last-Translator:
|
12
|
+
"PO-Revision-Date: 2021-05-03 08:29+0000\n"
|
13
|
+
"Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
|
14
14
|
"Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
|
15
15
|
"\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
@@ -80,10 +80,10 @@ msgid "Clean all reported facts during provisioning (except discovery facts)"
|
|
80
80
|
msgstr ""
|
81
81
|
|
82
82
|
msgid "Clone"
|
83
|
-
msgstr ""
|
83
|
+
msgstr "Clona"
|
84
84
|
|
85
85
|
msgid "Clone %s"
|
86
|
-
msgstr ""
|
86
|
+
msgstr "Clona %s"
|
87
87
|
|
88
88
|
msgid "Collapse All"
|
89
89
|
msgstr ""
|
@@ -565,6 +565,12 @@ msgstr "Valor del paràmetre"
|
|
565
565
|
msgid "Please Confirm"
|
566
566
|
msgstr "Si us plau, confirmeu"
|
567
567
|
|
568
|
+
msgid "Prefer IPv6"
|
569
|
+
msgstr ""
|
570
|
+
|
571
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
572
|
+
msgstr ""
|
573
|
+
|
568
574
|
msgid "Primary"
|
569
575
|
msgstr "Primària"
|
570
576
|
|
Binary file
|
@@ -14,10 +14,10 @@
|
|
14
14
|
# stbenjam <stephen@redhat.com>, 2016
|
15
15
|
msgid ""
|
16
16
|
msgstr ""
|
17
|
-
"Project-Id-Version: foreman_discovery
|
17
|
+
"Project-Id-Version: foreman_discovery 17.1.0\n"
|
18
18
|
"Report-Msgid-Bugs-To: \n"
|
19
|
-
"PO-Revision-Date: 2021-
|
20
|
-
"Last-Translator:
|
19
|
+
"PO-Revision-Date: 2021-05-03 08:29+0000\n"
|
20
|
+
"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n"
|
21
21
|
"Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
|
22
22
|
"MIME-Version: 1.0\n"
|
23
23
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -86,10 +86,10 @@ msgid "Clean all reported facts during provisioning (except discovery facts)"
|
|
86
86
|
msgstr "Alle berichteten Fakten während der Bereitstellung löschen (ausgenommen Entdeckungsfakten)"
|
87
87
|
|
88
88
|
msgid "Clone"
|
89
|
-
msgstr ""
|
89
|
+
msgstr "Klonen"
|
90
90
|
|
91
91
|
msgid "Clone %s"
|
92
|
-
msgstr ""
|
92
|
+
msgstr "%s klonen"
|
93
93
|
|
94
94
|
msgid "Collapse All"
|
95
95
|
msgstr "Alle einklappen"
|
@@ -571,6 +571,12 @@ msgstr "Parameterwert"
|
|
571
571
|
msgid "Please Confirm"
|
572
572
|
msgstr "Bitte bestätigen"
|
573
573
|
|
574
|
+
msgid "Prefer IPv6"
|
575
|
+
msgstr ""
|
576
|
+
|
577
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
578
|
+
msgstr ""
|
579
|
+
|
574
580
|
msgid "Primary"
|
575
581
|
msgstr "Primär"
|
576
582
|
|
Binary file
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# This file is distributed under the same license as the foreman_discovery package.
|
3
3
|
msgid ""
|
4
4
|
msgstr ""
|
5
|
-
"Project-Id-Version: foreman_discovery
|
5
|
+
"Project-Id-Version: foreman_discovery 17.1.0\n"
|
6
6
|
"Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
|
7
7
|
"PO-Revision-Date: 2015-12-27 01:18+0000\n"
|
8
8
|
"Last-Translator: \n"
|
@@ -558,6 +558,12 @@ msgstr ""
|
|
558
558
|
msgid "Please Confirm"
|
559
559
|
msgstr ""
|
560
560
|
|
561
|
+
msgid "Prefer IPv6"
|
562
|
+
msgstr ""
|
563
|
+
|
564
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
565
|
+
msgstr ""
|
566
|
+
|
561
567
|
msgid "Primary"
|
562
568
|
msgstr ""
|
563
569
|
|
Binary file
|
@@ -10,9 +10,9 @@
|
|
10
10
|
# Lukáš Zapletal, 2015
|
11
11
|
msgid ""
|
12
12
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_discovery
|
13
|
+
"Project-Id-Version: foreman_discovery 17.1.0\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
|
-
"PO-Revision-Date: 2021-
|
15
|
+
"PO-Revision-Date: 2021-05-03 08:28+0000\n"
|
16
16
|
"Last-Translator: Transifex Bot <>\n"
|
17
17
|
"Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
|
18
18
|
"man/language/en_GB/)\n"
|
@@ -568,6 +568,12 @@ msgstr ""
|
|
568
568
|
msgid "Please Confirm"
|
569
569
|
msgstr "Please Confirm"
|
570
570
|
|
571
|
+
msgid "Prefer IPv6"
|
572
|
+
msgstr ""
|
573
|
+
|
574
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
575
|
+
msgstr ""
|
576
|
+
|
571
577
|
msgid "Primary"
|
572
578
|
msgstr "Primary"
|
573
579
|
|
Binary file
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
|
12
12
|
msgid ""
|
13
13
|
msgstr ""
|
14
|
-
"Project-Id-Version: foreman_discovery
|
14
|
+
"Project-Id-Version: foreman_discovery 17.1.0\n"
|
15
15
|
"Report-Msgid-Bugs-To: \n"
|
16
|
-
"PO-Revision-Date: 2021-
|
17
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2021-05-03 08:29+0000\n"
|
17
|
+
"Last-Translator: Lukáš Zapletal\n"
|
18
18
|
"Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
|
19
19
|
"\n"
|
20
20
|
"MIME-Version: 1.0\n"
|
@@ -84,10 +84,10 @@ msgid "Clean all reported facts during provisioning (except discovery facts)"
|
|
84
84
|
msgstr "Eliminar todos los eventos informados durante el aprovisionamiento (excepto los eventos de detección)"
|
85
85
|
|
86
86
|
msgid "Clone"
|
87
|
-
msgstr ""
|
87
|
+
msgstr "Clonar"
|
88
88
|
|
89
89
|
msgid "Clone %s"
|
90
|
-
msgstr ""
|
90
|
+
msgstr "Clonar %s"
|
91
91
|
|
92
92
|
msgid "Collapse All"
|
93
93
|
msgstr "Contraer todo"
|
@@ -569,6 +569,12 @@ msgstr "Valor del parámetro"
|
|
569
569
|
msgid "Please Confirm"
|
570
570
|
msgstr "Confirmar"
|
571
571
|
|
572
|
+
msgid "Prefer IPv6"
|
573
|
+
msgstr ""
|
574
|
+
|
575
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
576
|
+
msgstr ""
|
577
|
+
|
572
578
|
msgid "Primary"
|
573
579
|
msgstr "Primario"
|
574
580
|
|
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_discovery 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2021-
|
12
|
-
"PO-Revision-Date: 2021-
|
11
|
+
"POT-Creation-Date: 2021-09-20 17:25+0200\n"
|
12
|
+
"PO-Revision-Date: 2021-09-20 17:25+0200\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -135,7 +135,7 @@ msgid "Execute rules against a discovered host"
|
|
135
135
|
msgstr ""
|
136
136
|
|
137
137
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136
|
138
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
138
|
+
#: ../app/controllers/discovered_hosts_controller.rb:160
|
139
139
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
140
140
|
msgstr ""
|
141
141
|
|
@@ -144,7 +144,7 @@ msgid "Unable to provision %{host}: %{errors}"
|
|
144
144
|
msgstr ""
|
145
145
|
|
146
146
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
|
147
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
147
|
+
#: ../app/controllers/discovered_hosts_controller.rb:167
|
148
148
|
msgid "No rule found for host %s"
|
149
149
|
msgstr ""
|
150
150
|
|
@@ -153,12 +153,12 @@ msgid "Execute rules against all currently discovered hosts"
|
|
153
153
|
msgstr ""
|
154
154
|
|
155
155
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156
|
156
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
156
|
+
#: ../app/controllers/discovered_hosts_controller.rb:173
|
157
157
|
msgid "Errors during auto provisioning: %s"
|
158
158
|
msgstr ""
|
159
159
|
|
160
160
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159
|
161
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
161
|
+
#: ../app/controllers/discovered_hosts_controller.rb:176
|
162
162
|
msgid "No discovered hosts to provision"
|
163
163
|
msgstr ""
|
164
164
|
|
@@ -179,7 +179,7 @@ msgid "Rebooting all discovered hosts"
|
|
179
179
|
msgstr ""
|
180
180
|
|
181
181
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221
|
182
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
182
|
+
#: ../app/controllers/discovered_hosts_controller.rb:129
|
183
183
|
msgid "Discovered hosts are rebooting now"
|
184
184
|
msgstr ""
|
185
185
|
|
@@ -259,79 +259,79 @@ msgstr ""
|
|
259
259
|
msgid "No discovered hosts to reboot"
|
260
260
|
msgstr ""
|
261
261
|
|
262
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
262
|
+
#: ../app/controllers/discovered_hosts_controller.rb:63
|
263
263
|
msgid "Successfully provisioned %s"
|
264
264
|
msgstr ""
|
265
265
|
|
266
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
266
|
+
#: ../app/controllers/discovered_hosts_controller.rb:97
|
267
267
|
msgid "Facts refreshed for %s"
|
268
268
|
msgstr ""
|
269
269
|
|
270
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
270
|
+
#: ../app/controllers/discovered_hosts_controller.rb:99
|
271
271
|
msgid "Failed to refresh facts for %s"
|
272
272
|
msgstr ""
|
273
273
|
|
274
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
274
|
+
#: ../app/controllers/discovered_hosts_controller.rb:102
|
275
275
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
276
276
|
msgstr ""
|
277
277
|
|
278
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
278
|
+
#: ../app/controllers/discovered_hosts_controller.rb:109
|
279
279
|
msgid "Host of type %s can not be rebooted"
|
280
280
|
msgstr ""
|
281
281
|
|
282
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
282
|
+
#: ../app/controllers/discovered_hosts_controller.rb:113
|
283
283
|
msgid "Rebooting host %s"
|
284
284
|
msgstr ""
|
285
285
|
|
286
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
286
|
+
#: ../app/controllers/discovered_hosts_controller.rb:115
|
287
287
|
msgid "Failed to reboot host %s"
|
288
288
|
msgstr ""
|
289
289
|
|
290
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
290
|
+
#: ../app/controllers/discovered_hosts_controller.rb:118
|
291
291
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
292
292
|
msgstr ""
|
293
293
|
|
294
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
294
|
+
#: ../app/controllers/discovered_hosts_controller.rb:132
|
295
295
|
msgid "Failed to reboot hosts with error %s"
|
296
296
|
msgstr ""
|
297
297
|
|
298
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
298
|
+
#: ../app/controllers/discovered_hosts_controller.rb:150
|
299
299
|
msgid "Destroyed selected hosts"
|
300
300
|
msgstr ""
|
301
301
|
|
302
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
302
|
+
#: ../app/controllers/discovered_hosts_controller.rb:152
|
303
303
|
msgid "The following hosts were not deleted: %s"
|
304
304
|
msgstr ""
|
305
305
|
|
306
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
306
|
+
#: ../app/controllers/discovered_hosts_controller.rb:164
|
307
307
|
msgid "Failed to auto provision host %s: %s"
|
308
308
|
msgstr ""
|
309
309
|
|
310
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
310
|
+
#: ../app/controllers/discovered_hosts_controller.rb:192
|
311
311
|
msgid "Discovered hosts are provisioning now"
|
312
312
|
msgstr ""
|
313
313
|
|
314
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
314
|
+
#: ../app/controllers/discovered_hosts_controller.rb:277
|
315
315
|
msgid ""
|
316
316
|
"Discovered host reported from unknown subnet, communication will not be proxie"
|
317
317
|
"d."
|
318
318
|
msgstr ""
|
319
319
|
|
320
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
320
|
+
#: ../app/controllers/discovered_hosts_controller.rb:282
|
321
321
|
msgid ""
|
322
322
|
"Discovered hosts reported from unknown subnet are %s, communication will not b"
|
323
323
|
"e proxied."
|
324
324
|
msgstr ""
|
325
325
|
|
326
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
326
|
+
#: ../app/controllers/discovered_hosts_controller.rb:296
|
327
327
|
msgid "No hosts were found with that id or name"
|
328
328
|
msgstr ""
|
329
329
|
|
330
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
330
|
+
#: ../app/controllers/discovered_hosts_controller.rb:300
|
331
331
|
msgid "No hosts selected"
|
332
332
|
msgstr ""
|
333
333
|
|
334
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
334
|
+
#: ../app/controllers/discovered_hosts_controller.rb:306
|
335
335
|
msgid "Something went wrong while selecting hosts - %s"
|
336
336
|
msgstr ""
|
337
337
|
|
@@ -512,23 +512,23 @@ msgstr ""
|
|
512
512
|
msgid "Facts could not be imported"
|
513
513
|
msgstr ""
|
514
514
|
|
515
|
-
#: ../app/models/host/discovered.rb:
|
515
|
+
#: ../app/models/host/discovered.rb:155
|
516
516
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
517
517
|
msgstr ""
|
518
518
|
|
519
|
-
#: ../app/models/host/discovered.rb:
|
519
|
+
#: ../app/models/host/discovered.rb:173
|
520
520
|
msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
|
521
521
|
msgstr ""
|
522
522
|
|
523
|
-
#: ../app/models/host/discovered.rb:
|
523
|
+
#: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
|
524
524
|
msgid "Unable to perform %{action} on %{ips}"
|
525
525
|
msgstr ""
|
526
526
|
|
527
|
-
#: ../app/models/host/discovered.rb:
|
527
|
+
#: ../app/models/host/discovered.rb:196
|
528
528
|
msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
|
529
529
|
msgstr ""
|
530
530
|
|
531
|
-
#: ../app/models/host/discovered.rb:
|
531
|
+
#: ../app/models/host/discovered.rb:220
|
532
532
|
msgid "Invalid hostname: Could not normalize the hostname"
|
533
533
|
msgstr ""
|
534
534
|
|
@@ -744,6 +744,14 @@ msgstr ""
|
|
744
744
|
msgid "Type of name generator"
|
745
745
|
msgstr ""
|
746
746
|
|
747
|
+
#: ../app/models/setting/discovered.rb:40
|
748
|
+
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
749
|
+
msgstr ""
|
750
|
+
|
751
|
+
#: ../app/models/setting/discovered.rb:40
|
752
|
+
msgid "Prefer IPv6"
|
753
|
+
msgstr ""
|
754
|
+
|
747
755
|
#: ../app/services/foreman_discovery/fact_parser.rb:4
|
748
756
|
msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
|
749
757
|
msgstr ""
|
Binary file
|