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
@@ -39,9 +39,6 @@ msgstr ""
39
39
  msgid "Auto Provision"
40
40
  msgstr ""
41
41
 
42
- msgid "Auto Provision All"
43
- msgstr ""
44
-
45
42
  msgid "Auto provisioning"
46
43
  msgstr ""
47
44
 
@@ -69,6 +66,9 @@ msgstr ""
69
66
  msgid "Clean all reported facts during provisioning (except discovery facts)"
70
67
  msgstr ""
71
68
 
69
+ msgid "Collapse All"
70
+ msgstr ""
71
+
72
72
  msgid "Could not get facts from proxy %{url}: %{error}"
73
73
  msgstr ""
74
74
 
@@ -90,6 +90,9 @@ msgstr ""
90
90
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
91
91
  msgstr ""
92
92
 
93
+ msgid "Delete"
94
+ msgstr ""
95
+
93
96
  msgid "Delete %s?"
94
97
  msgstr ""
95
98
 
@@ -99,9 +102,6 @@ msgstr ""
99
102
  msgid "Delete a rule"
100
103
  msgstr ""
101
104
 
102
- msgid "Delete hosts"
103
- msgstr ""
104
-
105
105
  msgid "Delete rule '%s'?"
106
106
  msgstr ""
107
107
 
@@ -120,6 +120,9 @@ msgstr ""
120
120
  msgid "Discovered Hosts"
121
121
  msgstr ""
122
122
 
123
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
124
+ msgstr ""
125
+
123
126
  msgid "Discovered host: %s"
124
127
  msgstr ""
125
128
 
@@ -150,6 +153,9 @@ msgstr ""
150
153
  msgid "Discovery Rules"
151
154
  msgstr ""
152
155
 
156
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
157
+ msgstr ""
158
+
153
159
  msgid "Discovery location"
154
160
  msgstr ""
155
161
 
@@ -183,10 +189,13 @@ msgstr ""
183
189
  msgid "Disks size"
184
190
  msgstr ""
185
191
 
192
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
193
+ msgstr ""
194
+
186
195
  msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
187
196
  msgstr ""
188
197
 
189
- msgid "Edit Discovery Rule"
198
+ msgid "Edit %s"
190
199
  msgstr ""
191
200
 
192
201
  msgid "Enable"
@@ -195,6 +204,9 @@ msgstr ""
195
204
  msgid "Enable rule '%s'?"
196
205
  msgstr ""
197
206
 
207
+ msgid "Error on existing NIC"
208
+ msgstr ""
209
+
198
210
  msgid "Errors during auto provisioning: %s"
199
211
  msgstr ""
200
212
 
@@ -207,9 +219,6 @@ msgstr ""
207
219
  msgid "Execute rules against all currently discovered hosts"
208
220
  msgstr ""
209
221
 
210
- msgid "Expand All"
211
- msgstr ""
212
-
213
222
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
214
223
  msgstr ""
215
224
 
@@ -502,9 +511,6 @@ msgstr ""
502
511
  msgid "Reboot"
503
512
  msgstr ""
504
513
 
505
- msgid "Reboot All"
506
- msgstr ""
507
-
508
514
  msgid "Rebooting %s"
509
515
  msgstr ""
510
516
 
@@ -637,13 +643,10 @@ msgstr ""
637
643
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
638
644
  msgstr ""
639
645
 
640
- msgid "Unable to assign subnet, primary interface is missing IP address"
641
- msgstr ""
642
-
643
- msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
646
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
644
647
  msgstr ""
645
648
 
646
- msgid "Unable to find a discovery rule, no host provided (check permissions)"
649
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
647
650
  msgstr ""
648
651
 
649
652
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
@@ -688,6 +691,9 @@ msgstr ""
688
691
  msgid "location ID for provisioned hosts"
689
692
  msgstr ""
690
693
 
694
+ msgid "must be present."
695
+ msgstr ""
696
+
691
697
  msgid "must start with a letter or ERB."
692
698
  msgstr ""
693
699
 
@@ -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
  # Andi Chandler <andi@gowling.com>, 2015-2017
7
7
  # Dominic Cleal <dominic@cleal.org>, 2013-2015
@@ -12,10 +12,10 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: foreman_discovery 10.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2017-12-11 10:28+0100\n"
16
15
  "PO-Revision-Date: 2017-12-25 01:46+0000\n"
17
16
  "Last-Translator: Andi Chandler <andi@gowling.com>\n"
18
- "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
17
+ "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
18
+ "man/language/en_GB/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
21
21
  "Content-Transfer-Encoding: 8bit\n"
@@ -26,23 +26,19 @@ msgstr ""
26
26
  msgid "List all discovered hosts"
27
27
  msgstr "List all discovered hosts"
28
28
 
29
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
30
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
29
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
31
30
  msgid "filter results"
32
31
  msgstr "filter results"
33
32
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
35
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
33
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
36
34
  msgid "sort results"
37
35
  msgstr "sort results"
38
36
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
40
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
37
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
41
38
  msgid "paginate results"
42
39
  msgstr "paginate results"
43
40
 
44
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
45
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
41
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
46
42
  msgid "number of entries per request"
47
43
  msgstr "number of entries per request"
48
44
 
@@ -50,8 +46,7 @@ msgstr "number of entries per request"
50
46
  msgid "Show a discovered host"
51
47
  msgstr "Show a discovered host"
52
48
 
53
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
54
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
49
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
55
50
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
56
51
  msgstr "DHCP filename option (Grub2 or PXELinux by default)"
57
52
 
@@ -72,14 +67,11 @@ msgid "not required if it's a virtual machine"
72
67
  msgstr "not required if it's a virtual machine"
73
68
 
74
69
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
75
- msgid ""
76
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
70
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
77
71
  msgstr "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
78
72
 
79
73
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
80
- msgid ""
81
- "required if value is not inherited from host group or default password in "
82
- "settings"
74
+ msgid "required if value is not inherited from host group or default password in settings"
83
75
  msgstr "required if value is not inherited from host group or default password in settings"
84
76
 
85
77
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
@@ -91,62 +83,54 @@ msgid "Upload facts for a host, creating the host if required"
91
83
  msgstr "Upload facts for a host, creating the host if required"
92
84
 
93
85
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
94
- msgid ""
95
- "hash containing facts for the host with minimum set of facts: "
96
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
97
- "eth0 (example in case primary interface is named eth0)"
86
+ 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)"
98
87
  msgstr "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)"
99
88
 
100
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
89
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
101
90
  msgid "Execute rules against a discovered host"
102
91
  msgstr "Execute rules against a discovered host"
103
92
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123
105
- #: ../app/controllers/discovered_hosts_controller.rb:150
93
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
106
94
  msgid "Host %{host} was provisioned with rule %{rule}"
107
95
  msgstr "Host %{host} was provisioned with rule %{rule}"
108
96
 
109
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
97
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
110
98
  msgid "Unable to provision %{host}: %{errors}"
111
99
  msgstr "Unable to provision %{host}: %{errors}"
112
100
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132
114
- #: ../app/controllers/discovered_hosts_controller.rb:157
101
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
115
102
  msgid "No rule found for host %s"
116
103
  msgstr "No rule found for host %s"
117
104
 
118
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
105
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
119
106
  msgid "Execute rules against all currently discovered hosts"
120
107
  msgstr "Execute rules against all currently discovered hosts"
121
108
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143
123
- #: ../app/controllers/discovered_hosts_controller.rb:163
109
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
124
110
  msgid "Errors during auto provisioning: %s"
125
111
  msgstr "Errors during auto provisioning: %s"
126
112
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146
128
- #: ../app/controllers/discovered_hosts_controller.rb:166
113
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
129
114
  msgid "No discovered hosts to provision"
130
115
  msgstr "No discovered hosts to provision"
131
116
 
132
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:168
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
133
118
  msgid "%s discovered hosts were provisioned"
134
119
  msgstr "%s discovered hosts were provisioned"
135
120
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:179
121
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
137
122
  msgid "Refreshing the facts of a discovered host"
138
123
  msgstr "Refreshing the facts of a discovered host"
139
124
 
140
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:188
125
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
141
126
  msgid "Rebooting a discovered host"
142
127
  msgstr "Rebooting a discovered host"
143
128
 
144
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:197
129
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
145
130
  msgid "Rebooting all discovered hosts"
146
131
  msgstr "Rebooting all discovered hosts"
147
132
 
148
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:208
149
- #: ../app/controllers/discovered_hosts_controller.rb:125
133
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
150
134
  msgid "Discovered hosts are rebooting now"
151
135
  msgstr "Discovered hosts are rebooting now"
152
136
 
@@ -171,8 +155,7 @@ msgid "the hostgroup that is used to auto provision a host"
171
155
  msgstr "the hostgroup that is used to auto provision a host"
172
156
 
173
157
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
174
- msgid ""
175
- "defines a pattern to assign human-readable hostnames to the matching hosts"
158
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
176
159
  msgstr "defines a pattern to assign human-readable hostnames to the matching hosts"
177
160
 
178
161
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -180,8 +163,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
180
163
  msgstr "enables to limit maximum amount of provisioned hosts per rule"
181
164
 
182
165
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
183
- msgid ""
184
- "puts the rules in order, low numbers go first. Must be greater then zero"
166
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
185
167
  msgstr "puts the rules in order, low numbers go first. Must be greater then zero"
186
168
 
187
169
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -228,95 +210,95 @@ msgstr "Errors during reboot: %s"
228
210
  msgid "No discovered hosts to reboot"
229
211
  msgstr "No discovered hosts to reboot"
230
212
 
231
- #: ../app/controllers/discovered_hosts_controller.rb:61
213
+ #: ../app/controllers/discovered_hosts_controller.rb:63
232
214
  msgid "Successfully provisioned %s"
233
215
  msgstr "Successfully provisioned %s"
234
216
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:93
217
+ #: ../app/controllers/discovered_hosts_controller.rb:96
236
218
  msgid "Facts refreshed for %s"
237
219
  msgstr "Facts refreshed for %s"
238
220
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:95
221
+ #: ../app/controllers/discovered_hosts_controller.rb:98
240
222
  msgid "Failed to refresh facts for %s"
241
223
  msgstr "Failed to refresh facts for %s"
242
224
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:98
225
+ #: ../app/controllers/discovered_hosts_controller.rb:101
244
226
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
245
227
  msgstr "Failed to refresh facts for %{hostname} with error %{error_message}"
246
228
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:105
229
+ #: ../app/controllers/discovered_hosts_controller.rb:108
248
230
  msgid "Host of type %s can not be rebooted"
249
231
  msgstr "Host of type %s can not be rebooted"
250
232
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:109
233
+ #: ../app/controllers/discovered_hosts_controller.rb:112
252
234
  msgid "Rebooting host %s"
253
235
  msgstr "Rebooting host %s"
254
236
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:111
237
+ #: ../app/controllers/discovered_hosts_controller.rb:114
256
238
  msgid "Failed to reboot host %s"
257
239
  msgstr "Failed to reboot host %s"
258
240
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:114
241
+ #: ../app/controllers/discovered_hosts_controller.rb:117
260
242
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
261
243
  msgstr "Failed to reboot host %{hostname} with error %{error_message}"
262
244
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:128
245
+ #: ../app/controllers/discovered_hosts_controller.rb:131
264
246
  msgid "Failed to reboot hosts with error %s"
265
247
  msgstr "Failed to reboot hosts with error %s"
266
248
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:140
249
+ #: ../app/controllers/discovered_hosts_controller.rb:149
268
250
  msgid "Destroyed selected hosts"
269
251
  msgstr "Destroyed selected hosts"
270
252
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:142
253
+ #: ../app/controllers/discovered_hosts_controller.rb:151
272
254
  msgid "The following hosts were not deleted: %s"
273
255
  msgstr "The following hosts were not deleted: %s"
274
256
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:154
257
+ #: ../app/controllers/discovered_hosts_controller.rb:163
276
258
  msgid "Failed to auto provision host %s: %s"
277
259
  msgstr "Failed to auto provision host %s: %s"
278
260
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:182
261
+ #: ../app/controllers/discovered_hosts_controller.rb:191
280
262
  msgid "Discovered hosts are provisioning now"
281
263
  msgstr "Discovered hosts are provisioning now"
282
264
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:214
265
+ #: ../app/controllers/discovered_hosts_controller.rb:223
284
266
  msgid "Highlights"
285
267
  msgstr "Highlights"
286
268
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:214
269
+ #: ../app/controllers/discovered_hosts_controller.rb:223
288
270
  msgid "Storage"
289
271
  msgstr "Storage"
290
272
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:214
273
+ #: ../app/controllers/discovered_hosts_controller.rb:223
292
274
  msgid "Hardware"
293
275
  msgstr "Hardware"
294
276
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:214
277
+ #: ../app/controllers/discovered_hosts_controller.rb:223
296
278
  msgid "Network"
297
279
  msgstr "Network"
298
280
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:214
281
+ #: ../app/controllers/discovered_hosts_controller.rb:223
300
282
  msgid "Software"
301
283
  msgstr "Software"
302
284
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:214
285
+ #: ../app/controllers/discovered_hosts_controller.rb:223
304
286
  msgid "IPMI"
305
287
  msgstr "IPMI"
306
288
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:214
289
+ #: ../app/controllers/discovered_hosts_controller.rb:223
308
290
  msgid "Miscellaneous"
309
291
  msgstr "Miscellaneous"
310
292
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:291
293
+ #: ../app/controllers/discovered_hosts_controller.rb:301
312
294
  msgid "No hosts were found with that id or name"
313
295
  msgstr "No hosts were found with that id or name"
314
296
 
315
- #: ../app/controllers/discovered_hosts_controller.rb:295
297
+ #: ../app/controllers/discovered_hosts_controller.rb:305
316
298
  msgid "No hosts selected"
317
299
  msgstr "No hosts selected"
318
300
 
319
- #: ../app/controllers/discovered_hosts_controller.rb:301
301
+ #: ../app/controllers/discovered_hosts_controller.rb:311
320
302
  msgid "Something went wrong while selecting hosts - %s"
321
303
  msgstr "Something went wrong while selecting hosts - %s"
322
304
 
@@ -332,19 +314,15 @@ msgstr "Rule disabled"
332
314
  msgid "%s ago"
333
315
  msgstr "%s ago"
334
316
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:14
336
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
317
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
337
318
  msgid "Auto Provision"
338
319
  msgstr "Auto Provision"
339
320
 
340
- #: ../app/helpers/discovered_hosts_helper.rb:15
341
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
321
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
342
322
  msgid "Refresh facts"
343
323
  msgstr "Refresh facts"
344
324
 
345
- #: ../app/helpers/discovered_hosts_helper.rb:16
346
- #: ../app/models/setting/discovered.rb:23
347
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
325
+ #: ../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
348
326
  msgid "Reboot"
349
327
  msgstr "Reboot"
350
328
 
@@ -352,62 +330,51 @@ msgstr "Reboot"
352
330
  msgid "Back"
353
331
  msgstr "Back"
354
332
 
355
- #: ../app/helpers/discovered_hosts_helper.rb:21
356
- #: ../app/helpers/discovered_hosts_helper.rb:37
333
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
357
334
  msgid "Select Action"
358
335
  msgstr "Select Action"
359
336
 
360
- #: ../app/helpers/discovered_hosts_helper.rb:23
361
- msgid "Expand All"
362
- msgstr "Expand All"
363
-
364
- #: ../app/helpers/discovered_hosts_helper.rb:27
365
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
337
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
366
338
  msgid "Delete %s?"
367
339
  msgstr "Delete %s?"
368
340
 
369
- #: ../app/helpers/discovered_hosts_helper.rb:33
370
- msgid "Delete hosts"
371
- msgstr "Delete hosts"
372
-
373
- #: ../app/helpers/discovered_hosts_helper.rb:34
341
+ #: ../app/helpers/discovered_hosts_helper.rb:31
374
342
  msgid "Assign Organization"
375
343
  msgstr "Assign Organisation"
376
344
 
377
- #: ../app/helpers/discovered_hosts_helper.rb:35
345
+ #: ../app/helpers/discovered_hosts_helper.rb:32
378
346
  msgid "Assign Location"
379
347
  msgstr "Assign Location"
380
348
 
381
- #: ../app/helpers/discovered_hosts_helper.rb:39
349
+ #: ../app/helpers/discovered_hosts_helper.rb:33
350
+ msgid "Delete"
351
+ msgstr ""
352
+
353
+ #: ../app/helpers/discovered_hosts_helper.rb:37
382
354
  msgid "%s - The following hosts are about to be changed"
383
355
  msgstr "%s - The following hosts are about to be changed"
384
356
 
385
- #: ../app/helpers/discovered_hosts_helper.rb:48
386
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
357
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
387
358
  msgid "N/A"
388
359
  msgstr "N/A"
389
360
 
390
- #: ../app/helpers/discovered_hosts_helper.rb:60
361
+ #: ../app/helpers/discovered_hosts_helper.rb:58
391
362
  msgid "New in the last 24 hours"
392
363
  msgstr "New in the last 24 hours"
393
364
 
394
- #: ../app/helpers/discovered_hosts_helper.rb:64
365
+ #: ../app/helpers/discovered_hosts_helper.rb:62
395
366
  msgid "Not reported in more than 7 days"
396
367
  msgstr "Not reported in more than 7 days"
397
368
 
398
- #: ../app/helpers/discovered_hosts_helper.rb:68
369
+ #: ../app/helpers/discovered_hosts_helper.rb:66
399
370
  msgid "Reported in the last 7 days"
400
371
  msgstr "Reported in the last 7 days"
401
372
 
402
- #: ../app/helpers/discovered_hosts_helper.rb:92
373
+ #: ../app/helpers/discovered_hosts_helper.rb:90
403
374
  msgid "Provision"
404
375
  msgstr "Provision"
405
376
 
406
- #: ../app/helpers/discovery_rules_helper.rb:26
407
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
408
- #: ../app/views/discovered_hosts/welcome.html.erb:1
409
- #: ../app/views/discovered_hosts/welcome.html.erb:6
410
- #: ../lib/foreman_discovery/engine.rb:166
377
+ #: ../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
411
378
  msgid "Discovered Hosts"
412
379
  msgstr "Discovered Hosts"
413
380
 
@@ -443,66 +410,59 @@ msgstr "Must specify a user with email enabled"
443
410
  msgid "Discovered hosts summary"
444
411
  msgstr "Discovered hosts summary"
445
412
 
446
- #: ../app/models/discovery_rule.rb:9
413
+ #: ../app/models/discovery_rule.rb:10
447
414
  msgid "can't contain white spaces."
448
415
  msgstr "can't contain white spaces."
449
416
 
450
- #: ../app/models/discovery_rule.rb:11
417
+ #: ../app/models/discovery_rule.rb:12
451
418
  msgid "must start with a letter or ERB."
452
419
  msgstr "must start with a letter or ERB."
453
420
 
454
- #: ../app/models/discovery_rule.rb:45
455
- msgid ""
456
- "Host group organization %s must also be associated to the discovery rule"
457
- msgid_plural ""
458
- "Host group organizations %s must also be associated to the discovery rule"
421
+ #: ../app/models/discovery_rule.rb:15
422
+ msgid "must be present."
423
+ msgstr ""
424
+
425
+ #: ../app/models/discovery_rule.rb:48
426
+ msgid "Host group organization %s must also be associated to the discovery rule"
427
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
459
428
  msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
460
429
  msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
461
430
 
462
- #: ../app/models/discovery_rule.rb:51
431
+ #: ../app/models/discovery_rule.rb:54
463
432
  msgid "Host group location %s must also be associated to the discovery rule"
464
- msgid_plural ""
465
- "Host group locations %s must also be associated to the discovery rule"
433
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
466
434
  msgstr[0] "Host group location %s must also be associated to the discovery rule"
467
435
  msgstr[1] "Host group locations %s must also be associated to the discovery rule"
468
436
 
469
- #: ../app/models/host/discovered.rb:37
437
+ #: ../app/models/host/discovered.rb:51
470
438
  msgid "Invalid facts, must be a Hash"
471
439
  msgstr "Invalid facts, must be a Hash"
472
440
 
473
- #: ../app/models/host/discovered.rb:42
474
- msgid ""
475
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
476
- "and set hostname"
441
+ #: ../app/models/host/discovered.rb:56
442
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
477
443
  msgstr "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
478
444
 
479
- #: ../app/models/host/discovered.rb:49
480
- msgid ""
481
- "Invalid facts: hash does not contain a valid value for any of the facts in "
482
- "the discovery_hostname setting: %s"
445
+ #: ../app/models/host/discovered.rb:63
446
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
483
447
  msgstr "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
484
448
 
485
- #: ../app/models/host/discovered.rb:66
449
+ #: ../app/models/host/discovered.rb:89
486
450
  msgid "Facts could not be imported"
487
451
  msgstr "Facts could not be imported"
488
452
 
489
- #: ../app/models/host/discovered.rb:133
490
- msgid "Unable to assign subnet, primary interface is missing IP address"
491
- msgstr "Unable to assign subnet, primary interface is missing IP address"
492
-
493
- #: ../app/models/host/discovered.rb:190
453
+ #: ../app/models/host/discovered.rb:212
494
454
  msgid "Could not get facts from proxy %{url}: %{error}"
495
455
  msgstr "Could not get facts from proxy %{url}: %{error}"
496
456
 
497
- #: ../app/models/host/discovered.rb:198
457
+ #: ../app/models/host/discovered.rb:220
498
458
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
499
459
  msgstr "Unable to reboot %{name} via %{url}: %{msg}"
500
460
 
501
- #: ../app/models/host/discovered.rb:206
461
+ #: ../app/models/host/discovered.rb:228
502
462
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
503
463
  msgstr "Unable to perform kexec on %{name} via %{url}: %{msg}"
504
464
 
505
- #: ../app/models/host/discovered.rb:225
465
+ #: ../app/models/host/discovered.rb:247
506
466
  msgid "Invalid hostname: Could not normalize the hostname"
507
467
  msgstr "Invalid hostname: Could not normalise the hostname"
508
468
 
@@ -555,9 +515,7 @@ msgid "Hostname facts"
555
515
  msgstr "Hostname facts"
556
516
 
557
517
  #: ../app/models/setting/discovered.rb:22
558
- msgid ""
559
- "Automatically provision newly discovered hosts, according to the "
560
- "provisioning rules"
518
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
561
519
  msgstr "Automatically provision newly discovered hosts, according to the provisioning rules"
562
520
 
563
521
  #: ../app/models/setting/discovered.rb:22
@@ -633,9 +591,7 @@ msgid "IPMI facts"
633
591
  msgstr "IPMI facts"
634
592
 
635
593
  #: ../app/models/setting/discovered.rb:32
636
- msgid ""
637
- "Automatically generate PXE configuration to pin a newly discovered host to "
638
- "discovery"
594
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
639
595
  msgstr "Automatically generate PXE configuration to pin a newly discovered host to discovery"
640
596
 
641
597
  #: ../app/models/setting/discovered.rb:32
@@ -674,27 +630,41 @@ msgstr "Force DNS entries creation when provisioning discovered host"
674
630
  msgid "Force DNS"
675
631
  msgstr "Force DNS"
676
632
 
677
- #: ../app/models/setting/discovered.rb:43
633
+ #: ../app/models/setting/discovered.rb:37
634
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
635
+ msgstr ""
636
+
637
+ #: ../app/models/setting/discovered.rb:37
638
+ msgid "Error on existing NIC"
639
+ msgstr ""
640
+
641
+ #: ../app/models/setting/discovered.rb:44
678
642
  msgid "The default location to place discovered hosts in"
679
643
  msgstr "The default location to place discovered hosts in"
680
644
 
681
- #: ../app/models/setting/discovered.rb:43
645
+ #: ../app/models/setting/discovered.rb:44
682
646
  msgid "Discovery location"
683
647
  msgstr "Discovery location"
684
648
 
685
- #: ../app/models/setting/discovered.rb:51
649
+ #: ../app/models/setting/discovered.rb:52
686
650
  msgid "The default organization to place discovered hosts in"
687
651
  msgstr "The default organisation to place discovered hosts in"
688
652
 
689
- #: ../app/models/setting/discovered.rb:51
653
+ #: ../app/models/setting/discovered.rb:52
690
654
  msgid "Discovery organization"
691
655
  msgstr "Discovery organisation"
692
656
 
693
- #: ../app/services/foreman_discovery/fact_parser.rb:9
694
- msgid ""
695
- "Unable to detect primary interface using MAC '%{mac}' specified by "
696
- "discovery_fact '%{fact}'"
697
- msgstr "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
657
+ #: ../app/services/foreman_discovery/fact_parser.rb:4
658
+ msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
659
+ msgstr ""
660
+
661
+ #: ../app/services/foreman_discovery/fact_parser.rb:6
662
+ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
663
+ msgstr ""
664
+
665
+ #: ../app/services/foreman_discovery/fact_parser.rb:12
666
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
667
+ msgstr ""
698
668
 
699
669
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
700
670
  msgid "Image API returned HTTP/%{code} with '%{body}"
@@ -712,25 +682,15 @@ msgstr "No discovered hosts available"
712
682
  msgid "Host"
713
683
  msgstr "Host"
714
684
 
715
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
716
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
717
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
718
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
719
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
685
+ #: ../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
720
686
  msgid "Model"
721
687
  msgstr "Model"
722
688
 
723
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
724
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
725
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
726
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
689
+ #: ../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
727
690
  msgid "CPUs"
728
691
  msgstr "CPUs"
729
692
 
730
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
731
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
732
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
733
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
693
+ #: ../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
734
694
  msgid "Memory"
735
695
  msgstr "Memory"
736
696
 
@@ -750,16 +710,11 @@ msgstr "Select all items in this page"
750
710
  msgid "items selected. Uncheck to Clear"
751
711
  msgstr "items selected. Uncheck to Clear"
752
712
 
753
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
754
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
755
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
756
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
713
+ #: ../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
757
714
  msgid "Name"
758
715
  msgstr "Name"
759
716
 
760
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
761
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
762
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
717
+ #: ../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
763
718
  msgid "IP Address"
764
719
  msgstr "IP Address"
765
720
 
@@ -771,13 +726,11 @@ msgstr "Disk Count"
771
726
  msgid "Disks Size"
772
727
  msgstr "Disks Size"
773
728
 
774
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
775
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
729
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
776
730
  msgid "Location"
777
731
  msgstr "Location"
778
732
 
779
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
780
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
733
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
781
734
  msgid "Organization"
782
735
  msgstr "Organisation"
783
736
 
@@ -805,18 +758,8 @@ msgstr "Submit"
805
758
  msgid "Provision %s"
806
759
  msgstr "Provision %s"
807
760
 
808
- #: ../app/views/discovered_hosts/index.html.erb:2
809
- msgid "Reboot All"
810
- msgstr "Reboot All"
811
-
812
- #: ../app/views/discovered_hosts/index.html.erb:3
813
- msgid "Auto Provision All"
814
- msgstr "Auto Provision All"
815
-
816
761
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
817
- msgid ""
818
- "This might take a while, as all hosts, facts and reports will be destroyed "
819
- "as well"
762
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
820
763
  msgstr "This might take a while, as all hosts, facts and reports will be destroyed as well"
821
764
 
822
765
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -831,34 +774,36 @@ msgstr "Select organisation"
831
774
  msgid "Discovered host: %s"
832
775
  msgstr "Discovered host: %s"
833
776
 
834
- #: ../app/views/discovered_hosts/show.html.erb:34
777
+ #: ../app/views/discovered_hosts/show.html.erb:37
835
778
  msgid "Interfaces"
836
779
  msgstr "Interfaces"
837
780
 
838
- #: ../app/views/discovered_hosts/show.html.erb:41
781
+ #: ../app/views/discovered_hosts/show.html.erb:44
839
782
  msgid "Type"
840
783
  msgstr "Type"
841
784
 
842
- #: ../app/views/discovered_hosts/show.html.erb:42
785
+ #: ../app/views/discovered_hosts/show.html.erb:45
843
786
  msgid "Identifier"
844
787
  msgstr "Identifier"
845
788
 
846
- #: ../app/views/discovered_hosts/show.html.erb:43
789
+ #: ../app/views/discovered_hosts/show.html.erb:46
847
790
  msgid "MAC address"
848
791
  msgstr "MAC address"
849
792
 
850
- #: ../app/views/discovered_hosts/show.html.erb:44
793
+ #: ../app/views/discovered_hosts/show.html.erb:47
851
794
  msgid "IP address"
852
795
  msgstr "IP address"
853
796
 
797
+ #: ../app/views/discovered_hosts/show.html.erb:66
798
+ msgid "Collapse All"
799
+ msgstr ""
800
+
854
801
  #: ../app/views/discovered_hosts/welcome.html.erb:7
855
802
  msgid "No discovered hosts found in this context."
856
803
  msgstr "No discovered hosts found in this context."
857
804
 
858
805
  #: ../app/views/discovered_hosts/welcome.html.erb:8
859
- msgid ""
860
- "This page shows discovered bare-metal or virtual nodes waiting to be "
861
- "provisioned."
806
+ msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
862
807
  msgstr "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
863
808
 
864
809
  #: ../app/views/discovered_hosts/welcome.html.erb:9
@@ -873,23 +818,19 @@ msgstr "Summary report for discovered hosts from Foreman"
873
818
  msgid "<b>Foreman</b> Discovered hosts summary"
874
819
  msgstr "<b>Foreman</b> Discovered hosts summary"
875
820
 
876
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
877
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
821
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
878
822
  msgid "Summary from %{time} ago to %{now}"
879
823
  msgstr "Summary from %{time} ago to %{now}"
880
824
 
881
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
882
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
825
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
883
826
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
884
827
  msgstr "Discovered hosts from Foreman server at %{foreman_url}"
885
828
 
886
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
887
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
829
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
888
830
  msgid "Disk count"
889
831
  msgstr "Disk count"
890
832
 
891
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
892
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
833
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
893
834
  msgid "Disks size"
894
835
  msgstr "Disks size"
895
836
 
@@ -938,38 +879,28 @@ msgid "Rule priority (lower integer means higher priority)"
938
879
  msgstr "Rule priority (lower integer means higher priority)"
939
880
 
940
881
  #: ../app/views/discovery_rules/_template_inline.erb:2
941
- msgid ""
942
- "Specify target hostname template pattern in the same syntax as in "
943
- "Provisioning Templates (ERB)."
882
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
944
883
  msgstr "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
945
884
 
946
885
  #: ../app/views/discovery_rules/_template_inline.erb:4
947
- msgid ""
948
- "Domain will be appended automatically. A hostname based on MAC address will "
949
- "be used when left blank."
886
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
950
887
  msgstr "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
951
888
 
952
889
  #: ../app/views/discovery_rules/_template_inline.erb:5
953
- msgid ""
954
- "In addition to @host attribute function rand for random integers is "
955
- "available. Examples:"
890
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
956
891
  msgstr "In addition to @host attribute function rand for random integers is available. Examples:"
957
892
 
958
893
  #: ../app/views/discovery_rules/_template_inline.erb:8
959
- msgid ""
960
- "When creating hostname patterns, make sure the resulting host names are "
961
- "unique."
894
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
962
895
  msgstr "When creating hostname patterns, make sure the resulting host names are unique."
963
896
 
964
897
  #: ../app/views/discovery_rules/_template_inline.erb:9
965
- msgid ""
966
- "Hostnames must not start with numbers. A good approach is to use unique "
967
- "information provided by facter (MAC address, BIOS or serial ID)."
898
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
968
899
  msgstr "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
969
900
 
970
901
  #: ../app/views/discovery_rules/edit.html.erb:1
971
- msgid "Edit Discovery Rule"
972
- msgstr "Edit Discovery Rule"
902
+ msgid "Edit %s"
903
+ msgstr ""
973
904
 
974
905
  #: ../app/views/discovery_rules/index.html.erb:1
975
906
  msgid "Discovery Rules"
@@ -1023,30 +954,26 @@ msgstr "One or more hosts have been discovered"
1023
954
  msgid "Details"
1024
955
  msgstr "Details"
1025
956
 
1026
- #: ../lib/foreman_discovery/engine.rb:151
957
+ #: ../lib/foreman_discovery/engine.rb:158
1027
958
  msgid "Discovered hosts"
1028
959
  msgstr "Discovered hosts"
1029
960
 
1030
- #: ../lib/foreman_discovery/engine.rb:156
961
+ #: ../lib/foreman_discovery/engine.rb:163
1031
962
  msgid "Discovery rules"
1032
963
  msgstr "Discovery rules"
1033
964
 
1034
- #: ../lib/foreman_discovery/engine.rb:172
965
+ #: ../lib/foreman_discovery/engine.rb:179
1035
966
  msgid "Discovery Kexec template"
1036
967
  msgstr "Discovery Kexec template"
1037
968
 
1038
- #: ../lib/foreman_discovery/engine.rb:181
969
+ #: ../lib/foreman_discovery/engine.rb:188
1039
970
  msgid "Discovery Proxy"
1040
971
  msgstr "Discovery Proxy"
1041
972
 
1042
- #: ../lib/foreman_discovery/engine.rb:182
1043
- msgid ""
1044
- "Discovery Proxy to use within this subnet for managing connection to "
1045
- "discovered hosts"
973
+ #: ../lib/foreman_discovery/engine.rb:189
974
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1046
975
  msgstr "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1047
976
 
1048
- #: ../lib/foreman_discovery/engine.rb:183
1049
- msgid ""
1050
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1051
- "discovered hosts"
977
+ #: ../lib/foreman_discovery/engine.rb:190
978
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1052
979
  msgstr "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"