foreman_discovery 11.0.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +5 -5
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -2
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +21 -11
  5. data/app/controllers/foreman_discovery/concerns/hosts_controller_extensions.rb +1 -1
  6. data/app/helpers/discovered_hosts_helper.rb +9 -11
  7. data/app/models/discovery_rule.rb +3 -0
  8. data/app/models/host/discovered.rb +59 -19
  9. data/app/models/setting/discovered.rb +1 -0
  10. data/app/services/foreman_discovery/fact_parser.rb +6 -2
  11. data/app/services/foreman_discovery/ui_notifications/new_host.rb +3 -1
  12. data/app/views/dashboard/_discovery_widget_host_list.html.erb +1 -1
  13. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -3
  14. data/app/views/discovered_hosts/_selected_hosts.html.erb +1 -1
  15. data/app/views/discovered_hosts/index.html.erb +0 -2
  16. data/app/views/discovered_hosts/multiple_auto_provision.html.erb +4 -0
  17. data/app/views/discovered_hosts/multiple_reboot.html.erb +4 -0
  18. data/app/views/discovered_hosts/show.html.erb +27 -15
  19. data/app/views/discovery_rules/_form.html.erb +9 -3
  20. data/app/views/discovery_rules/edit.html.erb +1 -1
  21. data/app/views/discovery_rules/index.html.erb +2 -2
  22. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  23. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  24. data/config/as_deprecation_whitelist.yaml +395 -0
  25. data/config/routes.rb +7 -5
  26. data/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb +10 -0
  27. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +24 -0
  28. data/extra/discover-host +7 -5
  29. data/extra/discovery/simple-bond.json +167 -0
  30. data/lib/foreman_discovery/engine.rb +9 -3
  31. data/lib/foreman_discovery/version.rb +1 -1
  32. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/ca/foreman_discovery.edit.po +148 -221
  34. data/locale/ca/foreman_discovery.po +25 -19
  35. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/de/foreman_discovery.edit.po +147 -221
  37. data/locale/de/foreman_discovery.po +26 -20
  38. data/locale/en/foreman_discovery.edit.po +106 -98
  39. data/locale/en/foreman_discovery.po +24 -18
  40. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/en_GB/foreman_discovery.edit.po +149 -222
  42. data/locale/en_GB/foreman_discovery.po +26 -20
  43. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/es/foreman_discovery.edit.po +149 -222
  45. data/locale/es/foreman_discovery.po +26 -20
  46. data/locale/foreman_discovery.pot +115 -103
  47. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/fr/foreman_discovery.edit.po +147 -221
  49. data/locale/fr/foreman_discovery.po +26 -20
  50. data/locale/gl/foreman_discovery.edit.po +147 -220
  51. data/locale/gl/foreman_discovery.po +24 -18
  52. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/it/foreman_discovery.edit.po +148 -221
  54. data/locale/it/foreman_discovery.po +25 -19
  55. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/ja/foreman_discovery.edit.po +149 -222
  57. data/locale/ja/foreman_discovery.po +26 -20
  58. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/ko/foreman_discovery.edit.po +149 -221
  60. data/locale/ko/foreman_discovery.po +26 -20
  61. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/pt_BR/foreman_discovery.edit.po +149 -222
  63. data/locale/pt_BR/foreman_discovery.po +26 -20
  64. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/ru/foreman_discovery.edit.po +152 -223
  66. data/locale/ru/foreman_discovery.po +26 -20
  67. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  68. data/locale/sv_SE/foreman_discovery.edit.po +147 -220
  69. data/locale/sv_SE/foreman_discovery.po +24 -18
  70. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  71. data/locale/zh_CN/foreman_discovery.edit.po +155 -224
  72. data/locale/zh_CN/foreman_discovery.po +26 -20
  73. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  74. data/locale/zh_TW/foreman_discovery.edit.po +151 -222
  75. data/locale/zh_TW/foreman_discovery.po +26 -20
  76. data/test/functional/api/v2/discovered_hosts_controller_test.rb +2 -0
  77. data/test/functional/api/v2/discovery_rules_controller_test.rb +96 -9
  78. data/test/functional/api/v2/settings_controller_test.rb +22 -0
  79. data/test/functional/discovered_hosts_controller_test.rb +20 -21
  80. data/test/functional/discovery_rules_controller_test.rb +5 -4
  81. data/test/integration/discovered_hosts_test.rb +20 -10
  82. data/test/models/setting_test.rb +11 -0
  83. data/test/test_helper_discovery.rb +1 -0
  84. data/test/unit/discovered_extensions_test.rb +2 -13
  85. data/test/unit/discovery_rule_test.rb +87 -1
  86. data/test/unit/fact_parser_test.rb +2 -2
  87. data/test/unit/host_discovered_test.rb +60 -28
  88. data/test/unit/ui_notifications/destroy_host_test.rb +14 -4
  89. data/test/unit/ui_notifications/new_host_test.rb +8 -1
  90. metadata +22 -4
@@ -51,9 +51,6 @@ msgstr "Сопоставленные узлы"
51
51
  msgid "Auto Provision"
52
52
  msgstr "Автоматическая подготовка"
53
53
 
54
- msgid "Auto Provision All"
55
- msgstr "Автоматически подготовить все"
56
-
57
54
  msgid "Auto provisioning"
58
55
  msgstr ""
59
56
 
@@ -81,6 +78,9 @@ msgstr ""
81
78
  msgid "Clean all reported facts during provisioning (except discovery facts)"
82
79
  msgstr ""
83
80
 
81
+ msgid "Collapse All"
82
+ msgstr ""
83
+
84
84
  msgid "Could not get facts from proxy %{url}: %{error}"
85
85
  msgstr "Не удалось получить факты с %{url}: %{error}"
86
86
 
@@ -102,6 +102,9 @@ msgstr ""
102
102
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
103
103
  msgstr ""
104
104
 
105
+ msgid "Delete"
106
+ msgstr ""
107
+
105
108
  msgid "Delete %s?"
106
109
  msgstr "Удалить %s?"
107
110
 
@@ -111,9 +114,6 @@ msgstr "Удалить обнаруженный узел"
111
114
  msgid "Delete a rule"
112
115
  msgstr "Удалить правило"
113
116
 
114
- msgid "Delete hosts"
115
- msgstr "Удалить узлы"
116
-
117
117
  msgid "Delete rule '%s'?"
118
118
  msgstr "Удалить правило «%s»?"
119
119
 
@@ -132,6 +132,9 @@ msgstr "Отключить правило «%s»?"
132
132
  msgid "Discovered Hosts"
133
133
  msgstr "Обнаруженные узлы"
134
134
 
135
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
136
+ msgstr ""
137
+
135
138
  msgid "Discovered host: %s"
136
139
  msgstr "Обнаружен узел: %s"
137
140
 
@@ -162,6 +165,9 @@ msgstr ""
162
165
  msgid "Discovery Rules"
163
166
  msgstr "Правила обнаружения"
164
167
 
168
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
169
+ msgstr ""
170
+
165
171
  msgid "Discovery location"
166
172
  msgstr ""
167
173
 
@@ -195,11 +201,14 @@ msgstr ""
195
201
  msgid "Disks size"
196
202
  msgstr "Размер диска"
197
203
 
204
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
205
+ msgstr ""
206
+
198
207
  msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
199
208
  msgstr ""
200
209
 
201
- msgid "Edit Discovery Rule"
202
- msgstr "Изменить правило"
210
+ msgid "Edit %s"
211
+ msgstr ""
203
212
 
204
213
  msgid "Enable"
205
214
  msgstr "Включить"
@@ -207,6 +216,9 @@ msgstr "Включить"
207
216
  msgid "Enable rule '%s'?"
208
217
  msgstr "Включить правило «%s»?"
209
218
 
219
+ msgid "Error on existing NIC"
220
+ msgstr ""
221
+
210
222
  msgid "Errors during auto provisioning: %s"
211
223
  msgstr "Ошибки при автоматической подготовке: %s"
212
224
 
@@ -219,9 +231,6 @@ msgstr "Применить правила к обнаруженному узлу
219
231
  msgid "Execute rules against all currently discovered hosts"
220
232
  msgstr "Применить правила ко всем обнаруженным узлам"
221
233
 
222
- msgid "Expand All"
223
- msgstr "Развернуть все"
224
-
225
234
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
226
235
  msgstr "Отсутствует факт «%s»: невозможно определить основной интерфейс и имя узла"
227
236
 
@@ -518,9 +527,6 @@ msgstr "Подготовить обнаруженный узел"
518
527
  msgid "Reboot"
519
528
  msgstr "Перезагрузить"
520
529
 
521
- msgid "Reboot All"
522
- msgstr "Перезагрузить все"
523
-
524
530
  msgid "Rebooting %s"
525
531
  msgstr "Перезагрузка %s"
526
532
 
@@ -653,15 +659,12 @@ msgstr "Тип"
653
659
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
654
660
  msgstr "UUID для отслеживания состояния задач оркестрации, GET /api/orchestration/:UUID/tasks"
655
661
 
656
- msgid "Unable to assign subnet, primary interface is missing IP address"
657
- msgstr "Не удалось выбрать подсеть: не определен IP-адрес основного интерфейса"
658
-
659
- msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
660
- msgstr "Не удалось обнаружить основной интерфейс с MAC-адресом %{mac}, полученным из факта «%{fact}»"
661
-
662
662
  msgid "Unable to find a discovery rule, no host provided (check permissions)"
663
663
  msgstr "Не удалось найти правило: необходимо указать узел. Проверьте разрешения."
664
664
 
665
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
666
+ msgstr ""
667
+
665
668
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
666
669
  msgstr "Не удалось выполнить kexec на %{name} с %{url}: %{msg}"
667
670
 
@@ -704,6 +707,9 @@ msgstr "выбрано. Чтобы очистить, снимите флажок
704
707
  msgid "location ID for provisioned hosts"
705
708
  msgstr ""
706
709
 
710
+ msgid "must be present."
711
+ msgstr ""
712
+
707
713
  msgid "must start with a letter or ERB."
708
714
  msgstr "должен начинаться с буквы или ERB"
709
715
 
@@ -1,7 +1,7 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Dominic Cleal <dominic@cleal.org>, 2014
7
7
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
@@ -10,10 +10,10 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: foreman_discovery 10.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2017-12-11 10:28+0100\n"
14
13
  "PO-Revision-Date: 2017-12-11 11:31+0000\n"
15
14
  "Last-Translator: Lukáš Zapletal\n"
16
- "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/language/sv_SE/)\n"
15
+ "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
16
+ "uage/sv_SE/)\n"
17
17
  "MIME-Version: 1.0\n"
18
18
  "Content-Type: text/plain; charset=UTF-8\n"
19
19
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,23 +24,19 @@ msgstr ""
24
24
  msgid "List all discovered hosts"
25
25
  msgstr ""
26
26
 
27
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
28
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
27
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
29
28
  msgid "filter results"
30
29
  msgstr "filtrera resultat"
31
30
 
32
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
33
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
31
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
34
32
  msgid "sort results"
35
33
  msgstr "sortera resultat"
36
34
 
37
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
38
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
39
36
  msgid "paginate results"
40
37
  msgstr ""
41
38
 
42
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
43
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
44
40
  msgid "number of entries per request"
45
41
  msgstr "antal poster per begäran"
46
42
 
@@ -48,8 +44,7 @@ msgstr "antal poster per begäran"
48
44
  msgid "Show a discovered host"
49
45
  msgstr ""
50
46
 
51
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
52
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
47
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
53
48
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
54
49
  msgstr ""
55
50
 
@@ -70,14 +65,11 @@ msgid "not required if it's a virtual machine"
70
65
  msgstr ""
71
66
 
72
67
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
73
- msgid ""
74
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
68
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
75
69
  msgstr ""
76
70
 
77
71
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
78
- msgid ""
79
- "required if value is not inherited from host group or default password in "
80
- "settings"
72
+ msgid "required if value is not inherited from host group or default password in settings"
81
73
  msgstr ""
82
74
 
83
75
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
@@ -89,62 +81,54 @@ msgid "Upload facts for a host, creating the host if required"
89
81
  msgstr ""
90
82
 
91
83
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
92
- msgid ""
93
- "hash containing facts for the host with minimum set of facts: "
94
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
95
- "eth0 (example in case primary interface is named eth0)"
84
+ msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
96
85
  msgstr ""
97
86
 
98
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
99
88
  msgid "Execute rules against a discovered host"
100
89
  msgstr ""
101
90
 
102
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123
103
- #: ../app/controllers/discovered_hosts_controller.rb:150
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
104
92
  msgid "Host %{host} was provisioned with rule %{rule}"
105
93
  msgstr ""
106
94
 
107
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
108
96
  msgid "Unable to provision %{host}: %{errors}"
109
97
  msgstr ""
110
98
 
111
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132
112
- #: ../app/controllers/discovered_hosts_controller.rb:157
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
113
100
  msgid "No rule found for host %s"
114
101
  msgstr ""
115
102
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
117
104
  msgid "Execute rules against all currently discovered hosts"
118
105
  msgstr ""
119
106
 
120
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143
121
- #: ../app/controllers/discovered_hosts_controller.rb:163
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
122
108
  msgid "Errors during auto provisioning: %s"
123
109
  msgstr ""
124
110
 
125
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146
126
- #: ../app/controllers/discovered_hosts_controller.rb:166
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
127
112
  msgid "No discovered hosts to provision"
128
113
  msgstr ""
129
114
 
130
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:168
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
131
116
  msgid "%s discovered hosts were provisioned"
132
117
  msgstr ""
133
118
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:179
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
135
120
  msgid "Refreshing the facts of a discovered host"
136
121
  msgstr ""
137
122
 
138
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:188
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
139
124
  msgid "Rebooting a discovered host"
140
125
  msgstr ""
141
126
 
142
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:197
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
143
128
  msgid "Rebooting all discovered hosts"
144
129
  msgstr ""
145
130
 
146
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:208
147
- #: ../app/controllers/discovered_hosts_controller.rb:125
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
148
132
  msgid "Discovered hosts are rebooting now"
149
133
  msgstr ""
150
134
 
@@ -169,8 +153,7 @@ msgid "the hostgroup that is used to auto provision a host"
169
153
  msgstr ""
170
154
 
171
155
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
172
- msgid ""
173
- "defines a pattern to assign human-readable hostnames to the matching hosts"
156
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
174
157
  msgstr ""
175
158
 
176
159
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -178,8 +161,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
178
161
  msgstr ""
179
162
 
180
163
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
181
- msgid ""
182
- "puts the rules in order, low numbers go first. Must be greater then zero"
164
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
183
165
  msgstr ""
184
166
 
185
167
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -226,95 +208,95 @@ msgstr ""
226
208
  msgid "No discovered hosts to reboot"
227
209
  msgstr ""
228
210
 
229
- #: ../app/controllers/discovered_hosts_controller.rb:61
211
+ #: ../app/controllers/discovered_hosts_controller.rb:63
230
212
  msgid "Successfully provisioned %s"
231
213
  msgstr ""
232
214
 
233
- #: ../app/controllers/discovered_hosts_controller.rb:93
215
+ #: ../app/controllers/discovered_hosts_controller.rb:96
234
216
  msgid "Facts refreshed for %s"
235
217
  msgstr "Fakta uppdaterade för %s"
236
218
 
237
- #: ../app/controllers/discovered_hosts_controller.rb:95
219
+ #: ../app/controllers/discovered_hosts_controller.rb:98
238
220
  msgid "Failed to refresh facts for %s"
239
221
  msgstr "Misslyckades med att uppdatera fakta för %s"
240
222
 
241
- #: ../app/controllers/discovered_hosts_controller.rb:98
223
+ #: ../app/controllers/discovered_hosts_controller.rb:101
242
224
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
243
225
  msgstr ""
244
226
 
245
- #: ../app/controllers/discovered_hosts_controller.rb:105
227
+ #: ../app/controllers/discovered_hosts_controller.rb:108
246
228
  msgid "Host of type %s can not be rebooted"
247
229
  msgstr ""
248
230
 
249
- #: ../app/controllers/discovered_hosts_controller.rb:109
231
+ #: ../app/controllers/discovered_hosts_controller.rb:112
250
232
  msgid "Rebooting host %s"
251
233
  msgstr ""
252
234
 
253
- #: ../app/controllers/discovered_hosts_controller.rb:111
235
+ #: ../app/controllers/discovered_hosts_controller.rb:114
254
236
  msgid "Failed to reboot host %s"
255
237
  msgstr ""
256
238
 
257
- #: ../app/controllers/discovered_hosts_controller.rb:114
239
+ #: ../app/controllers/discovered_hosts_controller.rb:117
258
240
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
259
241
  msgstr ""
260
242
 
261
- #: ../app/controllers/discovered_hosts_controller.rb:128
243
+ #: ../app/controllers/discovered_hosts_controller.rb:131
262
244
  msgid "Failed to reboot hosts with error %s"
263
245
  msgstr ""
264
246
 
265
- #: ../app/controllers/discovered_hosts_controller.rb:140
247
+ #: ../app/controllers/discovered_hosts_controller.rb:149
266
248
  msgid "Destroyed selected hosts"
267
249
  msgstr "Förstör markerade värdar"
268
250
 
269
- #: ../app/controllers/discovered_hosts_controller.rb:142
251
+ #: ../app/controllers/discovered_hosts_controller.rb:151
270
252
  msgid "The following hosts were not deleted: %s"
271
253
  msgstr "Följande värdar raderades inte: %s"
272
254
 
273
- #: ../app/controllers/discovered_hosts_controller.rb:154
255
+ #: ../app/controllers/discovered_hosts_controller.rb:163
274
256
  msgid "Failed to auto provision host %s: %s"
275
257
  msgstr ""
276
258
 
277
- #: ../app/controllers/discovered_hosts_controller.rb:182
259
+ #: ../app/controllers/discovered_hosts_controller.rb:191
278
260
  msgid "Discovered hosts are provisioning now"
279
261
  msgstr ""
280
262
 
281
- #: ../app/controllers/discovered_hosts_controller.rb:214
263
+ #: ../app/controllers/discovered_hosts_controller.rb:223
282
264
  msgid "Highlights"
283
265
  msgstr ""
284
266
 
285
- #: ../app/controllers/discovered_hosts_controller.rb:214
267
+ #: ../app/controllers/discovered_hosts_controller.rb:223
286
268
  msgid "Storage"
287
269
  msgstr ""
288
270
 
289
- #: ../app/controllers/discovered_hosts_controller.rb:214
271
+ #: ../app/controllers/discovered_hosts_controller.rb:223
290
272
  msgid "Hardware"
291
273
  msgstr ""
292
274
 
293
- #: ../app/controllers/discovered_hosts_controller.rb:214
275
+ #: ../app/controllers/discovered_hosts_controller.rb:223
294
276
  msgid "Network"
295
277
  msgstr ""
296
278
 
297
- #: ../app/controllers/discovered_hosts_controller.rb:214
279
+ #: ../app/controllers/discovered_hosts_controller.rb:223
298
280
  msgid "Software"
299
281
  msgstr ""
300
282
 
301
- #: ../app/controllers/discovered_hosts_controller.rb:214
283
+ #: ../app/controllers/discovered_hosts_controller.rb:223
302
284
  msgid "IPMI"
303
285
  msgstr ""
304
286
 
305
- #: ../app/controllers/discovered_hosts_controller.rb:214
287
+ #: ../app/controllers/discovered_hosts_controller.rb:223
306
288
  msgid "Miscellaneous"
307
289
  msgstr ""
308
290
 
309
- #: ../app/controllers/discovered_hosts_controller.rb:291
291
+ #: ../app/controllers/discovered_hosts_controller.rb:301
310
292
  msgid "No hosts were found with that id or name"
311
293
  msgstr "Inga värdar med det idt eller namnet hittades"
312
294
 
313
- #: ../app/controllers/discovered_hosts_controller.rb:295
295
+ #: ../app/controllers/discovered_hosts_controller.rb:305
314
296
  msgid "No hosts selected"
315
297
  msgstr "Inga värdar markerade"
316
298
 
317
- #: ../app/controllers/discovered_hosts_controller.rb:301
299
+ #: ../app/controllers/discovered_hosts_controller.rb:311
318
300
  msgid "Something went wrong while selecting hosts - %s"
319
301
  msgstr "Något blev fel vid markering av värdar - %s"
320
302
 
@@ -330,19 +312,15 @@ msgstr ""
330
312
  msgid "%s ago"
331
313
  msgstr "%s sedan"
332
314
 
333
- #: ../app/helpers/discovered_hosts_helper.rb:14
334
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
315
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
335
316
  msgid "Auto Provision"
336
317
  msgstr ""
337
318
 
338
- #: ../app/helpers/discovered_hosts_helper.rb:15
339
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
319
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
340
320
  msgid "Refresh facts"
341
321
  msgstr "Uppdatera fakta"
342
322
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:16
344
- #: ../app/models/setting/discovered.rb:23
345
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
323
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
346
324
  msgid "Reboot"
347
325
  msgstr ""
348
326
 
@@ -350,62 +328,51 @@ msgstr ""
350
328
  msgid "Back"
351
329
  msgstr ""
352
330
 
353
- #: ../app/helpers/discovered_hosts_helper.rb:21
354
- #: ../app/helpers/discovered_hosts_helper.rb:37
331
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
355
332
  msgid "Select Action"
356
333
  msgstr "Välj Åtgärd"
357
334
 
358
- #: ../app/helpers/discovered_hosts_helper.rb:23
359
- msgid "Expand All"
360
- msgstr ""
361
-
362
- #: ../app/helpers/discovered_hosts_helper.rb:27
363
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
335
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
364
336
  msgid "Delete %s?"
365
337
  msgstr "Radera %s?"
366
338
 
367
- #: ../app/helpers/discovered_hosts_helper.rb:33
368
- msgid "Delete hosts"
369
- msgstr "Radera värdar"
370
-
371
- #: ../app/helpers/discovered_hosts_helper.rb:34
339
+ #: ../app/helpers/discovered_hosts_helper.rb:31
372
340
  msgid "Assign Organization"
373
341
  msgstr "Tilldela Organisation"
374
342
 
375
- #: ../app/helpers/discovered_hosts_helper.rb:35
343
+ #: ../app/helpers/discovered_hosts_helper.rb:32
376
344
  msgid "Assign Location"
377
345
  msgstr "Tilldela Plats"
378
346
 
379
- #: ../app/helpers/discovered_hosts_helper.rb:39
347
+ #: ../app/helpers/discovered_hosts_helper.rb:33
348
+ msgid "Delete"
349
+ msgstr ""
350
+
351
+ #: ../app/helpers/discovered_hosts_helper.rb:37
380
352
  msgid "%s - The following hosts are about to be changed"
381
353
  msgstr "%s - Följande värdar kommer att ändras"
382
354
 
383
- #: ../app/helpers/discovered_hosts_helper.rb:48
384
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
355
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
385
356
  msgid "N/A"
386
357
  msgstr "N/A"
387
358
 
388
- #: ../app/helpers/discovered_hosts_helper.rb:60
359
+ #: ../app/helpers/discovered_hosts_helper.rb:58
389
360
  msgid "New in the last 24 hours"
390
361
  msgstr ""
391
362
 
392
- #: ../app/helpers/discovered_hosts_helper.rb:64
363
+ #: ../app/helpers/discovered_hosts_helper.rb:62
393
364
  msgid "Not reported in more than 7 days"
394
365
  msgstr ""
395
366
 
396
- #: ../app/helpers/discovered_hosts_helper.rb:68
367
+ #: ../app/helpers/discovered_hosts_helper.rb:66
397
368
  msgid "Reported in the last 7 days"
398
369
  msgstr ""
399
370
 
400
- #: ../app/helpers/discovered_hosts_helper.rb:92
371
+ #: ../app/helpers/discovered_hosts_helper.rb:90
401
372
  msgid "Provision"
402
373
  msgstr "Provisionera"
403
374
 
404
- #: ../app/helpers/discovery_rules_helper.rb:26
405
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
406
- #: ../app/views/discovered_hosts/welcome.html.erb:1
407
- #: ../app/views/discovered_hosts/welcome.html.erb:6
408
- #: ../lib/foreman_discovery/engine.rb:166
375
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:173
409
376
  msgid "Discovered Hosts"
410
377
  msgstr "Hittade värdar"
411
378
 
@@ -441,66 +408,59 @@ msgstr ""
441
408
  msgid "Discovered hosts summary"
442
409
  msgstr ""
443
410
 
444
- #: ../app/models/discovery_rule.rb:9
411
+ #: ../app/models/discovery_rule.rb:10
445
412
  msgid "can't contain white spaces."
446
413
  msgstr ""
447
414
 
448
- #: ../app/models/discovery_rule.rb:11
415
+ #: ../app/models/discovery_rule.rb:12
449
416
  msgid "must start with a letter or ERB."
450
417
  msgstr ""
451
418
 
452
- #: ../app/models/discovery_rule.rb:45
453
- msgid ""
454
- "Host group organization %s must also be associated to the discovery rule"
455
- msgid_plural ""
456
- "Host group organizations %s must also be associated to the discovery rule"
419
+ #: ../app/models/discovery_rule.rb:15
420
+ msgid "must be present."
421
+ msgstr ""
422
+
423
+ #: ../app/models/discovery_rule.rb:48
424
+ msgid "Host group organization %s must also be associated to the discovery rule"
425
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
457
426
  msgstr[0] ""
458
427
  msgstr[1] ""
459
428
 
460
- #: ../app/models/discovery_rule.rb:51
429
+ #: ../app/models/discovery_rule.rb:54
461
430
  msgid "Host group location %s must also be associated to the discovery rule"
462
- msgid_plural ""
463
- "Host group locations %s must also be associated to the discovery rule"
431
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
464
432
  msgstr[0] ""
465
433
  msgstr[1] ""
466
434
 
467
- #: ../app/models/host/discovered.rb:37
435
+ #: ../app/models/host/discovered.rb:51
468
436
  msgid "Invalid facts, must be a Hash"
469
437
  msgstr ""
470
438
 
471
- #: ../app/models/host/discovered.rb:42
472
- msgid ""
473
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
474
- "and set hostname"
439
+ #: ../app/models/host/discovered.rb:56
440
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
475
441
  msgstr ""
476
442
 
477
- #: ../app/models/host/discovered.rb:49
478
- msgid ""
479
- "Invalid facts: hash does not contain a valid value for any of the facts in "
480
- "the discovery_hostname setting: %s"
443
+ #: ../app/models/host/discovered.rb:63
444
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
481
445
  msgstr ""
482
446
 
483
- #: ../app/models/host/discovered.rb:66
447
+ #: ../app/models/host/discovered.rb:89
484
448
  msgid "Facts could not be imported"
485
449
  msgstr ""
486
450
 
487
- #: ../app/models/host/discovered.rb:133
488
- msgid "Unable to assign subnet, primary interface is missing IP address"
489
- msgstr ""
490
-
491
- #: ../app/models/host/discovered.rb:190
451
+ #: ../app/models/host/discovered.rb:212
492
452
  msgid "Could not get facts from proxy %{url}: %{error}"
493
453
  msgstr ""
494
454
 
495
- #: ../app/models/host/discovered.rb:198
455
+ #: ../app/models/host/discovered.rb:220
496
456
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
497
457
  msgstr ""
498
458
 
499
- #: ../app/models/host/discovered.rb:206
459
+ #: ../app/models/host/discovered.rb:228
500
460
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
501
461
  msgstr ""
502
462
 
503
- #: ../app/models/host/discovered.rb:225
463
+ #: ../app/models/host/discovered.rb:247
504
464
  msgid "Invalid hostname: Could not normalize the hostname"
505
465
  msgstr ""
506
466
 
@@ -553,9 +513,7 @@ msgid "Hostname facts"
553
513
  msgstr ""
554
514
 
555
515
  #: ../app/models/setting/discovered.rb:22
556
- msgid ""
557
- "Automatically provision newly discovered hosts, according to the "
558
- "provisioning rules"
516
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
559
517
  msgstr ""
560
518
 
561
519
  #: ../app/models/setting/discovered.rb:22
@@ -631,9 +589,7 @@ msgid "IPMI facts"
631
589
  msgstr ""
632
590
 
633
591
  #: ../app/models/setting/discovered.rb:32
634
- msgid ""
635
- "Automatically generate PXE configuration to pin a newly discovered host to "
636
- "discovery"
592
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
637
593
  msgstr ""
638
594
 
639
595
  #: ../app/models/setting/discovered.rb:32
@@ -672,26 +628,40 @@ msgstr ""
672
628
  msgid "Force DNS"
673
629
  msgstr ""
674
630
 
675
- #: ../app/models/setting/discovered.rb:43
631
+ #: ../app/models/setting/discovered.rb:37
632
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
633
+ msgstr ""
634
+
635
+ #: ../app/models/setting/discovered.rb:37
636
+ msgid "Error on existing NIC"
637
+ msgstr ""
638
+
639
+ #: ../app/models/setting/discovered.rb:44
676
640
  msgid "The default location to place discovered hosts in"
677
641
  msgstr "Standardplatsen att placera värdar i"
678
642
 
679
- #: ../app/models/setting/discovered.rb:43
643
+ #: ../app/models/setting/discovered.rb:44
680
644
  msgid "Discovery location"
681
645
  msgstr ""
682
646
 
683
- #: ../app/models/setting/discovered.rb:51
647
+ #: ../app/models/setting/discovered.rb:52
684
648
  msgid "The default organization to place discovered hosts in"
685
649
  msgstr "Standardorganisationen att placera hittade värdar i"
686
650
 
687
- #: ../app/models/setting/discovered.rb:51
651
+ #: ../app/models/setting/discovered.rb:52
688
652
  msgid "Discovery organization"
689
653
  msgstr ""
690
654
 
691
- #: ../app/services/foreman_discovery/fact_parser.rb:9
692
- msgid ""
693
- "Unable to detect primary interface using MAC '%{mac}' specified by "
694
- "discovery_fact '%{fact}'"
655
+ #: ../app/services/foreman_discovery/fact_parser.rb:4
656
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
657
+ msgstr ""
658
+
659
+ #: ../app/services/foreman_discovery/fact_parser.rb:6
660
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
661
+ msgstr ""
662
+
663
+ #: ../app/services/foreman_discovery/fact_parser.rb:12
664
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
695
665
  msgstr ""
696
666
 
697
667
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
@@ -710,25 +680,15 @@ msgstr ""
710
680
  msgid "Host"
711
681
  msgstr "Värd"
712
682
 
713
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
714
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
715
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
716
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
717
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
683
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
718
684
  msgid "Model"
719
685
  msgstr "Modell"
720
686
 
721
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
722
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
723
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
724
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
687
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
725
688
  msgid "CPUs"
726
689
  msgstr "CPUer"
727
690
 
728
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
729
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
730
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
731
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
691
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
732
692
  msgid "Memory"
733
693
  msgstr "Minne"
734
694
 
@@ -748,16 +708,11 @@ msgstr "Markera alla valbara på denna sida"
748
708
  msgid "items selected. Uncheck to Clear"
749
709
  msgstr "poster markerade. Avmarkera för att rensa"
750
710
 
751
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
752
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
753
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
754
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
711
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
755
712
  msgid "Name"
756
713
  msgstr "Namn"
757
714
 
758
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
759
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
760
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
715
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
761
716
  msgid "IP Address"
762
717
  msgstr "IPadress"
763
718
 
@@ -769,13 +724,11 @@ msgstr ""
769
724
  msgid "Disks Size"
770
725
  msgstr ""
771
726
 
772
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
773
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
727
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
774
728
  msgid "Location"
775
729
  msgstr "Lokation"
776
730
 
777
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
778
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
731
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
779
732
  msgid "Organization"
780
733
  msgstr "Organisation"
781
734
 
@@ -803,18 +756,8 @@ msgstr "Sänd"
803
756
  msgid "Provision %s"
804
757
  msgstr ""
805
758
 
806
- #: ../app/views/discovered_hosts/index.html.erb:2
807
- msgid "Reboot All"
808
- msgstr ""
809
-
810
- #: ../app/views/discovered_hosts/index.html.erb:3
811
- msgid "Auto Provision All"
812
- msgstr ""
813
-
814
759
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
815
- msgid ""
816
- "This might take a while, as all hosts, facts and reports will be destroyed "
817
- "as well"
760
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
818
761
  msgstr "Detta kan dröja då alla värdar, fakta och rapporter också kommer bli förstörda"
819
762
 
820
763
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -829,34 +772,36 @@ msgstr "Välj organisation"
829
772
  msgid "Discovered host: %s"
830
773
  msgstr "Hittade värdar: %s"
831
774
 
832
- #: ../app/views/discovered_hosts/show.html.erb:34
775
+ #: ../app/views/discovered_hosts/show.html.erb:37
833
776
  msgid "Interfaces"
834
777
  msgstr ""
835
778
 
836
- #: ../app/views/discovered_hosts/show.html.erb:41
779
+ #: ../app/views/discovered_hosts/show.html.erb:44
837
780
  msgid "Type"
838
781
  msgstr ""
839
782
 
840
- #: ../app/views/discovered_hosts/show.html.erb:42
783
+ #: ../app/views/discovered_hosts/show.html.erb:45
841
784
  msgid "Identifier"
842
785
  msgstr ""
843
786
 
844
- #: ../app/views/discovered_hosts/show.html.erb:43
787
+ #: ../app/views/discovered_hosts/show.html.erb:46
845
788
  msgid "MAC address"
846
789
  msgstr ""
847
790
 
848
- #: ../app/views/discovered_hosts/show.html.erb:44
791
+ #: ../app/views/discovered_hosts/show.html.erb:47
849
792
  msgid "IP address"
850
793
  msgstr ""
851
794
 
795
+ #: ../app/views/discovered_hosts/show.html.erb:66
796
+ msgid "Collapse All"
797
+ msgstr ""
798
+
852
799
  #: ../app/views/discovered_hosts/welcome.html.erb:7
853
800
  msgid "No discovered hosts found in this context."
854
801
  msgstr ""
855
802
 
856
803
  #: ../app/views/discovered_hosts/welcome.html.erb:8
857
- msgid ""
858
- "This page shows discovered bare-metal or virtual nodes waiting to be "
859
- "provisioned."
804
+ msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
860
805
  msgstr ""
861
806
 
862
807
  #: ../app/views/discovered_hosts/welcome.html.erb:9
@@ -871,23 +816,19 @@ msgstr ""
871
816
  msgid "<b>Foreman</b> Discovered hosts summary"
872
817
  msgstr ""
873
818
 
874
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
875
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
819
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
876
820
  msgid "Summary from %{time} ago to %{now}"
877
821
  msgstr ""
878
822
 
879
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
880
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
823
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
881
824
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
882
825
  msgstr ""
883
826
 
884
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
885
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
827
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
886
828
  msgid "Disk count"
887
829
  msgstr ""
888
830
 
889
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
890
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
831
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
891
832
  msgid "Disks size"
892
833
  msgstr ""
893
834
 
@@ -936,37 +877,27 @@ msgid "Rule priority (lower integer means higher priority)"
936
877
  msgstr ""
937
878
 
938
879
  #: ../app/views/discovery_rules/_template_inline.erb:2
939
- msgid ""
940
- "Specify target hostname template pattern in the same syntax as in "
941
- "Provisioning Templates (ERB)."
880
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
942
881
  msgstr ""
943
882
 
944
883
  #: ../app/views/discovery_rules/_template_inline.erb:4
945
- msgid ""
946
- "Domain will be appended automatically. A hostname based on MAC address will "
947
- "be used when left blank."
884
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
948
885
  msgstr ""
949
886
 
950
887
  #: ../app/views/discovery_rules/_template_inline.erb:5
951
- msgid ""
952
- "In addition to @host attribute function rand for random integers is "
953
- "available. Examples:"
888
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
954
889
  msgstr ""
955
890
 
956
891
  #: ../app/views/discovery_rules/_template_inline.erb:8
957
- msgid ""
958
- "When creating hostname patterns, make sure the resulting host names are "
959
- "unique."
892
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
960
893
  msgstr ""
961
894
 
962
895
  #: ../app/views/discovery_rules/_template_inline.erb:9
963
- msgid ""
964
- "Hostnames must not start with numbers. A good approach is to use unique "
965
- "information provided by facter (MAC address, BIOS or serial ID)."
896
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
966
897
  msgstr ""
967
898
 
968
899
  #: ../app/views/discovery_rules/edit.html.erb:1
969
- msgid "Edit Discovery Rule"
900
+ msgid "Edit %s"
970
901
  msgstr ""
971
902
 
972
903
  #: ../app/views/discovery_rules/index.html.erb:1
@@ -1021,30 +952,26 @@ msgstr ""
1021
952
  msgid "Details"
1022
953
  msgstr ""
1023
954
 
1024
- #: ../lib/foreman_discovery/engine.rb:151
955
+ #: ../lib/foreman_discovery/engine.rb:158
1025
956
  msgid "Discovered hosts"
1026
957
  msgstr "Hittade värdar"
1027
958
 
1028
- #: ../lib/foreman_discovery/engine.rb:156
959
+ #: ../lib/foreman_discovery/engine.rb:163
1029
960
  msgid "Discovery rules"
1030
961
  msgstr ""
1031
962
 
1032
- #: ../lib/foreman_discovery/engine.rb:172
963
+ #: ../lib/foreman_discovery/engine.rb:179
1033
964
  msgid "Discovery Kexec template"
1034
965
  msgstr ""
1035
966
 
1036
- #: ../lib/foreman_discovery/engine.rb:181
967
+ #: ../lib/foreman_discovery/engine.rb:188
1037
968
  msgid "Discovery Proxy"
1038
969
  msgstr ""
1039
970
 
1040
- #: ../lib/foreman_discovery/engine.rb:182
1041
- msgid ""
1042
- "Discovery Proxy to use within this subnet for managing connection to "
1043
- "discovered hosts"
971
+ #: ../lib/foreman_discovery/engine.rb:189
972
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1044
973
  msgstr ""
1045
974
 
1046
- #: ../lib/foreman_discovery/engine.rb:183
1047
- msgid ""
1048
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1049
- "discovered hosts"
975
+ #: ../lib/foreman_discovery/engine.rb:190
976
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1050
977
  msgstr ""