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.
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
@@ -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: 2023-06-05 16:26+0200\n"
12
- "PO-Revision-Date: 2023-06-05 16:26+0200\n"
11
+ "POT-Creation-Date: 2024-08-19 09:51+0200\n"
12
+ "PO-Revision-Date: 2024-08-19 09:51+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:163
138
+ #: ../app/controllers/discovered_hosts_controller.rb:164
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:170
147
+ #: ../app/controllers/discovered_hosts_controller.rb:171
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:176
156
+ #: ../app/controllers/discovered_hosts_controller.rb:177
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:179
161
+ #: ../app/controllers/discovered_hosts_controller.rb:180
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:132
182
+ #: ../app/controllers/discovered_hosts_controller.rb:133
183
183
  msgid "Discovered hosts are rebooting now"
184
184
  msgstr ""
185
185
 
@@ -263,75 +263,75 @@ msgstr ""
263
263
  msgid "Successfully provisioned %s"
264
264
  msgstr ""
265
265
 
266
- #: ../app/controllers/discovered_hosts_controller.rb:100
266
+ #: ../app/controllers/discovered_hosts_controller.rb:101
267
267
  msgid "Facts refreshed for %s"
268
268
  msgstr ""
269
269
 
270
- #: ../app/controllers/discovered_hosts_controller.rb:102
270
+ #: ../app/controllers/discovered_hosts_controller.rb:103
271
271
  msgid "Failed to refresh facts for %s"
272
272
  msgstr ""
273
273
 
274
- #: ../app/controllers/discovered_hosts_controller.rb:105
274
+ #: ../app/controllers/discovered_hosts_controller.rb:106
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:112
278
+ #: ../app/controllers/discovered_hosts_controller.rb:113
279
279
  msgid "Host of type %s can not be rebooted"
280
280
  msgstr ""
281
281
 
282
- #: ../app/controllers/discovered_hosts_controller.rb:116
282
+ #: ../app/controllers/discovered_hosts_controller.rb:117
283
283
  msgid "Rebooting host %s"
284
284
  msgstr ""
285
285
 
286
- #: ../app/controllers/discovered_hosts_controller.rb:118
286
+ #: ../app/controllers/discovered_hosts_controller.rb:119
287
287
  msgid "Failed to reboot host %s"
288
288
  msgstr ""
289
289
 
290
- #: ../app/controllers/discovered_hosts_controller.rb:121
290
+ #: ../app/controllers/discovered_hosts_controller.rb:122
291
291
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
292
292
  msgstr ""
293
293
 
294
- #: ../app/controllers/discovered_hosts_controller.rb:135
294
+ #: ../app/controllers/discovered_hosts_controller.rb:136
295
295
  msgid "Failed to reboot hosts with error %s"
296
296
  msgstr ""
297
297
 
298
- #: ../app/controllers/discovered_hosts_controller.rb:153
298
+ #: ../app/controllers/discovered_hosts_controller.rb:154
299
299
  msgid "Destroyed selected hosts"
300
300
  msgstr ""
301
301
 
302
- #: ../app/controllers/discovered_hosts_controller.rb:155
302
+ #: ../app/controllers/discovered_hosts_controller.rb:156
303
303
  msgid "The following hosts were not deleted: %s"
304
304
  msgstr ""
305
305
 
306
- #: ../app/controllers/discovered_hosts_controller.rb:167
306
+ #: ../app/controllers/discovered_hosts_controller.rb:168
307
307
  msgid "Failed to auto provision host %s: %s"
308
308
  msgstr ""
309
309
 
310
- #: ../app/controllers/discovered_hosts_controller.rb:195
310
+ #: ../app/controllers/discovered_hosts_controller.rb:196
311
311
  msgid "Discovered hosts are provisioning now"
312
312
  msgstr ""
313
313
 
314
- #: ../app/controllers/discovered_hosts_controller.rb:280
314
+ #: ../app/controllers/discovered_hosts_controller.rb:285
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:285
320
+ #: ../app/controllers/discovered_hosts_controller.rb:290
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:299
326
+ #: ../app/controllers/discovered_hosts_controller.rb:304
327
327
  msgid "No hosts were found with that id or name"
328
328
  msgstr ""
329
329
 
330
- #: ../app/controllers/discovered_hosts_controller.rb:303
330
+ #: ../app/controllers/discovered_hosts_controller.rb:308
331
331
  msgid "No hosts selected"
332
332
  msgstr ""
333
333
 
334
- #: ../app/controllers/discovered_hosts_controller.rb:309
334
+ #: ../app/controllers/discovered_hosts_controller.rb:314
335
335
  msgid "Something went wrong while selecting hosts - %s"
336
336
  msgstr ""
337
337
 
@@ -357,7 +357,7 @@ msgstr ""
357
357
  #: ../app/helpers/discovered_hosts_helper.rb:16
358
358
  #: ../app/helpers/discovered_hosts_helper.rb:30
359
359
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
360
- #: ../lib/foreman_discovery/engine.rb:92
360
+ #: ../lib/foreman_discovery/engine.rb:91
361
361
  msgid "Reboot"
362
362
  msgstr ""
363
363
 
@@ -414,9 +414,9 @@ msgstr ""
414
414
 
415
415
  #: ../app/helpers/discovery_rules_helper.rb:26
416
416
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1
417
- #: ../app/views/discovered_hosts/welcome.html.erb:8
418
- #: ../lib/foreman_discovery/engine.rb:311
419
- #: ../lib/foreman_discovery/engine.rb:326
417
+ #: ../app/views/discovered_hosts/welcome.html.erb:5
418
+ #: ../lib/foreman_discovery/engine.rb:309
419
+ #: ../lib/foreman_discovery/engine.rb:324
420
420
  msgid "Discovered Hosts"
421
421
  msgstr ""
422
422
 
@@ -899,7 +899,7 @@ msgid "Edit %s"
899
899
  msgstr ""
900
900
 
901
901
  #: ../app/views/discovery_rules/index.html.erb:1
902
- #: ../lib/foreman_discovery/engine.rb:316
902
+ #: ../lib/foreman_discovery/engine.rb:314
903
903
  #: ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
904
904
  msgid "Discovery Rules"
905
905
  msgstr ""
@@ -937,7 +937,7 @@ msgstr ""
937
937
  msgid "New Discovery Rule"
938
938
  msgstr ""
939
939
 
940
- #: ../app/views/discovery_rules/welcome.html.erb:8
940
+ #: ../app/views/discovery_rules/welcome.html.erb:5
941
941
  msgid "Discovered Rules"
942
942
  msgstr ""
943
943
 
@@ -1011,25 +1011,25 @@ msgstr ""
1011
1011
  msgid "Clean all reported facts during provisioning (except discovery facts)"
1012
1012
  msgstr ""
1013
1013
 
1014
- #: ../lib/foreman_discovery/engine.rb:78
1014
+ #: ../lib/foreman_discovery/engine.rb:79
1015
1015
  msgid "Hostname facts"
1016
1016
  msgstr ""
1017
1017
 
1018
- #: ../lib/foreman_discovery/engine.rb:79
1018
+ #: ../lib/foreman_discovery/engine.rb:80
1019
1019
  msgid "List of facts to use for the hostname (first wins)"
1020
1020
  msgstr ""
1021
1021
 
1022
- #: ../lib/foreman_discovery/engine.rb:86
1022
+ #: ../lib/foreman_discovery/engine.rb:85
1023
1023
  msgid "Auto provisioning"
1024
1024
  msgstr ""
1025
1025
 
1026
- #: ../lib/foreman_discovery/engine.rb:87
1026
+ #: ../lib/foreman_discovery/engine.rb:86
1027
1027
  msgid ""
1028
1028
  "Automatically provision newly discovered hosts, according to the provisioning "
1029
1029
  "rules"
1030
1030
  msgstr ""
1031
1031
 
1032
- #: ../lib/foreman_discovery/engine.rb:93
1032
+ #: ../lib/foreman_discovery/engine.rb:92
1033
1033
  msgid "Automatically reboot or kexec discovered host during provisioning"
1034
1034
  msgstr ""
1035
1035
 
@@ -1041,141 +1041,141 @@ msgstr ""
1041
1041
  msgid "The default prefix to use for the host name, must start with a letter"
1042
1042
  msgstr ""
1043
1043
 
1044
- #: ../lib/foreman_discovery/engine.rb:106
1044
+ #: ../lib/foreman_discovery/engine.rb:104
1045
1045
  msgid "Fact columns"
1046
1046
  msgstr ""
1047
1047
 
1048
- #: ../lib/foreman_discovery/engine.rb:107
1048
+ #: ../lib/foreman_discovery/engine.rb:105
1049
1049
  msgid "Extra facter columns to show in host lists"
1050
1050
  msgstr ""
1051
1051
 
1052
- #: ../lib/foreman_discovery/engine.rb:112
1052
+ #: ../lib/foreman_discovery/engine.rb:110
1053
1053
  msgid "Highlighted facts"
1054
1054
  msgstr ""
1055
1055
 
1056
- #: ../lib/foreman_discovery/engine.rb:113
1056
+ #: ../lib/foreman_discovery/engine.rb:111
1057
1057
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
1058
1058
  msgstr ""
1059
1059
 
1060
- #: ../lib/foreman_discovery/engine.rb:118
1060
+ #: ../lib/foreman_discovery/engine.rb:116
1061
1061
  msgid "Storage facts"
1062
1062
  msgstr ""
1063
1063
 
1064
- #: ../lib/foreman_discovery/engine.rb:119
1064
+ #: ../lib/foreman_discovery/engine.rb:117
1065
1065
  msgid "Regex to organize facts for storage section"
1066
1066
  msgstr ""
1067
1067
 
1068
- #: ../lib/foreman_discovery/engine.rb:124
1068
+ #: ../lib/foreman_discovery/engine.rb:122
1069
1069
  msgid "Software facts"
1070
1070
  msgstr ""
1071
1071
 
1072
- #: ../lib/foreman_discovery/engine.rb:125
1072
+ #: ../lib/foreman_discovery/engine.rb:123
1073
1073
  msgid "Regex to organize facts for software section"
1074
1074
  msgstr ""
1075
1075
 
1076
- #: ../lib/foreman_discovery/engine.rb:130
1076
+ #: ../lib/foreman_discovery/engine.rb:128
1077
1077
  msgid "Hardware facts"
1078
1078
  msgstr ""
1079
1079
 
1080
- #: ../lib/foreman_discovery/engine.rb:131
1080
+ #: ../lib/foreman_discovery/engine.rb:129
1081
1081
  msgid "Regex to organize facts for hardware section"
1082
1082
  msgstr ""
1083
1083
 
1084
- #: ../lib/foreman_discovery/engine.rb:136
1084
+ #: ../lib/foreman_discovery/engine.rb:134
1085
1085
  msgid "Network facts"
1086
1086
  msgstr ""
1087
1087
 
1088
- #: ../lib/foreman_discovery/engine.rb:137
1088
+ #: ../lib/foreman_discovery/engine.rb:135
1089
1089
  msgid "Regex to organize facts for network section"
1090
1090
  msgstr ""
1091
1091
 
1092
- #: ../lib/foreman_discovery/engine.rb:142
1092
+ #: ../lib/foreman_discovery/engine.rb:140
1093
1093
  msgid "IPMI facts"
1094
1094
  msgstr ""
1095
1095
 
1096
- #: ../lib/foreman_discovery/engine.rb:143
1096
+ #: ../lib/foreman_discovery/engine.rb:141
1097
1097
  msgid "Regex to organize facts for ipmi section"
1098
1098
  msgstr ""
1099
1099
 
1100
- #: ../lib/foreman_discovery/engine.rb:148
1100
+ #: ../lib/foreman_discovery/engine.rb:146
1101
1101
  msgid "Lock PXE"
1102
1102
  msgstr ""
1103
1103
 
1104
- #: ../lib/foreman_discovery/engine.rb:149
1104
+ #: ../lib/foreman_discovery/engine.rb:147
1105
1105
  msgid ""
1106
1106
  "Automatically generate PXE configuration to pin a newly discovered host to dis"
1107
1107
  "covery"
1108
1108
  msgstr ""
1109
1109
 
1110
- #: ../lib/foreman_discovery/engine.rb:155
1110
+ #: ../lib/foreman_discovery/engine.rb:153
1111
1111
  msgid "Locked PXELinux template name"
1112
1112
  msgstr ""
1113
1113
 
1114
- #: ../lib/foreman_discovery/engine.rb:156
1114
+ #: ../lib/foreman_discovery/engine.rb:154
1115
1115
  msgid "PXELinux template to be used when pinning a host to discovery"
1116
1116
  msgstr ""
1117
1117
 
1118
- #: ../lib/foreman_discovery/engine.rb:162
1118
+ #: ../lib/foreman_discovery/engine.rb:160
1119
1119
  msgid "Locked PXEGrub template name"
1120
1120
  msgstr ""
1121
1121
 
1122
- #: ../lib/foreman_discovery/engine.rb:163
1122
+ #: ../lib/foreman_discovery/engine.rb:161
1123
1123
  msgid "PXEGrub template to be used when pinning a host to discovery"
1124
1124
  msgstr ""
1125
1125
 
1126
- #: ../lib/foreman_discovery/engine.rb:169
1126
+ #: ../lib/foreman_discovery/engine.rb:167
1127
1127
  msgid "Locked PXEGrub2 template name"
1128
1128
  msgstr ""
1129
1129
 
1130
- #: ../lib/foreman_discovery/engine.rb:170
1130
+ #: ../lib/foreman_discovery/engine.rb:168
1131
1131
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
1132
1132
  msgstr ""
1133
1133
 
1134
- #: ../lib/foreman_discovery/engine.rb:175
1134
+ #: ../lib/foreman_discovery/engine.rb:173
1135
1135
  msgid "Force DNS"
1136
1136
  msgstr ""
1137
1137
 
1138
- #: ../lib/foreman_discovery/engine.rb:176
1138
+ #: ../lib/foreman_discovery/engine.rb:174
1139
1139
  msgid "Force DNS entries creation when provisioning discovered host"
1140
1140
  msgstr ""
1141
1141
 
1142
- #: ../lib/foreman_discovery/engine.rb:181
1142
+ #: ../lib/foreman_discovery/engine.rb:179
1143
1143
  msgid "Error on existing NIC"
1144
1144
  msgstr ""
1145
1145
 
1146
- #: ../lib/foreman_discovery/engine.rb:182
1146
+ #: ../lib/foreman_discovery/engine.rb:180
1147
1147
  msgid ""
1148
1148
  "Do not allow to discover existing managed host matching MAC of a provisioning "
1149
1149
  "NIC (errors out early)"
1150
1150
  msgstr ""
1151
1151
 
1152
- #: ../lib/foreman_discovery/engine.rb:188
1152
+ #: ../lib/foreman_discovery/engine.rb:186
1153
1153
  msgid "Type of name generator"
1154
1154
  msgstr ""
1155
1155
 
1156
- #: ../lib/foreman_discovery/engine.rb:189
1156
+ #: ../lib/foreman_discovery/engine.rb:187
1157
1157
  msgid "Discovery hostname naming pattern"
1158
1158
  msgstr ""
1159
1159
 
1160
- #: ../lib/foreman_discovery/engine.rb:194
1160
+ #: ../lib/foreman_discovery/engine.rb:192
1161
1161
  msgid "Prefer IPv6"
1162
1162
  msgstr ""
1163
1163
 
1164
- #: ../lib/foreman_discovery/engine.rb:195
1164
+ #: ../lib/foreman_discovery/engine.rb:193
1165
1165
  msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
1166
1166
  msgstr ""
1167
1167
 
1168
- #: ../lib/foreman_discovery/engine.rb:335
1168
+ #: ../lib/foreman_discovery/engine.rb:333
1169
1169
  msgid "Discovery Proxy"
1170
1170
  msgstr ""
1171
1171
 
1172
- #: ../lib/foreman_discovery/engine.rb:336
1172
+ #: ../lib/foreman_discovery/engine.rb:334
1173
1173
  msgid ""
1174
1174
  "Discovery Proxy to use within this subnet for managing connection to discovere"
1175
1175
  "d hosts"
1176
1176
  msgstr ""
1177
1177
 
1178
- #: ../lib/foreman_discovery/engine.rb:337
1178
+ #: ../lib/foreman_discovery/engine.rb:335
1179
1179
  msgid ""
1180
1180
  "ID of Discovery Proxy to use within this subnet for managing connection to dis"
1181
1181
  "covered hosts"