foreman_discovery 26.0.1 → 26.0.2
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/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +4 -1
- data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +4 -1
- data/lib/foreman_discovery/engine.rb +4 -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 +4 -1
- data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/cs_CZ/foreman_discovery.po +4 -1
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.po +4 -1
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.po +851 -0
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.po +4 -1
- data/locale/foreman_discovery.pot +8 -4
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.po +4 -1
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.po +4 -1
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.po +4 -1
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.po +4 -1
- data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ka/foreman_discovery.po +4 -1
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.po +4 -1
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.po +4 -1
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.po +4 -1
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.po +4 -1
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.po +4 -1
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.po +4 -1
- data/test/unit/host_discovered_test.rb +17 -0
- metadata +4 -1
Binary file
|
@@ -11,7 +11,7 @@
|
|
11
11
|
# Sergio Ocón-Cárdenas, 2014
|
12
12
|
msgid ""
|
13
13
|
msgstr ""
|
14
|
-
"Project-Id-Version: foreman_discovery
|
14
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
15
15
|
"Report-Msgid-Bugs-To: \n"
|
16
16
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
17
17
|
"Last-Translator: Sergio Ocón-Cárdenas, 2014\n"
|
@@ -801,6 +801,9 @@ msgstr "ID de ubicación para hosts aprovisionados"
|
|
801
801
|
msgid "must be present."
|
802
802
|
msgstr "debe estar presente."
|
803
803
|
|
804
|
+
msgid "must start with a letter"
|
805
|
+
msgstr ""
|
806
|
+
|
804
807
|
msgid "must start with a letter or ERB."
|
805
808
|
msgstr "debe comenzar con una letra o ERB."
|
806
809
|
|
@@ -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: 2025-
|
12
|
-
"PO-Revision-Date: 2025-
|
11
|
+
"POT-Creation-Date: 2025-09-12 13:19+0200\n"
|
12
|
+
"PO-Revision-Date: 2025-09-12 13:19+0200\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -1048,6 +1048,10 @@ msgstr ""
|
|
1048
1048
|
msgid "Automatically reboot or kexec discovered host during provisioning"
|
1049
1049
|
msgstr ""
|
1050
1050
|
|
1051
|
+
#: ../lib/foreman_discovery/engine.rb:91
|
1052
|
+
msgid "must start with a letter"
|
1053
|
+
msgstr ""
|
1054
|
+
|
1051
1055
|
#: ../lib/foreman_discovery/engine.rb:92
|
1052
1056
|
msgid "Hostname prefix"
|
1053
1057
|
msgstr ""
|
@@ -1197,12 +1201,12 @@ msgid ""
|
|
1197
1201
|
msgstr ""
|
1198
1202
|
|
1199
1203
|
#:
|
1200
|
-
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:
|
1204
|
+
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
|
1201
1205
|
msgid "For more information please see "
|
1202
1206
|
msgstr ""
|
1203
1207
|
|
1204
1208
|
#:
|
1205
|
-
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:
|
1209
|
+
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:35
|
1206
1210
|
msgid "documentation"
|
1207
1211
|
msgstr ""
|
1208
1212
|
|
Binary file
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014,2016-2017
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: foreman_discovery
|
11
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
13
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
14
14
|
"Last-Translator: Baptiste Agasse <baptiste.agasse@gmail.com>, 2018-2019\n"
|
@@ -797,6 +797,9 @@ msgstr "ID d'emplacement pour les hôtes mis en service"
|
|
797
797
|
msgid "must be present."
|
798
798
|
msgstr "doit être présent."
|
799
799
|
|
800
|
+
msgid "must start with a letter"
|
801
|
+
msgstr ""
|
802
|
+
|
800
803
|
msgid "must start with a letter or ERB."
|
801
804
|
msgstr "doit commencer par une lettre ou par ERB."
|
802
805
|
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -791,6 +791,9 @@ msgstr ""
|
|
791
791
|
msgid "must be present."
|
792
792
|
msgstr ""
|
793
793
|
|
794
|
+
msgid "must start with a letter"
|
795
|
+
msgstr ""
|
796
|
+
|
794
797
|
msgid "must start with a letter or ERB."
|
795
798
|
msgstr ""
|
796
799
|
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# caifti <caifti@gmail.com>, 2014
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_discovery
|
10
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
13
13
|
"Last-Translator: caifti <caifti@gmail.com>, 2014\n"
|
@@ -794,6 +794,9 @@ msgstr ""
|
|
794
794
|
msgid "must be present."
|
795
795
|
msgstr ""
|
796
796
|
|
797
|
+
msgid "must start with a letter"
|
798
|
+
msgstr ""
|
799
|
+
|
797
800
|
msgid "must start with a letter or ERB."
|
798
801
|
msgstr "deve iniziare con una lettera o ERB."
|
799
802
|
|
Binary file
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2015
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: foreman_discovery
|
11
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
13
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
14
14
|
"Last-Translator: 山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2015\n"
|
@@ -791,6 +791,9 @@ msgstr "プロビジョニングされたホストのロケーション ID"
|
|
791
791
|
msgid "must be present."
|
792
792
|
msgstr "必須です。"
|
793
793
|
|
794
|
+
msgid "must start with a letter"
|
795
|
+
msgstr ""
|
796
|
+
|
794
797
|
msgid "must start with a letter or ERB."
|
795
798
|
msgstr "文字または ERB で開始する必要があります。"
|
796
799
|
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -791,6 +791,9 @@ msgstr "სამუშაოდ მომზადებული ჰოსტ
|
|
791
791
|
msgid "must be present."
|
792
792
|
msgstr "უნდა არსებობდეს."
|
793
793
|
|
794
|
+
msgid "must start with a letter"
|
795
|
+
msgstr ""
|
796
|
+
|
794
797
|
msgid "must start with a letter or ERB."
|
795
798
|
msgstr "უნდა იწყებოდეს სიმბოლოთი ან ERB-ით."
|
796
799
|
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2022
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: foreman_discovery
|
9
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
12
12
|
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
@@ -789,6 +789,9 @@ msgstr "프로비저닝된 호스트의 위치 ID"
|
|
789
789
|
msgid "must be present."
|
790
790
|
msgstr "반드시 존재해야 합니다."
|
791
791
|
|
792
|
+
msgid "must start with a letter"
|
793
|
+
msgstr ""
|
794
|
+
|
792
795
|
msgid "must start with a letter or ERB."
|
793
796
|
msgstr "문자 또는 ERB로 시작해야 합니다."
|
794
797
|
|
Binary file
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# Valeria S Silva <valeriassilva@live.com>, 2015
|
14
14
|
msgid ""
|
15
15
|
msgstr ""
|
16
|
-
"Project-Id-Version: foreman_discovery
|
16
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
17
17
|
"Report-Msgid-Bugs-To: \n"
|
18
18
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
19
19
|
"Last-Translator: Valeria S Silva <valeriassilva@live.com>, 2015\n"
|
@@ -803,6 +803,9 @@ msgstr "ID de local para hosts provisionados"
|
|
803
803
|
msgid "must be present."
|
804
804
|
msgstr "deve estar presente."
|
805
805
|
|
806
|
+
msgid "must start with a letter"
|
807
|
+
msgstr ""
|
808
|
+
|
806
809
|
msgid "must start with a letter or ERB."
|
807
810
|
msgstr "deve iniciar com uma letra ou ERB."
|
808
811
|
|
Binary file
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# Yulia <yulia.poyarkova@redhat.com>, 2016
|
11
11
|
msgid ""
|
12
12
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_discovery
|
13
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
15
15
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
16
16
|
"Last-Translator: Yulia <yulia.poyarkova@redhat.com>, 2016\n"
|
@@ -802,6 +802,9 @@ msgstr ""
|
|
802
802
|
msgid "must be present."
|
803
803
|
msgstr ""
|
804
804
|
|
805
|
+
msgid "must start with a letter"
|
806
|
+
msgstr ""
|
807
|
+
|
805
808
|
msgid "must start with a letter or ERB."
|
806
809
|
msgstr "должен начинаться с буквы или ERB"
|
807
810
|
|
Binary file
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# johnny.westerlund <johnny.westerlund@gmail.com>, 2014
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: foreman_discovery
|
11
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
13
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
14
14
|
"Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2014\n"
|
@@ -794,6 +794,9 @@ msgstr ""
|
|
794
794
|
msgid "must be present."
|
795
795
|
msgstr ""
|
796
796
|
|
797
|
+
msgid "must start with a letter"
|
798
|
+
msgstr ""
|
799
|
+
|
797
800
|
msgid "must start with a letter or ERB."
|
798
801
|
msgstr ""
|
799
802
|
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: foreman_discovery
|
9
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
12
12
|
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
@@ -790,6 +790,9 @@ msgstr "预配主机的位置 ID"
|
|
790
790
|
msgid "must be present."
|
791
791
|
msgstr "必须存在。"
|
792
792
|
|
793
|
+
msgid "must start with a letter"
|
794
|
+
msgstr ""
|
795
|
+
|
793
796
|
msgid "must start with a letter or ERB."
|
794
797
|
msgstr "必须以字母或 ERB 开始。"
|
795
798
|
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery
|
8
|
+
"Project-Id-Version: foreman_discovery 26.0.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"PO-Revision-Date: 2013-11-15 17:25+0000\n"
|
11
11
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
@@ -791,6 +791,9 @@ msgstr ""
|
|
791
791
|
msgid "must be present."
|
792
792
|
msgstr ""
|
793
793
|
|
794
|
+
msgid "must start with a letter"
|
795
|
+
msgstr ""
|
796
|
+
|
794
797
|
msgid "must start with a letter or ERB."
|
795
798
|
msgstr ""
|
796
799
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require_relative '../test_plugin_helper'
|
2
2
|
|
3
|
+
# rubocop:disable Metrics/ClassLength
|
3
4
|
class HostDiscoveredTest < ActiveSupport::TestCase
|
4
5
|
include FactImporterIsolation
|
5
6
|
allow_transactions_for_any_importer
|
@@ -493,4 +494,20 @@ class HostDiscoveredTest < ActiveSupport::TestCase
|
|
493
494
|
assert_nil former_interface.name
|
494
495
|
assert_equal false, former_interface.primary
|
495
496
|
end
|
497
|
+
|
498
|
+
test "discovery_prefix validation" do
|
499
|
+
invalid_values = ['with space', 'with$special', '-dash', '0hello', ('a' * 63), '']
|
500
|
+
valid_values = ['valid', 'also-valid', 'a' * 62, 'valid-123', 'dash-']
|
501
|
+
|
502
|
+
invalid_values.each do |value|
|
503
|
+
assert_raises(ActiveRecord::RecordInvalid, "the '#{value}' value should be invalid") do
|
504
|
+
Setting[:discovery_prefix] = value
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
valid_values.each do |value|
|
509
|
+
Setting[:discovery_prefix] = value
|
510
|
+
end
|
511
|
+
end
|
512
|
+
# rubocop:enable Metrics/ClassLength
|
496
513
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 26.0.
|
4
|
+
version: 26.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js
|
91
91
|
- app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js
|
92
92
|
- app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js
|
93
|
+
- app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js
|
93
94
|
- app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js
|
94
95
|
- app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js
|
95
96
|
- app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js
|
@@ -221,6 +222,8 @@ files:
|
|
221
222
|
- locale/cs_CZ/foreman_discovery.po
|
222
223
|
- locale/de/LC_MESSAGES/foreman_discovery.mo
|
223
224
|
- locale/de/foreman_discovery.po
|
225
|
+
- locale/en_GB/LC_MESSAGES/foreman_discovery.mo
|
226
|
+
- locale/en_GB/foreman_discovery.po
|
224
227
|
- locale/es/LC_MESSAGES/foreman_discovery.mo
|
225
228
|
- locale/es/foreman_discovery.po
|
226
229
|
- locale/foreman_discovery.pot
|