foreman_discovery 24.0.1 → 25.0.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 +1 -1
- data/app/helpers/discovered_hosts_helper.rb +1 -1
- data/app/models/host/discovered.rb +1 -1
- data/app/views/discovered_hosts/show.html.erb +23 -21
- data/app/views/discovery_rules/_form.html.erb +0 -6
- data/config/initializers/inflections.rb +5 -0
- data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -1
- data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
- data/lib/foreman_discovery/engine.rb +300 -305
- data/lib/foreman_discovery/version.rb +1 -1
- data/lib/foreman_discovery.rake +1 -5
- data/locale/ca/foreman_discovery.edit.po +64 -64
- data/locale/cs_CZ/foreman_discovery.edit.po +64 -64
- data/locale/de/foreman_discovery.edit.po +64 -64
- data/locale/en/foreman_discovery.edit.po +64 -64
- data/locale/en_GB/foreman_discovery.edit.po +64 -64
- data/locale/es/foreman_discovery.edit.po +64 -64
- data/locale/foreman_discovery.pot +68 -68
- data/locale/fr/foreman_discovery.edit.po +64 -64
- data/locale/gl/foreman_discovery.edit.po +64 -64
- data/locale/it/foreman_discovery.edit.po +64 -64
- data/locale/ja/foreman_discovery.edit.po +64 -64
- data/locale/ka/foreman_discovery.edit.po +64 -64
- data/locale/ko/foreman_discovery.edit.po +64 -64
- data/locale/pt_BR/foreman_discovery.edit.po +64 -64
- data/locale/ru/foreman_discovery.edit.po +64 -64
- data/locale/sv_SE/foreman_discovery.edit.po +64 -64
- data/locale/zh_CN/foreman_discovery.edit.po +64 -64
- data/locale/zh_TW/foreman_discovery.edit.po +64 -64
- data/package.json +0 -2
- data/test/functional/discovered_hosts_controller_test.rb +1 -1
- metadata +14 -15
- data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb.orig +0 -81
@@ -120,7 +120,7 @@ msgstr ""
|
|
120
120
|
msgid "Execute rules against a discovered host"
|
121
121
|
msgstr ""
|
122
122
|
|
123
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:
|
123
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:164
|
124
124
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
125
125
|
msgstr ""
|
126
126
|
|
@@ -128,7 +128,7 @@ msgstr ""
|
|
128
128
|
msgid "Unable to provision %{host}: %{errors}"
|
129
129
|
msgstr ""
|
130
130
|
|
131
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:
|
131
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:171
|
132
132
|
msgid "No rule found for host %s"
|
133
133
|
msgstr ""
|
134
134
|
|
@@ -136,11 +136,11 @@ msgstr ""
|
|
136
136
|
msgid "Execute rules against all currently discovered hosts"
|
137
137
|
msgstr ""
|
138
138
|
|
139
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:
|
139
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:177
|
140
140
|
msgid "Errors during auto provisioning: %s"
|
141
141
|
msgstr ""
|
142
142
|
|
143
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:
|
143
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:180
|
144
144
|
msgid "No discovered hosts to provision"
|
145
145
|
msgstr ""
|
146
146
|
|
@@ -160,7 +160,7 @@ msgstr ""
|
|
160
160
|
msgid "Rebooting all discovered hosts"
|
161
161
|
msgstr ""
|
162
162
|
|
163
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:
|
163
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:133
|
164
164
|
msgid "Discovered hosts are rebooting now"
|
165
165
|
msgstr ""
|
166
166
|
|
@@ -244,71 +244,71 @@ msgstr ""
|
|
244
244
|
msgid "Successfully provisioned %s"
|
245
245
|
msgstr ""
|
246
246
|
|
247
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
247
|
+
#: ../app/controllers/discovered_hosts_controller.rb:101
|
248
248
|
msgid "Facts refreshed for %s"
|
249
249
|
msgstr "Fakta uppdaterade för %s"
|
250
250
|
|
251
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
251
|
+
#: ../app/controllers/discovered_hosts_controller.rb:103
|
252
252
|
msgid "Failed to refresh facts for %s"
|
253
253
|
msgstr "Misslyckades med att uppdatera fakta för %s"
|
254
254
|
|
255
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
255
|
+
#: ../app/controllers/discovered_hosts_controller.rb:106
|
256
256
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
257
257
|
msgstr ""
|
258
258
|
|
259
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
259
|
+
#: ../app/controllers/discovered_hosts_controller.rb:113
|
260
260
|
msgid "Host of type %s can not be rebooted"
|
261
261
|
msgstr ""
|
262
262
|
|
263
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
263
|
+
#: ../app/controllers/discovered_hosts_controller.rb:117
|
264
264
|
msgid "Rebooting host %s"
|
265
265
|
msgstr ""
|
266
266
|
|
267
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
267
|
+
#: ../app/controllers/discovered_hosts_controller.rb:119
|
268
268
|
msgid "Failed to reboot host %s"
|
269
269
|
msgstr ""
|
270
270
|
|
271
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
271
|
+
#: ../app/controllers/discovered_hosts_controller.rb:122
|
272
272
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
273
273
|
msgstr ""
|
274
274
|
|
275
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
275
|
+
#: ../app/controllers/discovered_hosts_controller.rb:136
|
276
276
|
msgid "Failed to reboot hosts with error %s"
|
277
277
|
msgstr ""
|
278
278
|
|
279
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
279
|
+
#: ../app/controllers/discovered_hosts_controller.rb:154
|
280
280
|
msgid "Destroyed selected hosts"
|
281
281
|
msgstr "Förstör markerade värdar"
|
282
282
|
|
283
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
283
|
+
#: ../app/controllers/discovered_hosts_controller.rb:156
|
284
284
|
msgid "The following hosts were not deleted: %s"
|
285
285
|
msgstr "Följande värdar raderades inte: %s"
|
286
286
|
|
287
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
287
|
+
#: ../app/controllers/discovered_hosts_controller.rb:168
|
288
288
|
msgid "Failed to auto provision host %s: %s"
|
289
289
|
msgstr ""
|
290
290
|
|
291
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
291
|
+
#: ../app/controllers/discovered_hosts_controller.rb:196
|
292
292
|
msgid "Discovered hosts are provisioning now"
|
293
293
|
msgstr ""
|
294
294
|
|
295
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
295
|
+
#: ../app/controllers/discovered_hosts_controller.rb:285
|
296
296
|
msgid "Discovered host reported from unknown subnet, communication will not be proxied."
|
297
297
|
msgstr ""
|
298
298
|
|
299
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
299
|
+
#: ../app/controllers/discovered_hosts_controller.rb:290
|
300
300
|
msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
|
301
301
|
msgstr ""
|
302
302
|
|
303
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
303
|
+
#: ../app/controllers/discovered_hosts_controller.rb:304
|
304
304
|
msgid "No hosts were found with that id or name"
|
305
305
|
msgstr "Inga värdar med det idt eller namnet hittades"
|
306
306
|
|
307
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
307
|
+
#: ../app/controllers/discovered_hosts_controller.rb:308
|
308
308
|
msgid "No hosts selected"
|
309
309
|
msgstr "Inga värdar markerade"
|
310
310
|
|
311
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
311
|
+
#: ../app/controllers/discovered_hosts_controller.rb:314
|
312
312
|
msgid "Something went wrong while selecting hosts - %s"
|
313
313
|
msgstr "Något blev fel vid markering av värdar - %s"
|
314
314
|
|
@@ -328,7 +328,7 @@ msgstr ""
|
|
328
328
|
msgid "Refresh facts"
|
329
329
|
msgstr "Uppdatera fakta"
|
330
330
|
|
331
|
-
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42 ../lib/foreman_discovery/engine.rb:
|
331
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42 ../lib/foreman_discovery/engine.rb:91
|
332
332
|
msgid "Reboot"
|
333
333
|
msgstr ""
|
334
334
|
|
@@ -380,7 +380,7 @@ msgstr ""
|
|
380
380
|
msgid "Provision"
|
381
381
|
msgstr "Provisionera"
|
382
382
|
|
383
|
-
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:
|
383
|
+
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:5 ../lib/foreman_discovery/engine.rb:309 ../lib/foreman_discovery/engine.rb:324
|
384
384
|
msgid "Discovered Hosts"
|
385
385
|
msgstr "Hittade värdar"
|
386
386
|
|
@@ -818,7 +818,7 @@ msgstr "Klona %s"
|
|
818
818
|
msgid "Edit %s"
|
819
819
|
msgstr "Redigera %s"
|
820
820
|
|
821
|
-
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:
|
821
|
+
#: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:314 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
|
822
822
|
msgid "Discovery Rules"
|
823
823
|
msgstr ""
|
824
824
|
|
@@ -854,7 +854,7 @@ msgstr ""
|
|
854
854
|
msgid "New Discovery Rule"
|
855
855
|
msgstr ""
|
856
856
|
|
857
|
-
#: ../app/views/discovery_rules/welcome.html.erb:
|
857
|
+
#: ../app/views/discovery_rules/welcome.html.erb:5
|
858
858
|
msgid "Discovered Rules"
|
859
859
|
msgstr ""
|
860
860
|
|
@@ -926,23 +926,23 @@ msgstr ""
|
|
926
926
|
msgid "Clean all reported facts during provisioning (except discovery facts)"
|
927
927
|
msgstr ""
|
928
928
|
|
929
|
-
#: ../lib/foreman_discovery/engine.rb:
|
929
|
+
#: ../lib/foreman_discovery/engine.rb:79
|
930
930
|
msgid "Hostname facts"
|
931
931
|
msgstr ""
|
932
932
|
|
933
|
-
#: ../lib/foreman_discovery/engine.rb:
|
933
|
+
#: ../lib/foreman_discovery/engine.rb:80
|
934
934
|
msgid "List of facts to use for the hostname (first wins)"
|
935
935
|
msgstr ""
|
936
936
|
|
937
|
-
#: ../lib/foreman_discovery/engine.rb:
|
937
|
+
#: ../lib/foreman_discovery/engine.rb:85
|
938
938
|
msgid "Auto provisioning"
|
939
939
|
msgstr ""
|
940
940
|
|
941
|
-
#: ../lib/foreman_discovery/engine.rb:
|
941
|
+
#: ../lib/foreman_discovery/engine.rb:86
|
942
942
|
msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
|
943
943
|
msgstr ""
|
944
944
|
|
945
|
-
#: ../lib/foreman_discovery/engine.rb:
|
945
|
+
#: ../lib/foreman_discovery/engine.rb:92
|
946
946
|
msgid "Automatically reboot or kexec discovered host during provisioning"
|
947
947
|
msgstr ""
|
948
948
|
|
@@ -954,135 +954,135 @@ msgstr ""
|
|
954
954
|
msgid "The default prefix to use for the host name, must start with a letter"
|
955
955
|
msgstr ""
|
956
956
|
|
957
|
-
#: ../lib/foreman_discovery/engine.rb:
|
957
|
+
#: ../lib/foreman_discovery/engine.rb:104
|
958
958
|
msgid "Fact columns"
|
959
959
|
msgstr ""
|
960
960
|
|
961
|
-
#: ../lib/foreman_discovery/engine.rb:
|
961
|
+
#: ../lib/foreman_discovery/engine.rb:105
|
962
962
|
msgid "Extra facter columns to show in host lists"
|
963
963
|
msgstr ""
|
964
964
|
|
965
|
-
#: ../lib/foreman_discovery/engine.rb:
|
965
|
+
#: ../lib/foreman_discovery/engine.rb:110
|
966
966
|
msgid "Highlighted facts"
|
967
967
|
msgstr ""
|
968
968
|
|
969
|
-
#: ../lib/foreman_discovery/engine.rb:
|
969
|
+
#: ../lib/foreman_discovery/engine.rb:111
|
970
970
|
msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
|
971
971
|
msgstr ""
|
972
972
|
|
973
|
-
#: ../lib/foreman_discovery/engine.rb:
|
973
|
+
#: ../lib/foreman_discovery/engine.rb:116
|
974
974
|
msgid "Storage facts"
|
975
975
|
msgstr ""
|
976
976
|
|
977
|
-
#: ../lib/foreman_discovery/engine.rb:
|
977
|
+
#: ../lib/foreman_discovery/engine.rb:117
|
978
978
|
msgid "Regex to organize facts for storage section"
|
979
979
|
msgstr ""
|
980
980
|
|
981
|
-
#: ../lib/foreman_discovery/engine.rb:
|
981
|
+
#: ../lib/foreman_discovery/engine.rb:122
|
982
982
|
msgid "Software facts"
|
983
983
|
msgstr ""
|
984
984
|
|
985
|
-
#: ../lib/foreman_discovery/engine.rb:
|
985
|
+
#: ../lib/foreman_discovery/engine.rb:123
|
986
986
|
msgid "Regex to organize facts for software section"
|
987
987
|
msgstr ""
|
988
988
|
|
989
|
-
#: ../lib/foreman_discovery/engine.rb:
|
989
|
+
#: ../lib/foreman_discovery/engine.rb:128
|
990
990
|
msgid "Hardware facts"
|
991
991
|
msgstr ""
|
992
992
|
|
993
|
-
#: ../lib/foreman_discovery/engine.rb:
|
993
|
+
#: ../lib/foreman_discovery/engine.rb:129
|
994
994
|
msgid "Regex to organize facts for hardware section"
|
995
995
|
msgstr ""
|
996
996
|
|
997
|
-
#: ../lib/foreman_discovery/engine.rb:
|
997
|
+
#: ../lib/foreman_discovery/engine.rb:134
|
998
998
|
msgid "Network facts"
|
999
999
|
msgstr ""
|
1000
1000
|
|
1001
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1001
|
+
#: ../lib/foreman_discovery/engine.rb:135
|
1002
1002
|
msgid "Regex to organize facts for network section"
|
1003
1003
|
msgstr ""
|
1004
1004
|
|
1005
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1005
|
+
#: ../lib/foreman_discovery/engine.rb:140
|
1006
1006
|
msgid "IPMI facts"
|
1007
1007
|
msgstr ""
|
1008
1008
|
|
1009
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1009
|
+
#: ../lib/foreman_discovery/engine.rb:141
|
1010
1010
|
msgid "Regex to organize facts for ipmi section"
|
1011
1011
|
msgstr ""
|
1012
1012
|
|
1013
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1013
|
+
#: ../lib/foreman_discovery/engine.rb:146
|
1014
1014
|
msgid "Lock PXE"
|
1015
1015
|
msgstr ""
|
1016
1016
|
|
1017
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1017
|
+
#: ../lib/foreman_discovery/engine.rb:147
|
1018
1018
|
msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
|
1019
1019
|
msgstr ""
|
1020
1020
|
|
1021
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1021
|
+
#: ../lib/foreman_discovery/engine.rb:153
|
1022
1022
|
msgid "Locked PXELinux template name"
|
1023
1023
|
msgstr ""
|
1024
1024
|
|
1025
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1025
|
+
#: ../lib/foreman_discovery/engine.rb:154
|
1026
1026
|
msgid "PXELinux template to be used when pinning a host to discovery"
|
1027
1027
|
msgstr ""
|
1028
1028
|
|
1029
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1029
|
+
#: ../lib/foreman_discovery/engine.rb:160
|
1030
1030
|
msgid "Locked PXEGrub template name"
|
1031
1031
|
msgstr ""
|
1032
1032
|
|
1033
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1033
|
+
#: ../lib/foreman_discovery/engine.rb:161
|
1034
1034
|
msgid "PXEGrub template to be used when pinning a host to discovery"
|
1035
1035
|
msgstr ""
|
1036
1036
|
|
1037
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1037
|
+
#: ../lib/foreman_discovery/engine.rb:167
|
1038
1038
|
msgid "Locked PXEGrub2 template name"
|
1039
1039
|
msgstr ""
|
1040
1040
|
|
1041
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1041
|
+
#: ../lib/foreman_discovery/engine.rb:168
|
1042
1042
|
msgid "PXEGrub2 template to be used when pinning a host to discovery"
|
1043
1043
|
msgstr ""
|
1044
1044
|
|
1045
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1045
|
+
#: ../lib/foreman_discovery/engine.rb:173
|
1046
1046
|
msgid "Force DNS"
|
1047
1047
|
msgstr ""
|
1048
1048
|
|
1049
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1049
|
+
#: ../lib/foreman_discovery/engine.rb:174
|
1050
1050
|
msgid "Force DNS entries creation when provisioning discovered host"
|
1051
1051
|
msgstr ""
|
1052
1052
|
|
1053
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1053
|
+
#: ../lib/foreman_discovery/engine.rb:179
|
1054
1054
|
msgid "Error on existing NIC"
|
1055
1055
|
msgstr ""
|
1056
1056
|
|
1057
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1057
|
+
#: ../lib/foreman_discovery/engine.rb:180
|
1058
1058
|
msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
|
1059
1059
|
msgstr ""
|
1060
1060
|
|
1061
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1061
|
+
#: ../lib/foreman_discovery/engine.rb:186
|
1062
1062
|
msgid "Type of name generator"
|
1063
1063
|
msgstr ""
|
1064
1064
|
|
1065
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1065
|
+
#: ../lib/foreman_discovery/engine.rb:187
|
1066
1066
|
msgid "Discovery hostname naming pattern"
|
1067
1067
|
msgstr ""
|
1068
1068
|
|
1069
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1069
|
+
#: ../lib/foreman_discovery/engine.rb:192
|
1070
1070
|
msgid "Prefer IPv6"
|
1071
1071
|
msgstr ""
|
1072
1072
|
|
1073
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1073
|
+
#: ../lib/foreman_discovery/engine.rb:193
|
1074
1074
|
msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
|
1075
1075
|
msgstr ""
|
1076
1076
|
|
1077
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1077
|
+
#: ../lib/foreman_discovery/engine.rb:333
|
1078
1078
|
msgid "Discovery Proxy"
|
1079
1079
|
msgstr ""
|
1080
1080
|
|
1081
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1081
|
+
#: ../lib/foreman_discovery/engine.rb:334
|
1082
1082
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1083
1083
|
msgstr ""
|
1084
1084
|
|
1085
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1085
|
+
#: ../lib/foreman_discovery/engine.rb:335
|
1086
1086
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1087
1087
|
msgstr ""
|
1088
1088
|
|