foreman_discovery 24.0.1 → 25.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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -1
  3. data/app/helpers/discovered_hosts_helper.rb +1 -1
  4. data/app/models/host/discovered.rb +1 -1
  5. data/app/views/discovered_hosts/show.html.erb +23 -21
  6. data/app/views/discovery_rules/_form.html.erb +0 -6
  7. data/config/initializers/inflections.rb +5 -0
  8. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -1
  9. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  10. data/lib/foreman_discovery/engine.rb +300 -305
  11. data/lib/foreman_discovery/version.rb +1 -1
  12. data/lib/foreman_discovery.rake +1 -5
  13. data/locale/ca/foreman_discovery.edit.po +64 -64
  14. data/locale/cs_CZ/foreman_discovery.edit.po +64 -64
  15. data/locale/de/foreman_discovery.edit.po +64 -64
  16. data/locale/en/foreman_discovery.edit.po +64 -64
  17. data/locale/en_GB/foreman_discovery.edit.po +64 -64
  18. data/locale/es/foreman_discovery.edit.po +64 -64
  19. data/locale/foreman_discovery.pot +68 -68
  20. data/locale/fr/foreman_discovery.edit.po +64 -64
  21. data/locale/gl/foreman_discovery.edit.po +64 -64
  22. data/locale/it/foreman_discovery.edit.po +64 -64
  23. data/locale/ja/foreman_discovery.edit.po +64 -64
  24. data/locale/ka/foreman_discovery.edit.po +64 -64
  25. data/locale/ko/foreman_discovery.edit.po +64 -64
  26. data/locale/pt_BR/foreman_discovery.edit.po +64 -64
  27. data/locale/ru/foreman_discovery.edit.po +64 -64
  28. data/locale/sv_SE/foreman_discovery.edit.po +64 -64
  29. data/locale/zh_CN/foreman_discovery.edit.po +64 -64
  30. data/locale/zh_TW/foreman_discovery.edit.po +64 -64
  31. data/package.json +0 -2
  32. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  33. metadata +14 -15
  34. data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb.orig +0 -81
@@ -112,7 +112,7 @@ msgstr ""
112
112
  msgid "Execute rules against a discovered host"
113
113
  msgstr ""
114
114
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:163
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:164
116
116
  msgid "Host %{host} was provisioned with rule %{rule}"
117
117
  msgstr ""
118
118
 
@@ -120,7 +120,7 @@ msgstr ""
120
120
  msgid "Unable to provision %{host}: %{errors}"
121
121
  msgstr ""
122
122
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:170
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:171
124
124
  msgid "No rule found for host %s"
125
125
  msgstr ""
126
126
 
@@ -128,11 +128,11 @@ msgstr ""
128
128
  msgid "Execute rules against all currently discovered hosts"
129
129
  msgstr ""
130
130
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:176
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:177
132
132
  msgid "Errors during auto provisioning: %s"
133
133
  msgstr ""
134
134
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:179
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:180
136
136
  msgid "No discovered hosts to provision"
137
137
  msgstr ""
138
138
 
@@ -152,7 +152,7 @@ msgstr ""
152
152
  msgid "Rebooting all discovered hosts"
153
153
  msgstr ""
154
154
 
155
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:132
155
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:133
156
156
  msgid "Discovered hosts are rebooting now"
157
157
  msgstr ""
158
158
 
@@ -236,71 +236,71 @@ msgstr ""
236
236
  msgid "Successfully provisioned %s"
237
237
  msgstr ""
238
238
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:100
239
+ #: ../app/controllers/discovered_hosts_controller.rb:101
240
240
  msgid "Facts refreshed for %s"
241
241
  msgstr ""
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:102
243
+ #: ../app/controllers/discovered_hosts_controller.rb:103
244
244
  msgid "Failed to refresh facts for %s"
245
245
  msgstr ""
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:105
247
+ #: ../app/controllers/discovered_hosts_controller.rb:106
248
248
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
249
249
  msgstr ""
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:112
251
+ #: ../app/controllers/discovered_hosts_controller.rb:113
252
252
  msgid "Host of type %s can not be rebooted"
253
253
  msgstr ""
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:116
255
+ #: ../app/controllers/discovered_hosts_controller.rb:117
256
256
  msgid "Rebooting host %s"
257
257
  msgstr ""
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:118
259
+ #: ../app/controllers/discovered_hosts_controller.rb:119
260
260
  msgid "Failed to reboot host %s"
261
261
  msgstr ""
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:121
263
+ #: ../app/controllers/discovered_hosts_controller.rb:122
264
264
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
265
265
  msgstr ""
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:135
267
+ #: ../app/controllers/discovered_hosts_controller.rb:136
268
268
  msgid "Failed to reboot hosts with error %s"
269
269
  msgstr ""
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:153
271
+ #: ../app/controllers/discovered_hosts_controller.rb:154
272
272
  msgid "Destroyed selected hosts"
273
273
  msgstr ""
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:155
275
+ #: ../app/controllers/discovered_hosts_controller.rb:156
276
276
  msgid "The following hosts were not deleted: %s"
277
277
  msgstr ""
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:167
279
+ #: ../app/controllers/discovered_hosts_controller.rb:168
280
280
  msgid "Failed to auto provision host %s: %s"
281
281
  msgstr ""
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:195
283
+ #: ../app/controllers/discovered_hosts_controller.rb:196
284
284
  msgid "Discovered hosts are provisioning now"
285
285
  msgstr ""
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:280
287
+ #: ../app/controllers/discovered_hosts_controller.rb:285
288
288
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
289
289
  msgstr ""
290
290
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:285
291
+ #: ../app/controllers/discovered_hosts_controller.rb:290
292
292
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
293
293
  msgstr ""
294
294
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:299
295
+ #: ../app/controllers/discovered_hosts_controller.rb:304
296
296
  msgid "No hosts were found with that id or name"
297
297
  msgstr ""
298
298
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:303
299
+ #: ../app/controllers/discovered_hosts_controller.rb:308
300
300
  msgid "No hosts selected"
301
301
  msgstr ""
302
302
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:309
303
+ #: ../app/controllers/discovered_hosts_controller.rb:314
304
304
  msgid "Something went wrong while selecting hosts - %s"
305
305
  msgstr ""
306
306
 
@@ -320,7 +320,7 @@ msgstr ""
320
320
  msgid "Refresh facts"
321
321
  msgstr ""
322
322
 
323
- #: ../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:92
323
+ #: ../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
324
324
  msgid "Reboot"
325
325
  msgstr ""
326
326
 
@@ -372,7 +372,7 @@ msgstr ""
372
372
  msgid "Provision"
373
373
  msgstr ""
374
374
 
375
- #: ../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:311 ../lib/foreman_discovery/engine.rb:326
375
+ #: ../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
376
376
  msgid "Discovered Hosts"
377
377
  msgstr ""
378
378
 
@@ -810,7 +810,7 @@ msgstr ""
810
810
  msgid "Edit %s"
811
811
  msgstr ""
812
812
 
813
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:316 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
813
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:314 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
814
814
  msgid "Discovery Rules"
815
815
  msgstr ""
816
816
 
@@ -846,7 +846,7 @@ msgstr ""
846
846
  msgid "New Discovery Rule"
847
847
  msgstr ""
848
848
 
849
- #: ../app/views/discovery_rules/welcome.html.erb:8
849
+ #: ../app/views/discovery_rules/welcome.html.erb:5
850
850
  msgid "Discovered Rules"
851
851
  msgstr ""
852
852
 
@@ -918,23 +918,23 @@ msgstr ""
918
918
  msgid "Clean all reported facts during provisioning (except discovery facts)"
919
919
  msgstr ""
920
920
 
921
- #: ../lib/foreman_discovery/engine.rb:78
921
+ #: ../lib/foreman_discovery/engine.rb:79
922
922
  msgid "Hostname facts"
923
923
  msgstr ""
924
924
 
925
- #: ../lib/foreman_discovery/engine.rb:79
925
+ #: ../lib/foreman_discovery/engine.rb:80
926
926
  msgid "List of facts to use for the hostname (first wins)"
927
927
  msgstr ""
928
928
 
929
- #: ../lib/foreman_discovery/engine.rb:86
929
+ #: ../lib/foreman_discovery/engine.rb:85
930
930
  msgid "Auto provisioning"
931
931
  msgstr ""
932
932
 
933
- #: ../lib/foreman_discovery/engine.rb:87
933
+ #: ../lib/foreman_discovery/engine.rb:86
934
934
  msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
935
935
  msgstr ""
936
936
 
937
- #: ../lib/foreman_discovery/engine.rb:93
937
+ #: ../lib/foreman_discovery/engine.rb:92
938
938
  msgid "Automatically reboot or kexec discovered host during provisioning"
939
939
  msgstr ""
940
940
 
@@ -946,135 +946,135 @@ msgstr ""
946
946
  msgid "The default prefix to use for the host name, must start with a letter"
947
947
  msgstr ""
948
948
 
949
- #: ../lib/foreman_discovery/engine.rb:106
949
+ #: ../lib/foreman_discovery/engine.rb:104
950
950
  msgid "Fact columns"
951
951
  msgstr ""
952
952
 
953
- #: ../lib/foreman_discovery/engine.rb:107
953
+ #: ../lib/foreman_discovery/engine.rb:105
954
954
  msgid "Extra facter columns to show in host lists"
955
955
  msgstr ""
956
956
 
957
- #: ../lib/foreman_discovery/engine.rb:112
957
+ #: ../lib/foreman_discovery/engine.rb:110
958
958
  msgid "Highlighted facts"
959
959
  msgstr ""
960
960
 
961
- #: ../lib/foreman_discovery/engine.rb:113
961
+ #: ../lib/foreman_discovery/engine.rb:111
962
962
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
963
963
  msgstr ""
964
964
 
965
- #: ../lib/foreman_discovery/engine.rb:118
965
+ #: ../lib/foreman_discovery/engine.rb:116
966
966
  msgid "Storage facts"
967
967
  msgstr ""
968
968
 
969
- #: ../lib/foreman_discovery/engine.rb:119
969
+ #: ../lib/foreman_discovery/engine.rb:117
970
970
  msgid "Regex to organize facts for storage section"
971
971
  msgstr ""
972
972
 
973
- #: ../lib/foreman_discovery/engine.rb:124
973
+ #: ../lib/foreman_discovery/engine.rb:122
974
974
  msgid "Software facts"
975
975
  msgstr ""
976
976
 
977
- #: ../lib/foreman_discovery/engine.rb:125
977
+ #: ../lib/foreman_discovery/engine.rb:123
978
978
  msgid "Regex to organize facts for software section"
979
979
  msgstr ""
980
980
 
981
- #: ../lib/foreman_discovery/engine.rb:130
981
+ #: ../lib/foreman_discovery/engine.rb:128
982
982
  msgid "Hardware facts"
983
983
  msgstr ""
984
984
 
985
- #: ../lib/foreman_discovery/engine.rb:131
985
+ #: ../lib/foreman_discovery/engine.rb:129
986
986
  msgid "Regex to organize facts for hardware section"
987
987
  msgstr ""
988
988
 
989
- #: ../lib/foreman_discovery/engine.rb:136
989
+ #: ../lib/foreman_discovery/engine.rb:134
990
990
  msgid "Network facts"
991
991
  msgstr ""
992
992
 
993
- #: ../lib/foreman_discovery/engine.rb:137
993
+ #: ../lib/foreman_discovery/engine.rb:135
994
994
  msgid "Regex to organize facts for network section"
995
995
  msgstr ""
996
996
 
997
- #: ../lib/foreman_discovery/engine.rb:142
997
+ #: ../lib/foreman_discovery/engine.rb:140
998
998
  msgid "IPMI facts"
999
999
  msgstr ""
1000
1000
 
1001
- #: ../lib/foreman_discovery/engine.rb:143
1001
+ #: ../lib/foreman_discovery/engine.rb:141
1002
1002
  msgid "Regex to organize facts for ipmi section"
1003
1003
  msgstr ""
1004
1004
 
1005
- #: ../lib/foreman_discovery/engine.rb:148
1005
+ #: ../lib/foreman_discovery/engine.rb:146
1006
1006
  msgid "Lock PXE"
1007
1007
  msgstr ""
1008
1008
 
1009
- #: ../lib/foreman_discovery/engine.rb:149
1009
+ #: ../lib/foreman_discovery/engine.rb:147
1010
1010
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
1011
1011
  msgstr ""
1012
1012
 
1013
- #: ../lib/foreman_discovery/engine.rb:155
1013
+ #: ../lib/foreman_discovery/engine.rb:153
1014
1014
  msgid "Locked PXELinux template name"
1015
1015
  msgstr ""
1016
1016
 
1017
- #: ../lib/foreman_discovery/engine.rb:156
1017
+ #: ../lib/foreman_discovery/engine.rb:154
1018
1018
  msgid "PXELinux template to be used when pinning a host to discovery"
1019
1019
  msgstr ""
1020
1020
 
1021
- #: ../lib/foreman_discovery/engine.rb:162
1021
+ #: ../lib/foreman_discovery/engine.rb:160
1022
1022
  msgid "Locked PXEGrub template name"
1023
1023
  msgstr ""
1024
1024
 
1025
- #: ../lib/foreman_discovery/engine.rb:163
1025
+ #: ../lib/foreman_discovery/engine.rb:161
1026
1026
  msgid "PXEGrub template to be used when pinning a host to discovery"
1027
1027
  msgstr ""
1028
1028
 
1029
- #: ../lib/foreman_discovery/engine.rb:169
1029
+ #: ../lib/foreman_discovery/engine.rb:167
1030
1030
  msgid "Locked PXEGrub2 template name"
1031
1031
  msgstr ""
1032
1032
 
1033
- #: ../lib/foreman_discovery/engine.rb:170
1033
+ #: ../lib/foreman_discovery/engine.rb:168
1034
1034
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
1035
1035
  msgstr ""
1036
1036
 
1037
- #: ../lib/foreman_discovery/engine.rb:175
1037
+ #: ../lib/foreman_discovery/engine.rb:173
1038
1038
  msgid "Force DNS"
1039
1039
  msgstr ""
1040
1040
 
1041
- #: ../lib/foreman_discovery/engine.rb:176
1041
+ #: ../lib/foreman_discovery/engine.rb:174
1042
1042
  msgid "Force DNS entries creation when provisioning discovered host"
1043
1043
  msgstr ""
1044
1044
 
1045
- #: ../lib/foreman_discovery/engine.rb:181
1045
+ #: ../lib/foreman_discovery/engine.rb:179
1046
1046
  msgid "Error on existing NIC"
1047
1047
  msgstr ""
1048
1048
 
1049
- #: ../lib/foreman_discovery/engine.rb:182
1049
+ #: ../lib/foreman_discovery/engine.rb:180
1050
1050
  msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
1051
1051
  msgstr ""
1052
1052
 
1053
- #: ../lib/foreman_discovery/engine.rb:188
1053
+ #: ../lib/foreman_discovery/engine.rb:186
1054
1054
  msgid "Type of name generator"
1055
1055
  msgstr ""
1056
1056
 
1057
- #: ../lib/foreman_discovery/engine.rb:189
1057
+ #: ../lib/foreman_discovery/engine.rb:187
1058
1058
  msgid "Discovery hostname naming pattern"
1059
1059
  msgstr ""
1060
1060
 
1061
- #: ../lib/foreman_discovery/engine.rb:194
1061
+ #: ../lib/foreman_discovery/engine.rb:192
1062
1062
  msgid "Prefer IPv6"
1063
1063
  msgstr ""
1064
1064
 
1065
- #: ../lib/foreman_discovery/engine.rb:195
1065
+ #: ../lib/foreman_discovery/engine.rb:193
1066
1066
  msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
1067
1067
  msgstr ""
1068
1068
 
1069
- #: ../lib/foreman_discovery/engine.rb:335
1069
+ #: ../lib/foreman_discovery/engine.rb:333
1070
1070
  msgid "Discovery Proxy"
1071
1071
  msgstr ""
1072
1072
 
1073
- #: ../lib/foreman_discovery/engine.rb:336
1073
+ #: ../lib/foreman_discovery/engine.rb:334
1074
1074
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1075
1075
  msgstr ""
1076
1076
 
1077
- #: ../lib/foreman_discovery/engine.rb:337
1077
+ #: ../lib/foreman_discovery/engine.rb:335
1078
1078
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1079
1079
  msgstr ""
1080
1080