foreman_discovery 6.0.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 5.0.2\n"
5
+ "Project-Id-Version: foreman_discovery 7.0.0\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -12,159 +12,159 @@ msgstr ""
12
12
  "Language: en\n"
13
13
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
14
 
15
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:15
15
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
16
16
  msgid "List all discovered hosts"
17
17
  msgstr ""
18
18
 
19
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:16 ../app/controllers/api/v2/discovery_rules_controller.rb:14
19
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
20
20
  msgid "filter results"
21
21
  msgstr ""
22
22
 
23
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
23
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
24
24
  msgid "sort results"
25
25
  msgstr ""
26
26
 
27
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
27
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
28
28
  msgid "paginate results"
29
29
  msgstr ""
30
30
 
31
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
31
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
32
32
  msgid "number of entries per request"
33
33
  msgstr ""
34
34
 
35
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:25
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:26
36
36
  msgid "Show a discovered host"
37
37
  msgstr ""
38
38
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:39
39
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:40
40
40
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
41
41
  msgstr ""
42
42
 
43
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:47
43
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:48
44
44
  msgid "Provision a discovered host"
45
45
  msgstr ""
46
46
 
47
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:52
47
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
48
48
  msgid "not required if using a subnet with DHCP proxy"
49
49
  msgstr ""
50
50
 
51
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
51
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54
52
52
  msgid "not required if it's a virtual machine"
53
53
  msgstr ""
54
54
 
55
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
55
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
56
56
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
57
57
  msgstr ""
58
58
 
59
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
59
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
60
60
  msgid "required if value is not inherited from host group or default password in settings"
61
61
  msgstr ""
62
62
 
63
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:85
63
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:86
64
64
  msgid "Delete a discovered host"
65
65
  msgstr ""
66
66
 
67
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:92
67
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
68
68
  msgid "Upload facts for a host, creating the host if required"
69
69
  msgstr ""
70
70
 
71
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
71
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:94
72
72
  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)"
73
73
  msgstr ""
74
74
 
75
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:109
75
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:111
76
76
  msgid "Execute rules against a discovered host"
77
77
  msgstr ""
78
78
 
79
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:115 ../app/controllers/discovered_hosts_controller.rb:164
79
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117 ../app/controllers/discovered_hosts_controller.rb:165
80
80
  msgid "Host %{host} was provisioned with rule %{rule}"
81
81
  msgstr ""
82
82
 
83
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:118
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:120
84
84
  msgid "Unable to provision %{host}: %{errors}"
85
85
  msgstr ""
86
86
 
87
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:124 ../app/controllers/discovered_hosts_controller.rb:171
87
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126 ../app/controllers/discovered_hosts_controller.rb:172
88
88
  msgid "No rule found for host %s"
89
89
  msgstr ""
90
90
 
91
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:133
92
92
  msgid "Execute rules against all currently discovered hosts"
93
93
  msgstr ""
94
94
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:177
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:137 ../app/controllers/discovered_hosts_controller.rb:178
96
96
  msgid "Errors during auto provisioning: %s"
97
97
  msgstr ""
98
98
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138 ../app/controllers/discovered_hosts_controller.rb:180
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:140 ../app/controllers/discovered_hosts_controller.rb:181
100
100
  msgid "No discovered hosts to provision"
101
101
  msgstr ""
102
102
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:160
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:162
104
104
  msgid "%s discovered hosts were provisioned"
105
105
  msgstr ""
106
106
 
107
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:171
107
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:173
108
108
  msgid "Refreshing the facts of a discovered host"
109
109
  msgstr ""
110
110
 
111
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
111
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:182
112
112
  msgid "Rebooting a discovered host"
113
113
  msgstr ""
114
114
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:189
115
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
116
116
  msgid "Rebooting all discovered hosts"
117
117
  msgstr ""
118
118
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200 ../app/controllers/discovered_hosts_controller.rb:122
119
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:202 ../app/controllers/discovered_hosts_controller.rb:123
120
120
  msgid "Discovered hosts are rebooting now"
121
121
  msgstr ""
122
122
 
123
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:13
123
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:14
124
124
  msgid "List all discovery rules"
125
125
  msgstr ""
126
126
 
127
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:23
127
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:24
128
128
  msgid "Show a discovery rule"
129
129
  msgstr ""
130
130
 
131
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:31
131
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
132
132
  msgid "represents rule name shown to the users"
133
133
  msgstr ""
134
134
 
135
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:32
135
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
136
136
  msgid "query to match discovered hosts for the particular rule"
137
137
  msgstr ""
138
138
 
139
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:33
139
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
140
140
  msgid "the hostgroup that is used to auto provision a host"
141
141
  msgstr ""
142
142
 
143
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:34
143
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
144
144
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
145
145
  msgstr ""
146
146
 
147
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
147
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
148
148
  msgid "enables to limit maximum amount of provisioned hosts per rule"
149
149
  msgstr ""
150
150
 
151
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
151
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
152
152
  msgid "puts the rules in order, low numbers go first. Must be greater then zero"
153
153
  msgstr ""
154
154
 
155
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
155
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
156
156
  msgid "flag is used for temporary shutdown of rules"
157
157
  msgstr ""
158
158
 
159
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:42
159
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:43
160
160
  msgid "Create a discovery rule"
161
161
  msgstr ""
162
162
 
163
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:50
163
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:51
164
164
  msgid "Update a rule"
165
165
  msgstr ""
166
166
 
167
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:58
167
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:59
168
168
  msgid "Delete a rule"
169
169
  msgstr ""
170
170
 
@@ -188,103 +188,103 @@ msgstr ""
188
188
  msgid "No discovered hosts to reboot"
189
189
  msgstr ""
190
190
 
191
- #: ../app/controllers/discovered_hosts_controller.rb:58
191
+ #: ../app/controllers/discovered_hosts_controller.rb:59
192
192
  msgid "Successfully provisioned %s"
193
193
  msgstr ""
194
194
 
195
- #: ../app/controllers/discovered_hosts_controller.rb:90
195
+ #: ../app/controllers/discovered_hosts_controller.rb:91
196
196
  msgid "Facts refreshed for %s"
197
197
  msgstr ""
198
198
 
199
- #: ../app/controllers/discovered_hosts_controller.rb:92
199
+ #: ../app/controllers/discovered_hosts_controller.rb:93
200
200
  msgid "Failed to refresh facts for %s"
201
201
  msgstr ""
202
202
 
203
- #: ../app/controllers/discovered_hosts_controller.rb:95
203
+ #: ../app/controllers/discovered_hosts_controller.rb:96
204
204
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
205
205
  msgstr ""
206
206
 
207
- #: ../app/controllers/discovered_hosts_controller.rb:102
207
+ #: ../app/controllers/discovered_hosts_controller.rb:103
208
208
  msgid "Host of type %s can not be rebooted"
209
209
  msgstr ""
210
210
 
211
- #: ../app/controllers/discovered_hosts_controller.rb:106
211
+ #: ../app/controllers/discovered_hosts_controller.rb:107
212
212
  msgid "Rebooting host %s"
213
213
  msgstr ""
214
214
 
215
- #: ../app/controllers/discovered_hosts_controller.rb:108
215
+ #: ../app/controllers/discovered_hosts_controller.rb:109
216
216
  msgid "Failed to reboot host %s"
217
217
  msgstr ""
218
218
 
219
- #: ../app/controllers/discovered_hosts_controller.rb:111
219
+ #: ../app/controllers/discovered_hosts_controller.rb:112
220
220
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
221
221
  msgstr ""
222
222
 
223
- #: ../app/controllers/discovered_hosts_controller.rb:125
223
+ #: ../app/controllers/discovered_hosts_controller.rb:126
224
224
  msgid "Failed to reboot hosts with error %s"
225
225
  msgstr ""
226
226
 
227
- #: ../app/controllers/discovered_hosts_controller.rb:139
227
+ #: ../app/controllers/discovered_hosts_controller.rb:140
228
228
  msgid "Destroyed selected hosts"
229
229
  msgstr ""
230
230
 
231
- #: ../app/controllers/discovered_hosts_controller.rb:141
231
+ #: ../app/controllers/discovered_hosts_controller.rb:142
232
232
  msgid "The following hosts were not deleted: %s"
233
233
  msgstr ""
234
234
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:168
235
+ #: ../app/controllers/discovered_hosts_controller.rb:169
236
236
  msgid "Failed to auto provision host %s: %s"
237
237
  msgstr ""
238
238
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:196
239
+ #: ../app/controllers/discovered_hosts_controller.rb:197
240
240
  msgid "Discovered hosts are provisioning now"
241
241
  msgstr ""
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:225
243
+ #: ../app/controllers/discovered_hosts_controller.rb:226
244
244
  msgid "Highlights"
245
245
  msgstr ""
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:225
247
+ #: ../app/controllers/discovered_hosts_controller.rb:226
248
248
  msgid "Storage"
249
249
  msgstr ""
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:225
251
+ #: ../app/controllers/discovered_hosts_controller.rb:226
252
252
  msgid "Hardware"
253
253
  msgstr ""
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:225
255
+ #: ../app/controllers/discovered_hosts_controller.rb:226
256
256
  msgid "Network"
257
257
  msgstr ""
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:225
259
+ #: ../app/controllers/discovered_hosts_controller.rb:226
260
260
  msgid "Software"
261
261
  msgstr ""
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:225
263
+ #: ../app/controllers/discovered_hosts_controller.rb:226
264
264
  msgid "IPMI"
265
265
  msgstr ""
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:225
267
+ #: ../app/controllers/discovered_hosts_controller.rb:226
268
268
  msgid "Miscellaneous"
269
269
  msgstr ""
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:302
271
+ #: ../app/controllers/discovered_hosts_controller.rb:303
272
272
  msgid "No hosts were found with that id or name"
273
273
  msgstr ""
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:306
275
+ #: ../app/controllers/discovered_hosts_controller.rb:307
276
276
  msgid "No hosts selected"
277
277
  msgstr ""
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:312
279
+ #: ../app/controllers/discovered_hosts_controller.rb:313
280
280
  msgid "Something went wrong while selecting hosts - %s"
281
281
  msgstr ""
282
282
 
283
- #: ../app/controllers/discovery_rules_controller.rb:66
283
+ #: ../app/controllers/discovery_rules_controller.rb:68
284
284
  msgid "Rule enabled"
285
285
  msgstr ""
286
286
 
287
- #: ../app/controllers/discovery_rules_controller.rb:66
287
+ #: ../app/controllers/discovery_rules_controller.rb:68
288
288
  msgid "Rule disabled"
289
289
  msgstr ""
290
290
 
@@ -292,70 +292,70 @@ msgstr ""
292
292
  msgid "%s ago"
293
293
  msgstr ""
294
294
 
295
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:94
296
- msgid "Provision"
297
- msgstr ""
298
-
299
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:74
295
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
300
296
  msgid "Auto Provision"
301
297
  msgstr ""
302
298
 
303
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:75
299
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
304
300
  msgid "Refresh facts"
305
301
  msgstr ""
306
302
 
307
- #: ../app/helpers/discovered_hosts_helper.rb:17 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:76
303
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
308
304
  msgid "Reboot"
309
305
  msgstr ""
310
306
 
311
- #: ../app/helpers/discovered_hosts_helper.rb:20
307
+ #: ../app/helpers/discovered_hosts_helper.rb:19
312
308
  msgid "Back"
313
309
  msgstr ""
314
310
 
315
- #: ../app/helpers/discovered_hosts_helper.rb:22 ../app/helpers/discovered_hosts_helper.rb:39
311
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:38
316
312
  msgid "Select Action"
317
313
  msgstr ""
318
314
 
319
- #: ../app/helpers/discovered_hosts_helper.rb:24
315
+ #: ../app/helpers/discovered_hosts_helper.rb:23
320
316
  msgid "Expand All"
321
317
  msgstr ""
322
318
 
323
- #: ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:77
319
+ #: ../app/helpers/discovered_hosts_helper.rb:28 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
324
320
  msgid "Delete %s?"
325
321
  msgstr ""
326
322
 
327
- #: ../app/helpers/discovered_hosts_helper.rb:35
323
+ #: ../app/helpers/discovered_hosts_helper.rb:34
328
324
  msgid "Delete hosts"
329
325
  msgstr ""
330
326
 
331
- #: ../app/helpers/discovered_hosts_helper.rb:36
327
+ #: ../app/helpers/discovered_hosts_helper.rb:35
332
328
  msgid "Assign Organization"
333
329
  msgstr ""
334
330
 
335
- #: ../app/helpers/discovered_hosts_helper.rb:37
331
+ #: ../app/helpers/discovered_hosts_helper.rb:36
336
332
  msgid "Assign Location"
337
333
  msgstr ""
338
334
 
339
- #: ../app/helpers/discovered_hosts_helper.rb:41
335
+ #: ../app/helpers/discovered_hosts_helper.rb:40
340
336
  msgid "%s - The following hosts are about to be changed"
341
337
  msgstr ""
342
338
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:50
339
+ #: ../app/helpers/discovered_hosts_helper.rb:49
344
340
  msgid "N/A"
345
341
  msgstr ""
346
342
 
347
- #: ../app/helpers/discovered_hosts_helper.rb:62
343
+ #: ../app/helpers/discovered_hosts_helper.rb:61
348
344
  msgid "New in the last 24 hours"
349
345
  msgstr ""
350
346
 
351
- #: ../app/helpers/discovered_hosts_helper.rb:66
347
+ #: ../app/helpers/discovered_hosts_helper.rb:65
352
348
  msgid "Not reported in more than 7 days"
353
349
  msgstr ""
354
350
 
355
- #: ../app/helpers/discovered_hosts_helper.rb:70
351
+ #: ../app/helpers/discovered_hosts_helper.rb:69
356
352
  msgid "Reported in the last 7 days"
357
353
  msgstr ""
358
354
 
355
+ #: ../app/helpers/discovered_hosts_helper.rb:93
356
+ msgid "Provision"
357
+ msgstr ""
358
+
359
359
  #: ../app/helpers/discovery_rules_helper.rb:26
360
360
  msgid "Discovered Hosts"
361
361
  msgstr ""
@@ -392,80 +392,76 @@ msgstr ""
392
392
  msgid "Discovered hosts summary"
393
393
  msgstr ""
394
394
 
395
- #: ../app/models/discovery_rule.rb:11
395
+ #: ../app/models/discovery_rule.rb:9
396
396
  msgid "can't contain white spaces."
397
397
  msgstr ""
398
398
 
399
- #: ../app/models/discovery_rule.rb:13
399
+ #: ../app/models/discovery_rule.rb:11
400
400
  msgid "must start with a letter or ERB."
401
401
  msgstr ""
402
402
 
403
- #: ../app/models/discovery_rule.rb:47
403
+ #: ../app/models/discovery_rule.rb:45
404
404
  msgid "Host group organization %s must also be associated to the discovery rule"
405
405
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
406
406
  msgstr[0] ""
407
407
  msgstr[1] ""
408
408
 
409
- #: ../app/models/discovery_rule.rb:53
409
+ #: ../app/models/discovery_rule.rb:51
410
410
  msgid "Host group location %s must also be associated to the discovery rule"
411
411
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
412
412
  msgstr[0] ""
413
413
  msgstr[1] ""
414
414
 
415
- #: ../app/models/host/discovered.rb:35
415
+ #: ../app/models/host/discovered.rb:33
416
416
  msgid "Invalid facts, must be a Hash"
417
417
  msgstr ""
418
418
 
419
- #: ../app/models/host/discovered.rb:40
419
+ #: ../app/models/host/discovered.rb:38
420
420
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
421
421
  msgstr ""
422
422
 
423
- #: ../app/models/host/discovered.rb:47
423
+ #: ../app/models/host/discovered.rb:45
424
424
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
425
425
  msgstr ""
426
426
 
427
- #: ../app/models/host/discovered.rb:64
427
+ #: ../app/models/host/discovered.rb:62
428
428
  msgid "Facts could not be imported"
429
429
  msgstr ""
430
430
 
431
- #: ../app/models/host/discovered.rb:114
431
+ #: ../app/models/host/discovered.rb:112
432
432
  msgid "Unable to assign subnet, primary interface is missing IP address"
433
433
  msgstr ""
434
434
 
435
- #: ../app/models/host/discovered.rb:168
435
+ #: ../app/models/host/discovered.rb:166
436
436
  msgid "Could not get facts from proxy %{url}: %{error}"
437
437
  msgstr ""
438
438
 
439
- #: ../app/models/host/discovered.rb:184
439
+ #: ../app/models/host/discovered.rb:182
440
440
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
441
441
  msgstr ""
442
442
 
443
- #: ../app/models/host/discovered.rb:192
443
+ #: ../app/models/host/discovered.rb:190
444
444
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
445
445
  msgstr ""
446
446
 
447
- #: ../app/models/host/discovered.rb:211
447
+ #: ../app/models/host/discovered.rb:209
448
448
  msgid "Invalid hostname: Could not normalize the hostname"
449
449
  msgstr ""
450
450
 
451
- #: ../app/models/host/managed_extensions.rb:24
451
+ #: ../app/models/host/managed_extensions.rb:23
452
452
  msgid "Reloading kernel on %s"
453
453
  msgstr ""
454
454
 
455
- #: ../app/models/host/managed_extensions.rb:26
455
+ #: ../app/models/host/managed_extensions.rb:25
456
456
  msgid "Rebooting %s"
457
457
  msgstr ""
458
458
 
459
459
  #: ../app/models/host/managed_extensions.rb:45
460
- msgid "Operating system not set for host/hostgroup"
461
- msgstr ""
462
-
463
- #: ../app/models/host/managed_extensions.rb:47
464
- msgid "Medium not set for host/hostgroup"
460
+ msgid "Kexec template not associated with operating system"
465
461
  msgstr ""
466
462
 
467
- #: ../app/models/host/managed_extensions.rb:54
468
- msgid "Kexec template not associated with operating system"
463
+ #: ../app/models/nic/managed_extensions.rb:14
464
+ msgid "Rebuild DNS for %s"
469
465
  msgstr ""
470
466
 
471
467
  #: ../app/models/setting/discovered.rb:19
@@ -584,19 +580,27 @@ msgstr ""
584
580
  msgid "Locked template name"
585
581
  msgstr ""
586
582
 
587
- #: ../app/models/setting/discovered.rb:40
583
+ #: ../app/models/setting/discovered.rb:34
584
+ msgid "Force DNS entries creation when provisioning discovered host"
585
+ msgstr ""
586
+
587
+ #: ../app/models/setting/discovered.rb:34
588
+ msgid "Force DNS"
589
+ msgstr ""
590
+
591
+ #: ../app/models/setting/discovered.rb:41
588
592
  msgid "The default location to place discovered hosts in"
589
593
  msgstr ""
590
594
 
591
- #: ../app/models/setting/discovered.rb:40
595
+ #: ../app/models/setting/discovered.rb:41
592
596
  msgid "Discovery location"
593
597
  msgstr ""
594
598
 
595
- #: ../app/models/setting/discovered.rb:48
599
+ #: ../app/models/setting/discovered.rb:49
596
600
  msgid "The default organization to place discovered hosts in"
597
601
  msgstr ""
598
602
 
599
- #: ../app/models/setting/discovered.rb:48
603
+ #: ../app/models/setting/discovered.rb:49
600
604
  msgid "Discovery organization"
601
605
  msgstr ""
602
606
 
@@ -632,6 +636,18 @@ msgstr ""
632
636
  msgid "Memory"
633
637
  msgstr ""
634
638
 
639
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:7
640
+ msgid "Select initial host properties"
641
+ msgstr ""
642
+
643
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
644
+ msgid "Quick create"
645
+ msgstr ""
646
+
647
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
648
+ msgid "Create host"
649
+ msgstr ""
650
+
635
651
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../lib/foreman_discovery/engine.rb:147
636
652
  msgid "Discovered hosts"
637
653
  msgstr ""
@@ -676,27 +692,15 @@ msgstr ""
676
692
  msgid "Last facts upload"
677
693
  msgstr ""
678
694
 
679
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
680
- msgid "Select initial host properties"
681
- msgstr ""
682
-
683
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:65
684
- msgid "Quick create"
685
- msgstr ""
686
-
687
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
688
- msgid "Create host"
689
- msgstr ""
690
-
691
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:88
695
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
692
696
  msgid "Please Confirm"
693
697
  msgstr ""
694
698
 
695
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:94
699
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
696
700
  msgid "Cancel"
697
701
  msgstr ""
698
702
 
699
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:95
703
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:67
700
704
  msgid "Submit"
701
705
  msgstr ""
702
706
 
@@ -728,19 +732,23 @@ msgstr ""
728
732
  msgid "Discovered host: %s"
729
733
  msgstr ""
730
734
 
731
- #: ../app/views/discovered_hosts/show.html.erb:24
735
+ #: ../app/views/discovered_hosts/show.html.erb:34
732
736
  msgid "Interfaces"
733
737
  msgstr ""
734
738
 
735
- #: ../app/views/discovered_hosts/show.html.erb:32
739
+ #: ../app/views/discovered_hosts/show.html.erb:41
740
+ msgid "Type"
741
+ msgstr ""
742
+
743
+ #: ../app/views/discovered_hosts/show.html.erb:42
736
744
  msgid "Identifier"
737
745
  msgstr ""
738
746
 
739
- #: ../app/views/discovered_hosts/show.html.erb:33
747
+ #: ../app/views/discovered_hosts/show.html.erb:43
740
748
  msgid "MAC address"
741
749
  msgstr ""
742
750
 
743
- #: ../app/views/discovered_hosts/show.html.erb:34
751
+ #: ../app/views/discovered_hosts/show.html.erb:44
744
752
  msgid "IP address"
745
753
  msgstr ""
746
754
 
@@ -876,6 +884,6 @@ msgstr ""
876
884
  msgid "Discovery rules"
877
885
  msgstr ""
878
886
 
879
- #: ../lib/foreman_discovery/engine.rb:157
887
+ #: ../lib/foreman_discovery/engine.rb:162
880
888
  msgid "Discovery widget"
881
889
  msgstr ""