foreman_discovery 6.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/controllers/api/v2/discovered_hosts_controller.rb +6 -4
  4. data/app/controllers/api/v2/discovery_rules_controller.rb +3 -2
  5. data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +24 -0
  6. data/app/controllers/concerns/foreman/controller/parameters/discovery_rule.rb +17 -0
  7. data/app/controllers/discovered_hosts_controller.rb +3 -2
  8. data/app/controllers/discovery_rules_controller.rb +4 -2
  9. data/app/helpers/discovered_hosts_helper.rb +7 -10
  10. data/app/models/concerns/discovery_subnet.rb +0 -2
  11. data/app/models/concerns/fact_value_extensions.rb +5 -0
  12. data/app/models/discovery_attribute_set.rb +0 -1
  13. data/app/models/discovery_rule.rb +0 -2
  14. data/app/models/host/discovered.rb +0 -2
  15. data/app/models/host/managed_extensions.rb +1 -3
  16. data/app/models/hostgroup_extensions.rb +0 -1
  17. data/app/models/nic/managed_extensions.rb +26 -0
  18. data/app/models/setting/discovered.rb +1 -0
  19. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +30 -0
  20. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -29
  21. data/app/views/discovered_hosts/show.html.erb +20 -12
  22. data/app/views/discovery_rules/_form.html.erb +1 -1
  23. data/app/views/foreman_discovery/debian_kexec.erb +2 -3
  24. data/app/views/foreman_discovery/redhat_kexec.erb +2 -3
  25. data/lib/foreman_discovery/engine.rb +8 -1
  26. data/lib/foreman_discovery/version.rb +1 -1
  27. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  28. data/locale/ca/foreman_discovery.edit.po +1 -1
  29. data/locale/ca/foreman_discovery.po +2 -2
  30. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/de/foreman_discovery.edit.po +33 -33
  32. data/locale/de/foreman_discovery.po +67 -67
  33. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  34. data/locale/en/foreman_discovery.edit.po +138 -130
  35. data/locale/en/foreman_discovery.po +13 -7
  36. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/en_GB/foreman_discovery.edit.po +34 -33
  38. data/locale/en_GB/foreman_discovery.po +33 -32
  39. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/es/foreman_discovery.edit.po +51 -51
  41. data/locale/es/foreman_discovery.po +51 -51
  42. data/locale/foreman_discovery.pot +151 -144
  43. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/fr/foreman_discovery.edit.po +1 -1
  45. data/locale/fr/foreman_discovery.po +33 -33
  46. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/gl/foreman_discovery.edit.po +1 -1
  48. data/locale/gl/foreman_discovery.po +2 -2
  49. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/it/foreman_discovery.edit.po +5 -5
  51. data/locale/it/foreman_discovery.po +5 -5
  52. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/ja/foreman_discovery.edit.po +37 -37
  54. data/locale/ja/foreman_discovery.po +36 -36
  55. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/ko/foreman_discovery.edit.po +36 -36
  57. data/locale/ko/foreman_discovery.po +35 -35
  58. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/pt_BR/foreman_discovery.edit.po +40 -40
  60. data/locale/pt_BR/foreman_discovery.po +39 -39
  61. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/ru/foreman_discovery.edit.po +8 -8
  63. data/locale/ru/foreman_discovery.po +8 -8
  64. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/sv_SE/foreman_discovery.edit.po +1 -1
  66. data/locale/sv_SE/foreman_discovery.po +2 -2
  67. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  68. data/locale/zh_CN/foreman_discovery.edit.po +37 -37
  69. data/locale/zh_CN/foreman_discovery.po +36 -36
  70. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  71. data/locale/zh_TW/foreman_discovery.edit.po +36 -36
  72. data/locale/zh_TW/foreman_discovery.po +35 -35
  73. data/test/factories/discovery_rule_related.rb +19 -2
  74. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -0
  75. data/test/functional/api/v2/discovery_rules_controller_test.rb +13 -5
  76. data/test/functional/discovered_hosts_controller_test.rb +71 -3
  77. data/test/functional/discovery_rules_controller_test.rb +23 -6
  78. data/test/test_helper_discovery.rb +4 -0
  79. data/test/unit/discovered_extensions_test.rb +2 -0
  80. data/test/unit/fact_value_extensions_test.rb +11 -0
  81. metadata +9 -3
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_discovery 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-07-27 14:13+0200\n"
12
- "PO-Revision-Date: 2016-07-27 14:13+0200\n"
11
+ "POT-Creation-Date: 2016-08-30 16:48+0200\n"
12
+ "PO-Revision-Date: 2016-08-30 16:48+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -18,173 +18,173 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:15
22
- msgid "List all discovered hosts"
23
- msgstr ""
24
-
25
21
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
26
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:14
27
- msgid "filter results"
22
+ msgid "List all discovered hosts"
28
23
  msgstr ""
29
24
 
30
25
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
31
26
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
32
- msgid "sort results"
27
+ msgid "filter results"
33
28
  msgstr ""
34
29
 
35
30
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
36
31
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
37
- msgid "paginate results"
32
+ msgid "sort results"
38
33
  msgstr ""
39
34
 
40
35
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
41
36
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
37
+ msgid "paginate results"
38
+ msgstr ""
39
+
40
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
41
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
42
42
  msgid "number of entries per request"
43
43
  msgstr ""
44
44
 
45
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:25
45
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:26
46
46
  msgid "Show a discovered host"
47
47
  msgstr ""
48
48
 
49
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:39
49
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:40
50
50
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
51
51
  msgstr ""
52
52
 
53
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:47
53
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:48
54
54
  msgid "Provision a discovered host"
55
55
  msgstr ""
56
56
 
57
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:52
57
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
58
58
  msgid "not required if using a subnet with DHCP proxy"
59
59
  msgstr ""
60
60
 
61
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
61
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54
62
62
  msgid "not required if it's a virtual machine"
63
63
  msgstr ""
64
64
 
65
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
65
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
66
66
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
67
67
  msgstr ""
68
68
 
69
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
69
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
70
70
  msgid ""
71
71
  "required if value is not inherited from host group or default password in sett"
72
72
  "ings"
73
73
  msgstr ""
74
74
 
75
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:86
76
76
  msgid "Delete a discovered host"
77
77
  msgstr ""
78
78
 
79
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:92
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
80
80
  msgid "Upload facts for a host, creating the host if required"
81
81
  msgstr ""
82
82
 
83
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:94
84
84
  msgid ""
85
85
  "hash containing facts for the host with minimum set of facts: discovery_bootif"
86
86
  ", macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in cas"
87
87
  "e primary interface is named eth0)"
88
88
  msgstr ""
89
89
 
90
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:109
90
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:111
91
91
  msgid "Execute rules against a discovered host"
92
92
  msgstr ""
93
93
 
94
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:115
95
- #: ../app/controllers/discovered_hosts_controller.rb:164
94
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
95
+ #: ../app/controllers/discovered_hosts_controller.rb:165
96
96
  msgid "Host %{host} was provisioned with rule %{rule}"
97
97
  msgstr ""
98
98
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:120
100
100
  msgid "Unable to provision %{host}: %{errors}"
101
101
  msgstr ""
102
102
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:124
104
- #: ../app/controllers/discovered_hosts_controller.rb:171
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
104
+ #: ../app/controllers/discovered_hosts_controller.rb:172
105
105
  msgid "No rule found for host %s"
106
106
  msgstr ""
107
107
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:133
109
109
  msgid "Execute rules against all currently discovered hosts"
110
110
  msgstr ""
111
111
 
112
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135
113
- #: ../app/controllers/discovered_hosts_controller.rb:177
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:137
113
+ #: ../app/controllers/discovered_hosts_controller.rb:178
114
114
  msgid "Errors during auto provisioning: %s"
115
115
  msgstr ""
116
116
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
118
- #: ../app/controllers/discovered_hosts_controller.rb:180
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:140
118
+ #: ../app/controllers/discovered_hosts_controller.rb:181
119
119
  msgid "No discovered hosts to provision"
120
120
  msgstr ""
121
121
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:160
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:162
123
123
  msgid "%s discovered hosts were provisioned"
124
124
  msgstr ""
125
125
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:171
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:173
127
127
  msgid "Refreshing the facts of a discovered host"
128
128
  msgstr ""
129
129
 
130
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:182
131
131
  msgid "Rebooting a discovered host"
132
132
  msgstr ""
133
133
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:189
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
135
135
  msgid "Rebooting all discovered hosts"
136
136
  msgstr ""
137
137
 
138
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
139
- #: ../app/controllers/discovered_hosts_controller.rb:122
138
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:202
139
+ #: ../app/controllers/discovered_hosts_controller.rb:123
140
140
  msgid "Discovered hosts are rebooting now"
141
141
  msgstr ""
142
142
 
143
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:13
143
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:14
144
144
  msgid "List all discovery rules"
145
145
  msgstr ""
146
146
 
147
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:23
147
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:24
148
148
  msgid "Show a discovery rule"
149
149
  msgstr ""
150
150
 
151
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:31
151
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
152
152
  msgid "represents rule name shown to the users"
153
153
  msgstr ""
154
154
 
155
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
155
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
156
156
  msgid "query to match discovered hosts for the particular rule"
157
157
  msgstr ""
158
158
 
159
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
159
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
160
160
  msgid "the hostgroup that is used to auto provision a host"
161
161
  msgstr ""
162
162
 
163
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
163
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
164
164
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
165
165
  msgstr ""
166
166
 
167
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
167
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
168
168
  msgid "enables to limit maximum amount of provisioned hosts per rule"
169
169
  msgstr ""
170
170
 
171
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
171
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
172
172
  msgid "puts the rules in order, low numbers go first. Must be greater then zero"
173
173
  msgstr ""
174
174
 
175
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
175
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
176
176
  msgid "flag is used for temporary shutdown of rules"
177
177
  msgstr ""
178
178
 
179
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:42
179
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:43
180
180
  msgid "Create a discovery rule"
181
181
  msgstr ""
182
182
 
183
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:50
183
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:51
184
184
  msgid "Update a rule"
185
185
  msgstr ""
186
186
 
187
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:58
187
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:59
188
188
  msgid "Delete a rule"
189
189
  msgstr ""
190
190
 
@@ -208,103 +208,103 @@ msgstr ""
208
208
  msgid "No discovered hosts to reboot"
209
209
  msgstr ""
210
210
 
211
- #: ../app/controllers/discovered_hosts_controller.rb:58
211
+ #: ../app/controllers/discovered_hosts_controller.rb:59
212
212
  msgid "Successfully provisioned %s"
213
213
  msgstr ""
214
214
 
215
- #: ../app/controllers/discovered_hosts_controller.rb:90
215
+ #: ../app/controllers/discovered_hosts_controller.rb:91
216
216
  msgid "Facts refreshed for %s"
217
217
  msgstr ""
218
218
 
219
- #: ../app/controllers/discovered_hosts_controller.rb:92
219
+ #: ../app/controllers/discovered_hosts_controller.rb:93
220
220
  msgid "Failed to refresh facts for %s"
221
221
  msgstr ""
222
222
 
223
- #: ../app/controllers/discovered_hosts_controller.rb:95
223
+ #: ../app/controllers/discovered_hosts_controller.rb:96
224
224
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
225
225
  msgstr ""
226
226
 
227
- #: ../app/controllers/discovered_hosts_controller.rb:102
227
+ #: ../app/controllers/discovered_hosts_controller.rb:103
228
228
  msgid "Host of type %s can not be rebooted"
229
229
  msgstr ""
230
230
 
231
- #: ../app/controllers/discovered_hosts_controller.rb:106
231
+ #: ../app/controllers/discovered_hosts_controller.rb:107
232
232
  msgid "Rebooting host %s"
233
233
  msgstr ""
234
234
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:108
235
+ #: ../app/controllers/discovered_hosts_controller.rb:109
236
236
  msgid "Failed to reboot host %s"
237
237
  msgstr ""
238
238
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:111
239
+ #: ../app/controllers/discovered_hosts_controller.rb:112
240
240
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
241
241
  msgstr ""
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:125
243
+ #: ../app/controllers/discovered_hosts_controller.rb:126
244
244
  msgid "Failed to reboot hosts with error %s"
245
245
  msgstr ""
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:139
247
+ #: ../app/controllers/discovered_hosts_controller.rb:140
248
248
  msgid "Destroyed selected hosts"
249
249
  msgstr ""
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:141
251
+ #: ../app/controllers/discovered_hosts_controller.rb:142
252
252
  msgid "The following hosts were not deleted: %s"
253
253
  msgstr ""
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:168
255
+ #: ../app/controllers/discovered_hosts_controller.rb:169
256
256
  msgid "Failed to auto provision host %s: %s"
257
257
  msgstr ""
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:196
259
+ #: ../app/controllers/discovered_hosts_controller.rb:197
260
260
  msgid "Discovered hosts are provisioning now"
261
261
  msgstr ""
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:225
263
+ #: ../app/controllers/discovered_hosts_controller.rb:226
264
264
  msgid "Highlights"
265
265
  msgstr ""
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:225
267
+ #: ../app/controllers/discovered_hosts_controller.rb:226
268
268
  msgid "Storage"
269
269
  msgstr ""
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:225
271
+ #: ../app/controllers/discovered_hosts_controller.rb:226
272
272
  msgid "Hardware"
273
273
  msgstr ""
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:225
275
+ #: ../app/controllers/discovered_hosts_controller.rb:226
276
276
  msgid "Network"
277
277
  msgstr ""
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:225
279
+ #: ../app/controllers/discovered_hosts_controller.rb:226
280
280
  msgid "Software"
281
281
  msgstr ""
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:225
283
+ #: ../app/controllers/discovered_hosts_controller.rb:226
284
284
  msgid "IPMI"
285
285
  msgstr ""
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:225
287
+ #: ../app/controllers/discovered_hosts_controller.rb:226
288
288
  msgid "Miscellaneous"
289
289
  msgstr ""
290
290
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:302
291
+ #: ../app/controllers/discovered_hosts_controller.rb:303
292
292
  msgid "No hosts were found with that id or name"
293
293
  msgstr ""
294
294
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:306
295
+ #: ../app/controllers/discovered_hosts_controller.rb:307
296
296
  msgid "No hosts selected"
297
297
  msgstr ""
298
298
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:312
299
+ #: ../app/controllers/discovered_hosts_controller.rb:313
300
300
  msgid "Something went wrong while selecting hosts - %s"
301
301
  msgstr ""
302
302
 
303
- #: ../app/controllers/discovery_rules_controller.rb:66
303
+ #: ../app/controllers/discovery_rules_controller.rb:68
304
304
  msgid "Rule enabled"
305
305
  msgstr ""
306
306
 
307
- #: ../app/controllers/discovery_rules_controller.rb:66
307
+ #: ../app/controllers/discovery_rules_controller.rb:68
308
308
  msgid "Rule disabled"
309
309
  msgstr ""
310
310
 
@@ -313,76 +313,75 @@ msgid "%s ago"
313
313
  msgstr ""
314
314
 
315
315
  #: ../app/helpers/discovered_hosts_helper.rb:14
316
- #: ../app/helpers/discovered_hosts_helper.rb:94
317
- msgid "Provision"
318
- msgstr ""
319
-
320
- #: ../app/helpers/discovered_hosts_helper.rb:15
321
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:74
316
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
322
317
  msgid "Auto Provision"
323
318
  msgstr ""
324
319
 
325
- #: ../app/helpers/discovered_hosts_helper.rb:16
326
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:75
320
+ #: ../app/helpers/discovered_hosts_helper.rb:15
321
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
327
322
  msgid "Refresh facts"
328
323
  msgstr ""
329
324
 
330
- #: ../app/helpers/discovered_hosts_helper.rb:17
325
+ #: ../app/helpers/discovered_hosts_helper.rb:16
331
326
  #: ../app/models/setting/discovered.rb:23
332
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:76
327
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
333
328
  msgid "Reboot"
334
329
  msgstr ""
335
330
 
336
- #: ../app/helpers/discovered_hosts_helper.rb:20
331
+ #: ../app/helpers/discovered_hosts_helper.rb:19
337
332
  msgid "Back"
338
333
  msgstr ""
339
334
 
340
- #: ../app/helpers/discovered_hosts_helper.rb:22
341
- #: ../app/helpers/discovered_hosts_helper.rb:39
335
+ #: ../app/helpers/discovered_hosts_helper.rb:21
336
+ #: ../app/helpers/discovered_hosts_helper.rb:38
342
337
  msgid "Select Action"
343
338
  msgstr ""
344
339
 
345
- #: ../app/helpers/discovered_hosts_helper.rb:24
340
+ #: ../app/helpers/discovered_hosts_helper.rb:23
346
341
  msgid "Expand All"
347
342
  msgstr ""
348
343
 
349
- #: ../app/helpers/discovered_hosts_helper.rb:29
350
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:77
344
+ #: ../app/helpers/discovered_hosts_helper.rb:28
345
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
351
346
  msgid "Delete %s?"
352
347
  msgstr ""
353
348
 
354
- #: ../app/helpers/discovered_hosts_helper.rb:35
349
+ #: ../app/helpers/discovered_hosts_helper.rb:34
355
350
  msgid "Delete hosts"
356
351
  msgstr ""
357
352
 
358
- #: ../app/helpers/discovered_hosts_helper.rb:36
353
+ #: ../app/helpers/discovered_hosts_helper.rb:35
359
354
  msgid "Assign Organization"
360
355
  msgstr ""
361
356
 
362
- #: ../app/helpers/discovered_hosts_helper.rb:37
357
+ #: ../app/helpers/discovered_hosts_helper.rb:36
363
358
  msgid "Assign Location"
364
359
  msgstr ""
365
360
 
366
- #: ../app/helpers/discovered_hosts_helper.rb:41
361
+ #: ../app/helpers/discovered_hosts_helper.rb:40
367
362
  msgid "%s - The following hosts are about to be changed"
368
363
  msgstr ""
369
364
 
370
- #: ../app/helpers/discovered_hosts_helper.rb:50
365
+ #: ../app/helpers/discovered_hosts_helper.rb:49
371
366
  msgid "N/A"
372
367
  msgstr ""
373
368
 
374
- #: ../app/helpers/discovered_hosts_helper.rb:62
369
+ #: ../app/helpers/discovered_hosts_helper.rb:61
375
370
  msgid "New in the last 24 hours"
376
371
  msgstr ""
377
372
 
378
- #: ../app/helpers/discovered_hosts_helper.rb:66
373
+ #: ../app/helpers/discovered_hosts_helper.rb:65
379
374
  msgid "Not reported in more than 7 days"
380
375
  msgstr ""
381
376
 
382
- #: ../app/helpers/discovered_hosts_helper.rb:70
377
+ #: ../app/helpers/discovered_hosts_helper.rb:69
383
378
  msgid "Reported in the last 7 days"
384
379
  msgstr ""
385
380
 
381
+ #: ../app/helpers/discovered_hosts_helper.rb:93
382
+ msgid "Provision"
383
+ msgstr ""
384
+
386
385
  #: ../app/helpers/discovery_rules_helper.rb:26
387
386
  msgid "Discovered Hosts"
388
387
  msgstr ""
@@ -419,84 +418,80 @@ msgstr ""
419
418
  msgid "Discovered hosts summary"
420
419
  msgstr ""
421
420
 
422
- #: ../app/models/discovery_rule.rb:11
421
+ #: ../app/models/discovery_rule.rb:9
423
422
  msgid "can't contain white spaces."
424
423
  msgstr ""
425
424
 
426
- #: ../app/models/discovery_rule.rb:13
425
+ #: ../app/models/discovery_rule.rb:11
427
426
  msgid "must start with a letter or ERB."
428
427
  msgstr ""
429
428
 
430
- #: ../app/models/discovery_rule.rb:47
429
+ #: ../app/models/discovery_rule.rb:45
431
430
  msgid "Host group organization %s must also be associated to the discovery rule"
432
431
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
433
432
  msgstr[0] ""
434
433
  msgstr[1] ""
435
434
 
436
- #: ../app/models/discovery_rule.rb:53
435
+ #: ../app/models/discovery_rule.rb:51
437
436
  msgid "Host group location %s must also be associated to the discovery rule"
438
437
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
439
438
  msgstr[0] ""
440
439
  msgstr[1] ""
441
440
 
442
- #: ../app/models/host/discovered.rb:35
441
+ #: ../app/models/host/discovered.rb:33
443
442
  msgid "Invalid facts, must be a Hash"
444
443
  msgstr ""
445
444
 
446
- #: ../app/models/host/discovered.rb:40
445
+ #: ../app/models/host/discovered.rb:38
447
446
  msgid ""
448
447
  "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
449
448
  "d set hostname"
450
449
  msgstr ""
451
450
 
452
- #: ../app/models/host/discovered.rb:47
451
+ #: ../app/models/host/discovered.rb:45
453
452
  msgid ""
454
453
  "Invalid facts: hash does not contain a valid value for any of the facts in the"
455
454
  " discovery_hostname setting: %s"
456
455
  msgstr ""
457
456
 
458
- #: ../app/models/host/discovered.rb:64
457
+ #: ../app/models/host/discovered.rb:62
459
458
  msgid "Facts could not be imported"
460
459
  msgstr ""
461
460
 
462
- #: ../app/models/host/discovered.rb:114
461
+ #: ../app/models/host/discovered.rb:112
463
462
  msgid "Unable to assign subnet, primary interface is missing IP address"
464
463
  msgstr ""
465
464
 
466
- #: ../app/models/host/discovered.rb:168
465
+ #: ../app/models/host/discovered.rb:166
467
466
  msgid "Could not get facts from proxy %{url}: %{error}"
468
467
  msgstr ""
469
468
 
470
- #: ../app/models/host/discovered.rb:184
469
+ #: ../app/models/host/discovered.rb:182
471
470
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
472
471
  msgstr ""
473
472
 
474
- #: ../app/models/host/discovered.rb:192
473
+ #: ../app/models/host/discovered.rb:190
475
474
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
476
475
  msgstr ""
477
476
 
478
- #: ../app/models/host/discovered.rb:211
477
+ #: ../app/models/host/discovered.rb:209
479
478
  msgid "Invalid hostname: Could not normalize the hostname"
480
479
  msgstr ""
481
480
 
482
- #: ../app/models/host/managed_extensions.rb:24
481
+ #: ../app/models/host/managed_extensions.rb:23
483
482
  msgid "Reloading kernel on %s"
484
483
  msgstr ""
485
484
 
486
- #: ../app/models/host/managed_extensions.rb:26
485
+ #: ../app/models/host/managed_extensions.rb:25
487
486
  msgid "Rebooting %s"
488
487
  msgstr ""
489
488
 
490
489
  #: ../app/models/host/managed_extensions.rb:45
491
- msgid "Operating system not set for host/hostgroup"
492
- msgstr ""
493
-
494
- #: ../app/models/host/managed_extensions.rb:47
495
- msgid "Medium not set for host/hostgroup"
490
+ msgid "Kexec template not associated with operating system"
496
491
  msgstr ""
497
492
 
498
- #: ../app/models/host/managed_extensions.rb:54
499
- msgid "Kexec template not associated with operating system"
493
+ #: ../app/models/nic/managed_extensions.rb:14
494
+ msgid "Rebuild DNS for %s"
500
495
  msgstr ""
501
496
 
502
497
  #: ../app/models/setting/discovered.rb:19
@@ -619,19 +614,27 @@ msgstr ""
619
614
  msgid "Locked template name"
620
615
  msgstr ""
621
616
 
622
- #: ../app/models/setting/discovered.rb:40
617
+ #: ../app/models/setting/discovered.rb:34
618
+ msgid "Force DNS entries creation when provisioning discovered host"
619
+ msgstr ""
620
+
621
+ #: ../app/models/setting/discovered.rb:34
622
+ msgid "Force DNS"
623
+ msgstr ""
624
+
625
+ #: ../app/models/setting/discovered.rb:41
623
626
  msgid "The default location to place discovered hosts in"
624
627
  msgstr ""
625
628
 
626
- #: ../app/models/setting/discovered.rb:40
629
+ #: ../app/models/setting/discovered.rb:41
627
630
  msgid "Discovery location"
628
631
  msgstr ""
629
632
 
630
- #: ../app/models/setting/discovered.rb:48
633
+ #: ../app/models/setting/discovered.rb:49
631
634
  msgid "The default organization to place discovered hosts in"
632
635
  msgstr ""
633
636
 
634
- #: ../app/models/setting/discovered.rb:48
637
+ #: ../app/models/setting/discovered.rb:49
635
638
  msgid "Discovery organization"
636
639
  msgstr ""
637
640
 
@@ -679,6 +682,18 @@ msgstr ""
679
682
  msgid "Memory"
680
683
  msgstr ""
681
684
 
685
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:7
686
+ msgid "Select initial host properties"
687
+ msgstr ""
688
+
689
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
690
+ msgid "Quick create"
691
+ msgstr ""
692
+
693
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
694
+ msgid "Create host"
695
+ msgstr ""
696
+
682
697
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
683
698
  #: ../lib/foreman_discovery/engine.rb:147
684
699
  msgid "Discovered hosts"
@@ -735,27 +750,15 @@ msgstr ""
735
750
  msgid "Last facts upload"
736
751
  msgstr ""
737
752
 
738
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
739
- msgid "Select initial host properties"
740
- msgstr ""
741
-
742
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:65
743
- msgid "Quick create"
744
- msgstr ""
745
-
746
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
747
- msgid "Create host"
748
- msgstr ""
749
-
750
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:88
753
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
751
754
  msgid "Please Confirm"
752
755
  msgstr ""
753
756
 
754
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:94
757
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
755
758
  msgid "Cancel"
756
759
  msgstr ""
757
760
 
758
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:95
761
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:67
759
762
  msgid "Submit"
760
763
  msgstr ""
761
764
 
@@ -789,19 +792,23 @@ msgstr ""
789
792
  msgid "Discovered host: %s"
790
793
  msgstr ""
791
794
 
792
- #: ../app/views/discovered_hosts/show.html.erb:24
795
+ #: ../app/views/discovered_hosts/show.html.erb:34
793
796
  msgid "Interfaces"
794
797
  msgstr ""
795
798
 
796
- #: ../app/views/discovered_hosts/show.html.erb:32
799
+ #: ../app/views/discovered_hosts/show.html.erb:41
800
+ msgid "Type"
801
+ msgstr ""
802
+
803
+ #: ../app/views/discovered_hosts/show.html.erb:42
797
804
  msgid "Identifier"
798
805
  msgstr ""
799
806
 
800
- #: ../app/views/discovered_hosts/show.html.erb:33
807
+ #: ../app/views/discovered_hosts/show.html.erb:43
801
808
  msgid "MAC address"
802
809
  msgstr ""
803
810
 
804
- #: ../app/views/discovered_hosts/show.html.erb:34
811
+ #: ../app/views/discovered_hosts/show.html.erb:44
805
812
  msgid "IP address"
806
813
  msgstr ""
807
814
 
@@ -949,6 +956,6 @@ msgstr ""
949
956
  msgid "Discovery rules"
950
957
  msgstr ""
951
958
 
952
- #: ../lib/foreman_discovery/engine.rb:157
959
+ #: ../lib/foreman_discovery/engine.rb:162
953
960
  msgid "Discovery widget"
954
961
  msgstr ""