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
@@ -116,7 +116,7 @@ msgstr "최소 세트의 팩트가 있는 호스트의 팩트가 포함된 해
116
116
  msgid "Execute rules against a discovered host"
117
117
  msgstr "검색된 호스트에 대해 규칙 실행 "
118
118
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:163
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:164
120
120
  msgid "Host %{host} was provisioned with rule %{rule}"
121
121
  msgstr "호스트 %{host}은/는 %{rule}으(로) 프로비저닝됩니다 "
122
122
 
@@ -124,7 +124,7 @@ msgstr "호스트 %{host}은/는 %{rule}으(로) 프로비저닝됩니다 "
124
124
  msgid "Unable to provision %{host}: %{errors}"
125
125
  msgstr "%{host}을(를) 프로비저닝할 수 없습니다: %{errors}"
126
126
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:170
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:171
128
128
  msgid "No rule found for host %s"
129
129
  msgstr "호스트 %s에 대한 규칙을 찾을 수 없습니다 "
130
130
 
@@ -132,11 +132,11 @@ msgstr "호스트 %s에 대한 규칙을 찾을 수 없습니다 "
132
132
  msgid "Execute rules against all currently discovered hosts"
133
133
  msgstr "현재 검색된 모든 호스트에 대해 규칙 실행 "
134
134
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:176
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:177
136
136
  msgid "Errors during auto provisioning: %s"
137
137
  msgstr "자동 프로비저닝 도중 오류 발생: %s"
138
138
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:179
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:180
140
140
  msgid "No discovered hosts to provision"
141
141
  msgstr "프로비저닝할 검색된 호스트가 없습니다 "
142
142
 
@@ -156,7 +156,7 @@ msgstr "검색된 호스트를 재부팅 중 "
156
156
  msgid "Rebooting all discovered hosts"
157
157
  msgstr "검색된 모든 호스트를 재부팅 중"
158
158
 
159
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:132
159
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:133
160
160
  msgid "Discovered hosts are rebooting now"
161
161
  msgstr "현재 검색된 호스트를 재부팅하고 있습니다."
162
162
 
@@ -240,71 +240,71 @@ msgstr "재부팅할 검색된 호스트가 없습니다."
240
240
  msgid "Successfully provisioned %s"
241
241
  msgstr ""
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:100
243
+ #: ../app/controllers/discovered_hosts_controller.rb:101
244
244
  msgid "Facts refreshed for %s"
245
245
  msgstr "%s에 대해 업데이트된 팩트"
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:102
247
+ #: ../app/controllers/discovered_hosts_controller.rb:103
248
248
  msgid "Failed to refresh facts for %s"
249
249
  msgstr "%s에 대한 팩트를 새로고침하는데 실패했습니다 "
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:105
251
+ #: ../app/controllers/discovered_hosts_controller.rb:106
252
252
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
253
253
  msgstr "%{error_message} 오류가 발생하여 %{hostname}의 팩트를 새로 고치지 못했습니다."
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:112
255
+ #: ../app/controllers/discovered_hosts_controller.rb:113
256
256
  msgid "Host of type %s can not be rebooted"
257
257
  msgstr "호스트 유형 %s은(는) 재부팅할 수 없습니다 "
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:116
259
+ #: ../app/controllers/discovered_hosts_controller.rb:117
260
260
  msgid "Rebooting host %s"
261
261
  msgstr "호스트 %s 재부팅 중 "
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:118
263
+ #: ../app/controllers/discovered_hosts_controller.rb:119
264
264
  msgid "Failed to reboot host %s"
265
265
  msgstr "호스트 %s 재부팅에 실패했습니다 "
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:121
267
+ #: ../app/controllers/discovered_hosts_controller.rb:122
268
268
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
269
269
  msgstr "오류 %{error_message}를 표시하는 호스트 %{hostname} 재부팅에 실패했습니다 "
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:135
271
+ #: ../app/controllers/discovered_hosts_controller.rb:136
272
272
  msgid "Failed to reboot hosts with error %s"
273
273
  msgstr "%s 오류가 발생하여 호스트를 재부팅하지 못했습니다."
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:153
275
+ #: ../app/controllers/discovered_hosts_controller.rb:154
276
276
  msgid "Destroyed selected hosts"
277
277
  msgstr "선택된 호스트 삭제"
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:155
279
+ #: ../app/controllers/discovered_hosts_controller.rb:156
280
280
  msgid "The following hosts were not deleted: %s"
281
281
  msgstr "다음 호스트가 삭제되지 않았습니다: %s"
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:167
283
+ #: ../app/controllers/discovered_hosts_controller.rb:168
284
284
  msgid "Failed to auto provision host %s: %s"
285
285
  msgstr "호스트 %s의 자동 프로비저닝에 실패했습니다: %s"
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:195
287
+ #: ../app/controllers/discovered_hosts_controller.rb:196
288
288
  msgid "Discovered hosts are provisioning now"
289
289
  msgstr "현재 검색된 호스트를 프로비저닝하고 있습니다"
290
290
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:280
291
+ #: ../app/controllers/discovered_hosts_controller.rb:285
292
292
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
293
293
  msgstr ""
294
294
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:285
295
+ #: ../app/controllers/discovered_hosts_controller.rb:290
296
296
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
297
297
  msgstr ""
298
298
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:299
299
+ #: ../app/controllers/discovered_hosts_controller.rb:304
300
300
  msgid "No hosts were found with that id or name"
301
301
  msgstr "해당 ID 또는 이름의 호스트를 찾을 수 없습니다 "
302
302
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:303
303
+ #: ../app/controllers/discovered_hosts_controller.rb:308
304
304
  msgid "No hosts selected"
305
305
  msgstr "선택된 호스트가 없음 "
306
306
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:309
307
+ #: ../app/controllers/discovered_hosts_controller.rb:314
308
308
  msgid "Something went wrong while selecting hosts - %s"
309
309
  msgstr "호스트를 선택하는 도중 문제가 발생했습니다 - %s"
310
310
 
@@ -324,7 +324,7 @@ msgstr "자동 프로비저닝 "
324
324
  msgid "Refresh facts"
325
325
  msgstr "팩트 새로고침 "
326
326
 
327
- #: ../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
327
+ #: ../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
328
328
  msgid "Reboot"
329
329
  msgstr "다시 시작"
330
330
 
@@ -376,7 +376,7 @@ msgstr "지난 7일 이내에 보고됨"
376
376
  msgid "Provision"
377
377
  msgstr "프로비저닝 "
378
378
 
379
- #: ../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
379
+ #: ../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
380
380
  msgid "Discovered Hosts"
381
381
  msgstr ""
382
382
 
@@ -814,7 +814,7 @@ msgstr "%s 복제 "
814
814
  msgid "Edit %s"
815
815
  msgstr "%s 편집 "
816
816
 
817
- #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:316 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
817
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:314 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:20
818
818
  msgid "Discovery Rules"
819
819
  msgstr "검색 규칙 "
820
820
 
@@ -850,7 +850,7 @@ msgstr "활성화 "
850
850
  msgid "New Discovery Rule"
851
851
  msgstr "새 검색 규칙 "
852
852
 
853
- #: ../app/views/discovery_rules/welcome.html.erb:8
853
+ #: ../app/views/discovery_rules/welcome.html.erb:5
854
854
  msgid "Discovered Rules"
855
855
  msgstr ""
856
856
 
@@ -922,23 +922,23 @@ msgstr ""
922
922
  msgid "Clean all reported facts during provisioning (except discovery facts)"
923
923
  msgstr ""
924
924
 
925
- #: ../lib/foreman_discovery/engine.rb:78
925
+ #: ../lib/foreman_discovery/engine.rb:79
926
926
  msgid "Hostname facts"
927
927
  msgstr ""
928
928
 
929
- #: ../lib/foreman_discovery/engine.rb:79
929
+ #: ../lib/foreman_discovery/engine.rb:80
930
930
  msgid "List of facts to use for the hostname (first wins)"
931
931
  msgstr ""
932
932
 
933
- #: ../lib/foreman_discovery/engine.rb:86
933
+ #: ../lib/foreman_discovery/engine.rb:85
934
934
  msgid "Auto provisioning"
935
935
  msgstr ""
936
936
 
937
- #: ../lib/foreman_discovery/engine.rb:87
937
+ #: ../lib/foreman_discovery/engine.rb:86
938
938
  msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
939
939
  msgstr "프로비저닝 규칙에 따라 새로 검색된 호스트의 자동 프로비저닝 "
940
940
 
941
- #: ../lib/foreman_discovery/engine.rb:93
941
+ #: ../lib/foreman_discovery/engine.rb:92
942
942
  msgid "Automatically reboot or kexec discovered host during provisioning"
943
943
  msgstr ""
944
944
 
@@ -950,135 +950,135 @@ msgstr ""
950
950
  msgid "The default prefix to use for the host name, must start with a letter"
951
951
  msgstr "호스트 이름에 사용할 기본 접두사는 문자로 시작해야 합니다 "
952
952
 
953
- #: ../lib/foreman_discovery/engine.rb:106
953
+ #: ../lib/foreman_discovery/engine.rb:104
954
954
  msgid "Fact columns"
955
955
  msgstr ""
956
956
 
957
- #: ../lib/foreman_discovery/engine.rb:107
957
+ #: ../lib/foreman_discovery/engine.rb:105
958
958
  msgid "Extra facter columns to show in host lists"
959
959
  msgstr ""
960
960
 
961
- #: ../lib/foreman_discovery/engine.rb:112
961
+ #: ../lib/foreman_discovery/engine.rb:110
962
962
  msgid "Highlighted facts"
963
963
  msgstr ""
964
964
 
965
- #: ../lib/foreman_discovery/engine.rb:113
965
+ #: ../lib/foreman_discovery/engine.rb:111
966
966
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
967
967
  msgstr ""
968
968
 
969
- #: ../lib/foreman_discovery/engine.rb:118
969
+ #: ../lib/foreman_discovery/engine.rb:116
970
970
  msgid "Storage facts"
971
971
  msgstr ""
972
972
 
973
- #: ../lib/foreman_discovery/engine.rb:119
973
+ #: ../lib/foreman_discovery/engine.rb:117
974
974
  msgid "Regex to organize facts for storage section"
975
975
  msgstr "스토리지 섹션의 팩트를 구성하기 위한 정규식"
976
976
 
977
- #: ../lib/foreman_discovery/engine.rb:124
977
+ #: ../lib/foreman_discovery/engine.rb:122
978
978
  msgid "Software facts"
979
979
  msgstr ""
980
980
 
981
- #: ../lib/foreman_discovery/engine.rb:125
981
+ #: ../lib/foreman_discovery/engine.rb:123
982
982
  msgid "Regex to organize facts for software section"
983
983
  msgstr "소프트웨어 섹션의 팩트를 구성하기 위한 정규식"
984
984
 
985
- #: ../lib/foreman_discovery/engine.rb:130
985
+ #: ../lib/foreman_discovery/engine.rb:128
986
986
  msgid "Hardware facts"
987
987
  msgstr ""
988
988
 
989
- #: ../lib/foreman_discovery/engine.rb:131
989
+ #: ../lib/foreman_discovery/engine.rb:129
990
990
  msgid "Regex to organize facts for hardware section"
991
991
  msgstr "하드웨어 섹션의 팩트를 구성하기 위한 정규식"
992
992
 
993
- #: ../lib/foreman_discovery/engine.rb:136
993
+ #: ../lib/foreman_discovery/engine.rb:134
994
994
  msgid "Network facts"
995
995
  msgstr ""
996
996
 
997
- #: ../lib/foreman_discovery/engine.rb:137
997
+ #: ../lib/foreman_discovery/engine.rb:135
998
998
  msgid "Regex to organize facts for network section"
999
999
  msgstr "네트워크 섹션의 팩트를 구성하기 위한 정규식"
1000
1000
 
1001
- #: ../lib/foreman_discovery/engine.rb:142
1001
+ #: ../lib/foreman_discovery/engine.rb:140
1002
1002
  msgid "IPMI facts"
1003
1003
  msgstr ""
1004
1004
 
1005
- #: ../lib/foreman_discovery/engine.rb:143
1005
+ #: ../lib/foreman_discovery/engine.rb:141
1006
1006
  msgid "Regex to organize facts for ipmi section"
1007
1007
  msgstr "ipmi 섹션의 팩트를 구성하기 위한 정규식"
1008
1008
 
1009
- #: ../lib/foreman_discovery/engine.rb:148
1009
+ #: ../lib/foreman_discovery/engine.rb:146
1010
1010
  msgid "Lock PXE"
1011
1011
  msgstr ""
1012
1012
 
1013
- #: ../lib/foreman_discovery/engine.rb:149
1013
+ #: ../lib/foreman_discovery/engine.rb:147
1014
1014
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
1015
1015
  msgstr ""
1016
1016
 
1017
- #: ../lib/foreman_discovery/engine.rb:155
1017
+ #: ../lib/foreman_discovery/engine.rb:153
1018
1018
  msgid "Locked PXELinux template name"
1019
1019
  msgstr ""
1020
1020
 
1021
- #: ../lib/foreman_discovery/engine.rb:156
1021
+ #: ../lib/foreman_discovery/engine.rb:154
1022
1022
  msgid "PXELinux template to be used when pinning a host to discovery"
1023
1023
  msgstr ""
1024
1024
 
1025
- #: ../lib/foreman_discovery/engine.rb:162
1025
+ #: ../lib/foreman_discovery/engine.rb:160
1026
1026
  msgid "Locked PXEGrub template name"
1027
1027
  msgstr ""
1028
1028
 
1029
- #: ../lib/foreman_discovery/engine.rb:163
1029
+ #: ../lib/foreman_discovery/engine.rb:161
1030
1030
  msgid "PXEGrub template to be used when pinning a host to discovery"
1031
1031
  msgstr ""
1032
1032
 
1033
- #: ../lib/foreman_discovery/engine.rb:169
1033
+ #: ../lib/foreman_discovery/engine.rb:167
1034
1034
  msgid "Locked PXEGrub2 template name"
1035
1035
  msgstr ""
1036
1036
 
1037
- #: ../lib/foreman_discovery/engine.rb:170
1037
+ #: ../lib/foreman_discovery/engine.rb:168
1038
1038
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
1039
1039
  msgstr ""
1040
1040
 
1041
- #: ../lib/foreman_discovery/engine.rb:175
1041
+ #: ../lib/foreman_discovery/engine.rb:173
1042
1042
  msgid "Force DNS"
1043
1043
  msgstr ""
1044
1044
 
1045
- #: ../lib/foreman_discovery/engine.rb:176
1045
+ #: ../lib/foreman_discovery/engine.rb:174
1046
1046
  msgid "Force DNS entries creation when provisioning discovered host"
1047
1047
  msgstr ""
1048
1048
 
1049
- #: ../lib/foreman_discovery/engine.rb:181
1049
+ #: ../lib/foreman_discovery/engine.rb:179
1050
1050
  msgid "Error on existing NIC"
1051
1051
  msgstr ""
1052
1052
 
1053
- #: ../lib/foreman_discovery/engine.rb:182
1053
+ #: ../lib/foreman_discovery/engine.rb:180
1054
1054
  msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
1055
1055
  msgstr ""
1056
1056
 
1057
- #: ../lib/foreman_discovery/engine.rb:188
1057
+ #: ../lib/foreman_discovery/engine.rb:186
1058
1058
  msgid "Type of name generator"
1059
1059
  msgstr ""
1060
1060
 
1061
- #: ../lib/foreman_discovery/engine.rb:189
1061
+ #: ../lib/foreman_discovery/engine.rb:187
1062
1062
  msgid "Discovery hostname naming pattern"
1063
1063
  msgstr ""
1064
1064
 
1065
- #: ../lib/foreman_discovery/engine.rb:194
1065
+ #: ../lib/foreman_discovery/engine.rb:192
1066
1066
  msgid "Prefer IPv6"
1067
1067
  msgstr ""
1068
1068
 
1069
- #: ../lib/foreman_discovery/engine.rb:195
1069
+ #: ../lib/foreman_discovery/engine.rb:193
1070
1070
  msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
1071
1071
  msgstr ""
1072
1072
 
1073
- #: ../lib/foreman_discovery/engine.rb:335
1073
+ #: ../lib/foreman_discovery/engine.rb:333
1074
1074
  msgid "Discovery Proxy"
1075
1075
  msgstr ""
1076
1076
 
1077
- #: ../lib/foreman_discovery/engine.rb:336
1077
+ #: ../lib/foreman_discovery/engine.rb:334
1078
1078
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1079
1079
  msgstr ""
1080
1080
 
1081
- #: ../lib/foreman_discovery/engine.rb:337
1081
+ #: ../lib/foreman_discovery/engine.rb:335
1082
1082
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1083
1083
  msgstr ""
1084
1084