foreman_discovery 5.0.0 → 5.0.1

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/app/controllers/api/v2/discovered_hosts_controller.rb +41 -51
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +20 -23
  4. data/app/controllers/discovered_hosts_controller.rb +50 -46
  5. data/app/helpers/concerns/foreman_discovery/settings_helper_extensions.rb +34 -0
  6. data/app/helpers/discovery_rules_helper.rb +5 -6
  7. data/app/mailers/discovered_mailer.rb +19 -0
  8. data/app/models/discovery_rule.rb +3 -3
  9. data/app/models/host/discovered.rb +33 -11
  10. data/app/models/host/managed_extensions.rb +10 -0
  11. data/app/models/hostgroup_extensions.rb +1 -1
  12. data/app/models/setting/discovered.rb +17 -11
  13. data/app/services/foreman_discovery/fact_parser.rb +16 -0
  14. data/app/services/foreman_discovery/host_converter.rb +0 -4
  15. data/app/services/foreman_discovery/node_api/power.rb +3 -3
  16. data/app/views/discovered_hosts/_discovered_host.html.erb +4 -2
  17. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  18. data/app/views/discovered_mailer/_discovered_host.html.erb +10 -0
  19. data/app/views/discovered_mailer/discovered_summary.html.erb +35 -0
  20. data/app/views/discovered_mailer/discovered_summary.text.erb +24 -0
  21. data/config/routes.rb +3 -3
  22. data/db/seeds.d/70_discovery_mail_notification.rb +9 -0
  23. data/lib/foreman_discovery/engine.rb +12 -9
  24. data/lib/foreman_discovery/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/ca/foreman_discovery.edit.po +780 -0
  27. data/locale/ca/foreman_discovery.po +358 -261
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +774 -0
  30. data/locale/de/foreman_discovery.po +418 -311
  31. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en_GB/foreman_discovery.edit.po +779 -0
  33. data/locale/en_GB/foreman_discovery.po +423 -313
  34. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/es/foreman_discovery.edit.po +781 -0
  36. data/locale/es/foreman_discovery.po +425 -313
  37. data/locale/foreman_discovery.pot +496 -159
  38. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/fr/foreman_discovery.edit.po +778 -0
  40. data/locale/fr/foreman_discovery.po +458 -322
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.edit.po +757 -0
  43. data/locale/gl/foreman_discovery.po +306 -215
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.edit.po +771 -0
  46. data/locale/it/foreman_discovery.po +411 -301
  47. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ja/foreman_discovery.edit.po +770 -0
  49. data/locale/ja/foreman_discovery.po +395 -300
  50. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ko/foreman_discovery.edit.po +768 -0
  52. data/locale/ko/foreman_discovery.po +393 -299
  53. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/pt_BR/foreman_discovery.edit.po +780 -0
  55. data/locale/pt_BR/foreman_discovery.po +438 -309
  56. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ru/foreman_discovery.edit.po +775 -0
  58. data/locale/ru/foreman_discovery.po +413 -308
  59. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/sv_SE/foreman_discovery.edit.po +766 -0
  61. data/locale/sv_SE/foreman_discovery.po +321 -232
  62. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_CN/foreman_discovery.edit.po +769 -0
  64. data/locale/zh_CN/foreman_discovery.po +393 -302
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.edit.po +769 -0
  67. data/locale/zh_TW/foreman_discovery.po +395 -302
  68. data/test/functional/api/v2/discovered_hosts_controller_test.rb +8 -0
  69. data/test/functional/api/v2/discovery_rules_controller_test.rb +9 -0
  70. data/test/functional/discovered_hosts_controller_test.rb +26 -17
  71. data/test/functional/discovery_rules_controller_test.rb +9 -8
  72. data/test/test_helper.rb +0 -4
  73. data/test/test_helper_discovery.rb +24 -0
  74. data/test/unit/discovered_extensions_test.rb +31 -0
  75. data/test/unit/discovered_mailer_test.rb +44 -0
  76. data/test/unit/discovery_attribute_set_test.rb +12 -0
  77. data/test/unit/discovery_rule_test.rb +20 -0
  78. data/test/unit/{puppet_fact_parser_extensions_test.rb → fact_parser_test.rb} +3 -16
  79. data/test/unit/host_discovered_test.rb +56 -11
  80. metadata +29 -5
  81. data/app/lib/puppet_fact_parser_extensions.rb +0 -29
@@ -1,509 +1,619 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) 2015 Foreman developers
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
7
- # Dominic Cleal <dcleal@redhat.com>, 2013-2015
7
+ # Dominic Cleal <dominic@cleal.org>, 2013-2015
8
8
  # Lukáš Zapletal, 2015
9
9
  # Lukáš Zapletal, 2015
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 4.1.1\n"
12
+ "Project-Id-Version: Foreman\n"
13
13
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
14
- "POT-Creation-Date: 2015-10-15 09:33+0200\n"
15
- "PO-Revision-Date: 2015-10-21 14:21+0000\n"
16
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
17
- "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
14
+ "PO-Revision-Date: 2015-12-27 01:18+0000\n"
15
+ "Last-Translator: Andi Chandler <andi@gowling.com>\n"
16
+ "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
17
+ "man/language/en_GB/)\n"
18
18
  "MIME-Version: 1.0\n"
19
19
  "Content-Type: text/plain; charset=UTF-8\n"
20
20
  "Content-Transfer-Encoding: 8bit\n"
21
21
  "Language: en_GB\n"
22
22
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
23
 
24
- msgid "%s - The following hosts are about to be changed"
25
- msgstr "%s - The following hosts are about to be changed"
24
+ msgid "List all discovered hosts"
25
+ msgstr "List all discovered hosts"
26
26
 
27
- msgid "%s ago"
28
- msgstr "%s ago"
27
+ msgid "filter results"
28
+ msgstr "filter results"
29
29
 
30
- msgid "%s discovered hosts were provisioned"
31
- msgstr ""
30
+ msgid "sort results"
31
+ msgstr "sort results"
32
32
 
33
- msgid "Are you sure?"
34
- msgstr "Are you sure?"
33
+ msgid "paginate results"
34
+ msgstr "paginate results"
35
35
 
36
- msgid "Assign Location"
37
- msgstr "Assign Location"
36
+ msgid "number of entries per request"
37
+ msgstr "number of entries per request"
38
38
 
39
- msgid "Assign Organization"
40
- msgstr "Assign Organisation"
39
+ msgid "Show a discovered host"
40
+ msgstr "Show a discovered host"
41
41
 
42
- msgid "Auto Provision"
43
- msgstr "Auto Provision"
42
+ msgid "Create a discovered host for testing (use /facts to create new hosts)"
43
+ msgstr "Create a discovered host for testing (use /facts to create new hosts)"
44
44
 
45
- msgid "Auto Provision All"
46
- msgstr "Auto Provision All"
45
+ msgid "Provision a discovered host"
46
+ msgstr "Provision a discovered host"
47
47
 
48
- msgid ""
49
- "Automatically provision newly discovered hosts, according to the "
50
- "provisioning rules"
51
- msgstr "Automatically provision newly discovered hosts, according to the provisioning rules"
48
+ msgid "not required if using a subnet with DHCP proxy"
49
+ msgstr "not required if using a subnet with DHCP proxy"
52
50
 
53
- msgid "Automatically reboot discovered host during provisioning"
54
- msgstr ""
51
+ msgid "not required if it's a virtual machine"
52
+ msgstr "not required if it's a virtual machine"
55
53
 
56
- msgid "CPUs"
57
- msgstr "CPUs"
54
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
55
+ msgstr "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
58
56
 
59
- msgid "Cancel"
60
- msgstr "Cancel"
57
+ msgid ""
58
+ "required if value is not inherited from host group or default password in sett"
59
+ "ings"
60
+ msgstr ""
61
+ "required if value is not inherited from host group or default password in sett"
62
+ "ings"
61
63
 
62
- msgid "Could not get facts from proxy %{url}: %{error}"
63
- msgstr "Could not get facts from proxy %{url}: %{error}"
64
+ msgid "Delete a discovered host"
65
+ msgstr "Delete a discovered host"
64
66
 
65
- msgid "Create a discovered host for testing (use /facts to create new hosts)"
66
- msgstr ""
67
+ msgid "Upload facts for a host, creating the host if required"
68
+ msgstr "Upload facts for a host, creating the host if required"
67
69
 
68
- msgid "Create a discovery rule"
69
- msgstr "Create a discovery rule"
70
+ msgid ""
71
+ "hash containing facts for the host with minimum set of facts: discovery_bootif"
72
+ ", macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in cas"
73
+ "e primary interface is named eth0)"
74
+ msgstr ""
75
+ "hash containing facts for the host with minimum set of facts: discovery_bootif"
76
+ ", macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in cas"
77
+ "e primary interface is named eth0)"
70
78
 
71
- msgid "Delete"
72
- msgstr "Delete"
79
+ msgid "Execute rules against a discovered host"
80
+ msgstr "Execute rules against a discovered host"
73
81
 
74
- msgid "Delete %s?"
75
- msgstr "Delete %s?"
82
+ msgid "Host %{host} was provisioned with rule %{rule}"
83
+ msgstr "Host %{host} was provisioned with rule %{rule}"
76
84
 
77
- msgid "Delete a discovered host"
78
- msgstr "Delete a discovered host"
85
+ msgid "Unable to provision %{host}: %{errors}"
86
+ msgstr "Unable to provision %{host}: %{errors}"
79
87
 
80
- msgid "Delete a rule"
81
- msgstr "Delete a rule"
88
+ msgid "No rule found for host %s"
89
+ msgstr "No rule found for host %s"
82
90
 
83
- msgid "Delete hosts"
84
- msgstr "Delete hosts"
91
+ msgid "Execute rules against all currently discovered hosts"
92
+ msgstr "Execute rules against all currently discovered hosts"
85
93
 
86
- msgid "Destroyed selected hosts"
87
- msgstr "Destroyed selected hosts"
94
+ msgid "Errors during auto provisioning: %s"
95
+ msgstr "Errors during auto provisioning: %s"
88
96
 
89
- msgid "Disable"
90
- msgstr "Disable"
97
+ msgid "No discovered hosts to provision"
98
+ msgstr "No discovered hosts to provision"
91
99
 
92
- msgid "Disable rule?"
93
- msgstr "Disable rule?"
100
+ msgid "%s discovered hosts were provisioned"
101
+ msgstr "%s discovered hosts were provisioned"
94
102
 
95
- msgid "Discovered host: %s"
96
- msgstr "Discovered host: %s"
103
+ msgid "Refreshing the facts of a discovered host"
104
+ msgstr "Refreshing the facts of a discovered host"
97
105
 
98
- msgid "Discovered hosts"
99
- msgstr "Discovered hosts"
106
+ msgid "Rebooting a discovered host"
107
+ msgstr "Rebooting a discovered host"
100
108
 
101
- msgid "Discovered hosts are provisioning now"
102
- msgstr "Discovered hosts are provisioning now"
109
+ msgid "Rebooting all discovered hosts"
110
+ msgstr "Rebooting all discovered hosts"
103
111
 
104
112
  msgid "Discovered hosts are rebooting now"
105
- msgstr ""
113
+ msgstr "Discovered hosts are rebooting now"
106
114
 
107
- msgid "Discovery Rules"
108
- msgstr "Discovery Rules"
115
+ msgid "List all discovery rules"
116
+ msgstr "List all discovery rules"
109
117
 
110
- msgid "DiscoveryRule|Enabled"
111
- msgstr "Enabled"
118
+ msgid "Show a discovery rule"
119
+ msgstr "Show a discovery rule"
112
120
 
113
- msgid "DiscoveryRule|Name"
114
- msgstr "Name"
121
+ msgid "represents rule name shown to the users"
122
+ msgstr "represents rule name shown to the users"
115
123
 
116
- msgid "DiscoveryRule|Priority"
117
- msgstr "Priority"
124
+ msgid "query to match discovered hosts for the particular rule"
125
+ msgstr "query to match discovered hosts for the particular rule"
118
126
 
119
- msgid "DiscoveryRule|Query"
120
- msgstr "Query"
127
+ msgid "the hostgroup that is used to auto provision a host"
128
+ msgstr "the hostgroup that is used to auto provision a host"
121
129
 
122
- msgid "Disk count"
123
- msgstr "Disk count"
130
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
131
+ msgstr "defines a pattern to assign human-readable hostnames to the matching hosts"
124
132
 
125
- msgid "Disks size"
126
- msgstr "Disks size"
133
+ msgid "enables to limit maximum amount of provisioned hosts per rule"
134
+ msgstr "enables to limit maximum amount of provisioned hosts per rule"
127
135
 
128
- msgid ""
129
- "Domain will be appended automatically. A hostname based on MAC address will "
130
- "be used when left blank. In addition to @host attribute function rand for "
131
- "random integers is available. Examples:"
132
- msgstr "Domain will be appended automatically. A hostname based on MAC address will be used when left blank. In addition to @host attribute function rand for random integers is available. Examples:"
136
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
137
+ msgstr "puts the rules in order, low numbers go first. Must be greater then zero"
133
138
 
134
- msgid "Edit Discovery Rule"
135
- msgstr "Edit Discovery Rule"
139
+ msgid "flag is used for temporary shutdown of rules"
140
+ msgstr "flag is used for temporary shutdown of rules"
136
141
 
137
- msgid "Enable"
138
- msgstr "Enable"
142
+ msgid "Create a discovery rule"
143
+ msgstr "Create a discovery rule"
139
144
 
140
- msgid "Enable rule?"
141
- msgstr "Enable rule?"
145
+ msgid "Update a rule"
146
+ msgstr "Update a rule"
142
147
 
143
- msgid "Errors during auto provisioning: %s"
144
- msgstr "Errors during auto provisioning: %s"
148
+ msgid "Delete a rule"
149
+ msgstr "Delete a rule"
145
150
 
146
- msgid "Errors during reboot: %s"
151
+ msgid "Unable to find a discovery rule, no host provided (check permissions)"
152
+ msgstr "Unable to find a discovery rule, no host provided (check permissions)"
153
+
154
+ msgid "No hostgroup associated with rule '%s'"
147
155
  msgstr ""
148
156
 
149
- msgid "Execute rules against a discovered host"
150
- msgstr "Execute rules against a discovered host"
157
+ msgid "Errors during reboot: %s"
158
+ msgstr "Errors during reboot: %s"
151
159
 
152
- msgid "Execute rules against all currently discovered hosts"
153
- msgstr "Execute rules against all currently discovered hosts"
160
+ msgid "No discovered hosts to reboot"
161
+ msgstr "No discovered hosts to reboot"
154
162
 
155
- msgid ""
156
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
157
- "and set hostname"
158
- msgstr ""
163
+ msgid "Facts refreshed for %s"
164
+ msgstr "Facts refreshed for %s"
159
165
 
160
- msgid "Extra facter columns to show in host lists (separate by comma)"
166
+ msgid "Failed to refresh facts for %s"
167
+ msgstr "Failed to refresh facts for %s"
168
+
169
+ msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
161
170
  msgstr ""
162
171
 
163
- msgid "Fact"
164
- msgstr "Fact"
172
+ msgid "Host of type %s can not be rebooted"
173
+ msgstr "Host of type %s can not be rebooted"
174
+
175
+ msgid "Rebooting host %s"
176
+ msgstr "Rebooting host %s"
165
177
 
166
- msgid "Fact name to use for primary interface detection and hostname"
178
+ msgid "Failed to reboot host %s"
179
+ msgstr "Failed to reboot host %s"
180
+
181
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
182
+ msgstr "Failed to reboot host %{hostname} with error %{error_message}"
183
+
184
+ msgid "Failed to reboot hosts with error %s"
167
185
  msgstr ""
168
186
 
169
- msgid "Facts discovered on this host"
170
- msgstr "Facts discovered on this host"
187
+ msgid "Destroyed selected hosts"
188
+ msgstr "Destroyed selected hosts"
171
189
 
172
- msgid "Facts refreshed for %s"
173
- msgstr "Facts refreshed for %s"
190
+ msgid "The following hosts were not deleted: %s"
191
+ msgstr "The following hosts were not deleted: %s"
174
192
 
175
193
  msgid "Failed to auto provision host %s: %s"
176
194
  msgstr "Failed to auto provision host %s: %s"
177
195
 
178
- msgid "Failed to reboot host %s"
179
- msgstr "Failed to reboot host %s"
196
+ msgid "Discovered hosts are provisioning now"
197
+ msgstr "Discovered hosts are provisioning now"
180
198
 
181
- msgid "Failed to reboot host %{hostname} with error %{error_message}"
182
- msgstr "Failed to reboot host %{hostname} with error %{error_message}"
199
+ msgid "No hosts were found with that id or name"
200
+ msgstr "No hosts were found with that id or name"
183
201
 
184
- msgid "Failed to refresh facts for %s"
185
- msgstr "Failed to refresh facts for %s"
202
+ msgid "No hosts selected"
203
+ msgstr "No hosts selected"
186
204
 
187
- msgid "Host"
188
- msgstr "Host"
205
+ msgid "Something went wrong while selecting hosts - %s"
206
+ msgstr "Something went wrong while selecting hosts - %s"
189
207
 
190
- msgid "Host %{host} was provisioned with rule %{rule}"
191
- msgstr "Host %{host} was provisioned with rule %{rule}"
208
+ msgid "Rule disabled"
209
+ msgstr "Rule disabled"
192
210
 
193
- msgid "Host group"
194
- msgstr "Host group"
211
+ msgid "Rule enabled"
212
+ msgstr "Rule enabled"
195
213
 
196
- msgid "Host group location %s must also be associated to the discovery rule"
197
- msgid_plural ""
198
- "Host group locations %s must also be associated to the discovery rule"
199
- msgstr[0] ""
200
- msgstr[1] ""
214
+ msgid "%s ago"
215
+ msgstr "%s ago"
201
216
 
202
- msgid ""
203
- "Host group organization %s must also be associated to the discovery rule"
204
- msgid_plural ""
205
- "Host group organizations %s must also be associated to the discovery rule"
206
- msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
207
- msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
217
+ msgid "Provision"
218
+ msgstr "Provision"
208
219
 
209
- msgid "Host of type %s can not be rebooted"
210
- msgstr "Host of type %s can not be rebooted"
220
+ msgid "Auto Provision"
221
+ msgstr "Auto Provision"
211
222
 
212
- msgid "Hostname for provisioned hosts"
213
- msgstr "Hostname for provisioned hosts"
223
+ msgid "Refresh facts"
224
+ msgstr "Refresh facts"
214
225
 
215
- msgid "Hosts limit"
216
- msgstr "Hosts limit"
226
+ msgid "Reboot"
227
+ msgstr "Reboot"
217
228
 
218
- msgid "Hosts/limit"
219
- msgstr "Hosts/limit"
229
+ msgid "Back"
230
+ msgstr ""
220
231
 
221
- msgid "IP Address"
222
- msgstr "IP Address"
232
+ msgid "Select Action"
233
+ msgstr "Select Action"
223
234
 
224
- msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
235
+ msgid "Expand All"
225
236
  msgstr ""
226
237
 
227
- msgid "Image API returned HTTP/%{code} with '%{body}"
238
+ msgid "Delete"
239
+ msgstr "Delete"
240
+
241
+ msgid "Are you sure?"
242
+ msgstr "Are you sure?"
243
+
244
+ msgid "Delete hosts"
245
+ msgstr "Delete hosts"
246
+
247
+ msgid "Assign Organization"
248
+ msgstr "Assign Organisation"
249
+
250
+ msgid "Assign Location"
251
+ msgstr "Assign Location"
252
+
253
+ msgid "%s - The following hosts are about to be changed"
254
+ msgstr "%s - The following hosts are about to be changed"
255
+
256
+ msgid "N/A"
257
+ msgstr "N/A"
258
+
259
+ msgid "New in the last 24 hours"
260
+ msgstr "New in the last 24 hours"
261
+
262
+ msgid "Not reported in more than 7 days"
263
+ msgstr "Not reported in more than 7 days"
264
+
265
+ msgid "Reported in the last 7 days"
266
+ msgstr "Reported in the last 7 days"
267
+
268
+ msgid "Discovered Hosts"
228
269
  msgstr ""
229
270
 
230
- msgid "Incompatible version of puppet fact parser"
271
+ msgid "Associated Hosts"
231
272
  msgstr ""
232
273
 
233
- msgid "Invalid facts, must be a Hash"
234
- msgstr "Invalid facts, must be a Hash"
274
+ msgid "Disable rule '%s'?"
275
+ msgstr ""
235
276
 
236
- msgid "Last facts upload"
237
- msgstr "Last facts upload"
277
+ msgid "Disable"
278
+ msgstr "Disable"
238
279
 
239
- msgid "List all discovered hosts"
240
- msgstr "List all discovered hosts"
280
+ msgid "Enable"
281
+ msgstr "Enable"
241
282
 
242
- msgid "List all discovery rules"
243
- msgstr "List all discovery rules"
283
+ msgid "Enable rule '%s'?"
284
+ msgstr ""
244
285
 
245
- msgid "Location"
246
- msgstr "Location"
286
+ msgid "Delete rule '%s'?"
287
+ msgstr ""
247
288
 
248
- msgid "Locations"
289
+ msgid "Must specify a user with email enabled"
249
290
  msgstr ""
250
291
 
251
- msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
252
- msgstr "Maximum hosts provisioned with this rule (0 = unlimited)"
292
+ msgid "Discovered hosts summary"
293
+ msgstr ""
253
294
 
254
- msgid "Memory"
255
- msgstr "Memory"
295
+ msgid "can't contain white spaces."
296
+ msgstr "can't contain white spaces."
256
297
 
257
- msgid "Model"
258
- msgstr "Model"
298
+ msgid "must start with a letter or ERB."
299
+ msgstr "must start with a letter or ERB."
259
300
 
260
- msgid "N/A"
261
- msgstr "N/A"
301
+ msgid "Host group organization %s must also be associated to the discovery rule"
302
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
303
+ msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
304
+ msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
262
305
 
263
- msgid "Name"
264
- msgstr "Name"
306
+ msgid "Host group location %s must also be associated to the discovery rule"
307
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
308
+ msgstr[0] "Host group location %s must also be associated to the discovery rule"
309
+ msgstr[1] "Host group locations %s must also be associated to the discovery rule"
265
310
 
266
- msgid "New Discovery Rule"
267
- msgstr "New Discovery Rule"
311
+ msgid "Invalid facts, must be a Hash"
312
+ msgstr "Invalid facts, must be a Hash"
313
+
314
+ msgid ""
315
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
316
+ "d set hostname"
317
+ msgstr ""
318
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface an"
319
+ "d set hostname"
320
+
321
+ msgid ""
322
+ "Invalid facts: hash does not contain a valid value for any of the facts in the"
323
+ " discovery_hostname setting: %s"
324
+ msgstr ""
325
+
326
+ msgid "Unable to assign subnet, primary interface is missing IP address"
327
+ msgstr "Unable to assign subnet, primary interface is missing IP address"
328
+
329
+ msgid "Could not get facts from proxy %{url}: %{error}"
330
+ msgstr "Could not get facts from proxy %{url}: %{error}"
331
+
332
+ msgid "Unable to reboot %{name} via %{url}: %{msg}"
333
+ msgstr "Unable to reboot %{name} via %{url}: %{msg}"
268
334
 
269
- msgid "New Rule"
270
- msgstr "New Rule"
335
+ msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
336
+ msgstr "Unable to perform kexec on %{name} via %{url}: %{msg}"
271
337
 
272
- msgid "New in the last 24 hours"
338
+ msgid "Invalid hostname: Could not normalize the hostname"
273
339
  msgstr ""
274
340
 
275
- msgid "No discovered hosts available"
276
- msgstr "No discovered hosts available"
341
+ msgid "Reloading kernel on %s"
342
+ msgstr "Reloading kernel on %s"
277
343
 
278
- msgid "No discovered hosts to provision"
279
- msgstr "No discovered hosts to provision"
344
+ msgid "Rebooting %s"
345
+ msgstr "Rebooting %s"
280
346
 
281
- msgid "No discovered hosts to reboot"
347
+ msgid "Operating system not set for host/hostgroup"
282
348
  msgstr ""
283
349
 
284
- msgid "No hosts selected"
285
- msgstr "No hosts selected"
350
+ msgid "Medium not set for host/hostgroup"
351
+ msgstr ""
286
352
 
287
- msgid "No hosts were found with that id or name"
288
- msgstr "No hosts were found with that id or name"
353
+ msgid "Kexec template not associated with operating system"
354
+ msgstr ""
289
355
 
290
- msgid "No rule found for host %s"
291
- msgstr "No rule found for host %s"
356
+ msgid "Fact name to use for primary interface detection"
357
+ msgstr ""
292
358
 
293
- msgid "Not reported in more than 7 days"
359
+ msgid "List of facts to use for the hostname (separated by comma, first wins)"
294
360
  msgstr ""
295
361
 
296
- msgid "Organization"
297
- msgstr "Organisation"
362
+ msgid ""
363
+ "Automatically provision newly discovered hosts, according to the provisioning "
364
+ "rules"
365
+ msgstr ""
366
+ "Automatically provision newly discovered hosts, according to the provisioning "
367
+ "rules"
298
368
 
299
- msgid "Organizations"
300
- msgstr "Organisations"
369
+ msgid "Automatically reboot discovered host during provisioning"
370
+ msgstr "Automatically reboot discovered host during provisioning"
301
371
 
302
- msgid "Please Confirm"
303
- msgstr "Please Confirm"
372
+ msgid "The default prefix to use for the host name, must start with a letter"
373
+ msgstr "The default prefix to use for the host name, must start with a letter"
304
374
 
305
- msgid "Primary"
306
- msgstr ""
375
+ msgid "Extra facter columns to show in host lists (separate by comma)"
376
+ msgstr "Extra facter columns to show in host lists (separate by comma)"
307
377
 
308
- msgid "Provision"
309
- msgstr "Provision"
378
+ msgid "The default location to place discovered hosts in"
379
+ msgstr "The default location to place discovered hosts in"
310
380
 
311
- msgid "Provision a discovered host"
312
- msgstr "Provision a discovered host"
381
+ msgid "The default organization to place discovered hosts in"
382
+ msgstr "The default organisation to place discovered hosts in"
313
383
 
314
- msgid "Reboot"
315
- msgstr "Reboot"
384
+ msgid "Regex to organize facts for highlights section"
385
+ msgstr ""
316
386
 
317
- msgid "Reboot All"
387
+ msgid "Regex to organize facts for storage section"
318
388
  msgstr ""
319
389
 
320
- msgid "Rebooting %s"
321
- msgstr "Rebooting %s"
390
+ msgid "Regex to organize facts for software section"
391
+ msgstr ""
322
392
 
323
- msgid "Rebooting a discovered host"
324
- msgstr "Rebooting a discovered host"
393
+ msgid "Regex to organize facts for hardware section"
394
+ msgstr ""
325
395
 
326
- msgid "Rebooting all discovered hosts"
396
+ msgid "Regex to organize facts for network section"
327
397
  msgstr ""
328
398
 
329
- msgid "Rebooting host %s"
330
- msgstr "Rebooting host %s"
399
+ msgid "Regex to organize facts for ipmi section"
400
+ msgstr ""
331
401
 
332
- msgid "Refresh facts"
333
- msgstr "Refresh facts"
402
+ msgid ""
403
+ "Unable to detect primary interface using MAC '%{mac}' specified by discovery_f"
404
+ "act '%{fact}'"
405
+ msgstr ""
406
+ "Unable to detect primary interface using MAC '%{mac}' specified by discovery_f"
407
+ "act '%{fact}'"
334
408
 
335
- msgid "Refreshing the facts of a discovered host"
336
- msgstr "Refreshing the facts of a discovered host"
409
+ msgid "Image API returned HTTP/%{code} with '%{body}"
410
+ msgstr "Image API returned HTTP/%{code} with '%{body}"
337
411
 
338
- msgid "Reloading kernel on %s"
339
- msgstr ""
412
+ msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
413
+ msgstr "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
340
414
 
341
- msgid "Reported in the last 7 days"
342
- msgstr ""
415
+ msgid "No discovered hosts available"
416
+ msgstr "No discovered hosts available"
343
417
 
344
- msgid "Rule disabled"
345
- msgstr "Rule disabled"
418
+ msgid "Host"
419
+ msgstr "Host"
346
420
 
347
- msgid "Rule enabled"
348
- msgstr "Rule enabled"
421
+ msgid "Model"
422
+ msgstr "Model"
349
423
 
350
- msgid "Rule priority (lower integer means higher priority)"
351
- msgstr "Rule priority (lower integer means higher priority)"
424
+ msgid "CPUs"
425
+ msgstr "CPUs"
352
426
 
353
- msgid "Select Action"
354
- msgstr "Select Action"
427
+ msgid "Memory"
428
+ msgstr "Memory"
429
+
430
+ msgid "Discovered hosts"
431
+ msgstr "Discovered hosts"
432
+
433
+ msgid "items selected. Uncheck to Clear"
434
+ msgstr "items selected. Uncheck to Clear"
355
435
 
356
436
  msgid "Select all items in this page"
357
437
  msgstr "Select all items in this page"
358
438
 
359
- msgid "Select location"
360
- msgstr "Select location"
361
-
362
- msgid "Select organization"
363
- msgstr "Select organisation"
439
+ msgid "Name"
440
+ msgstr "Name"
364
441
 
365
- msgid "Show a discovered host"
366
- msgstr "Show a discovered host"
442
+ msgid "IP Address"
443
+ msgstr "IP Address"
367
444
 
368
- msgid "Show a discovery rule"
369
- msgstr "Show a discovery rule"
445
+ msgid "Disk count"
446
+ msgstr "Disk count"
370
447
 
371
- msgid "Something went wrong while selecting hosts - %s"
372
- msgstr "Something went wrong while selecting hosts - %s"
448
+ msgid "Disks size"
449
+ msgstr "Disks size"
373
450
 
374
- msgid ""
375
- "Specify target hostname template pattern in the same syntax as in "
376
- "Provisioning Templates (ERB)."
377
- msgstr "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
451
+ msgid "Location"
452
+ msgstr "Location"
378
453
 
379
- msgid "Submit"
380
- msgstr "Submit"
454
+ msgid "Organization"
455
+ msgstr "Organisation"
381
456
 
382
457
  msgid "Subnet"
383
458
  msgstr "Subnet"
384
459
 
385
- msgid "Target host group for this rule with all properties set"
386
- msgstr "Target host group for this rule with all properties set"
460
+ msgid "Last facts upload"
461
+ msgstr "Last facts upload"
387
462
 
388
- msgid "Template"
389
- msgstr "Template"
463
+ msgid "Delete %s?"
464
+ msgstr "Delete %s?"
390
465
 
391
- msgid "The default location to place discovered hosts in"
392
- msgstr "The default location to place discovered hosts in"
466
+ msgid "Please Confirm"
467
+ msgstr "Please Confirm"
393
468
 
394
- msgid "The default organization to place discovered hosts in"
395
- msgstr "The default organisation to place discovered hosts in"
469
+ msgid "Cancel"
470
+ msgstr "Cancel"
396
471
 
397
- msgid "The default prefix to use for the host name, must start with a letter"
398
- msgstr "The default prefix to use for the host name, must start with a letter"
472
+ msgid "Submit"
473
+ msgstr "Submit"
399
474
 
400
- msgid "The following hosts were not deleted: %s"
401
- msgstr "The following hosts were not deleted: %s"
475
+ msgid "Reboot All"
476
+ msgstr "Reboot All"
402
477
 
403
- msgid ""
404
- "This might take a while, as all hosts, facts and reports will be destroyed "
405
- "as well"
406
- msgstr "This might take a while, as all hosts, facts and reports will be destroyed as well"
478
+ msgid "Auto Provision All"
479
+ msgstr "Auto Provision All"
480
+
481
+ msgid "Warning"
482
+ msgstr "Warning"
407
483
 
408
484
  msgid ""
409
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
410
- msgstr "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
485
+ "This might take a while, as all hosts, facts and reports will be destroyed as "
486
+ "well"
487
+ msgstr ""
488
+ "This might take a while, as all hosts, facts and reports will be destroyed as "
489
+ "well"
411
490
 
412
- msgid "Unable to assign subnet, primary interface is missing IP address"
491
+ msgid "Select location"
492
+ msgstr "Select location"
493
+
494
+ msgid "Select organization"
495
+ msgstr "Select organisation"
496
+
497
+ msgid "Discovered host: %s"
498
+ msgstr "Discovered host: %s"
499
+
500
+ msgid "Identifier"
413
501
  msgstr ""
414
502
 
415
- msgid ""
416
- "Unable to detect primary interface using MAC '%{mac}' specified by "
417
- "discovery_fact '%{fact}'"
503
+ msgid "MAC address"
418
504
  msgstr ""
419
505
 
420
- msgid "Unable to find a discovery rule, no host provided (check permissions)"
506
+ msgid "IP address"
421
507
  msgstr ""
422
508
 
423
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
509
+ msgid "Summary report for discovered hosts from Foreman"
424
510
  msgstr ""
425
511
 
426
- msgid "Unable to provision %{host}: %{errors}"
512
+ msgid "<b>Foreman</b> Discovered hosts summary"
427
513
  msgstr ""
428
514
 
429
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
515
+ msgid "Summary from %{time} ago to %{now}"
430
516
  msgstr ""
431
517
 
432
- msgid "Update a rule"
433
- msgstr "Update a rule"
518
+ msgid "Discovered hosts from Foreman server at %{foreman_url}"
519
+ msgstr ""
434
520
 
435
- msgid "Upload facts for a host, creating the host if required"
436
- msgstr "Upload facts for a host, creating the host if required"
521
+ msgid "No discovered hosts for the selected period"
522
+ msgstr ""
437
523
 
438
- msgid "Value"
439
- msgstr "Value"
524
+ msgid "Foreman discovered hosts summary"
525
+ msgstr ""
440
526
 
441
- msgid "Warning"
442
- msgstr "Warning"
527
+ msgid "No new discovered hosts for this period"
528
+ msgstr ""
443
529
 
444
- msgid ""
445
- "When creating hostname patterns, make sure the resulting host names are "
446
- "unique. Hostnames must not start with numbers. A good approach is to use "
447
- "unique information provided by facter (MAC address, BIOS or serial ID)."
448
- msgstr "When creating hostname patterns, make sure the resulting host names are unique. Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
530
+ msgid "Primary"
531
+ msgstr "Primary"
449
532
 
450
- msgid "can't contain white spaces."
451
- msgstr "can't contain white spaces."
533
+ msgid "Locations"
534
+ msgstr "Locations"
452
535
 
453
- msgid ""
454
- "defines a pattern to assign human-readable hostnames to the matching hosts"
455
- msgstr ""
536
+ msgid "Organizations"
537
+ msgstr "Organisations"
456
538
 
457
- msgid "enables to limit maximum amount of provisioned hosts per rule"
458
- msgstr ""
539
+ msgid "Target host group for this rule with all properties set"
540
+ msgstr "Target host group for this rule with all properties set"
459
541
 
460
- msgid "filter results"
461
- msgstr "filter results"
542
+ msgid "Template"
543
+ msgstr "Template"
462
544
 
463
- msgid "flag is used for temporary shutdown of rules"
545
+ msgid ""
546
+ "Specify target hostname template pattern in the same syntax as in Provisioning"
547
+ " Templates (ERB)."
464
548
  msgstr ""
549
+ "Specify target hostname template pattern in the same syntax as in Provisioning"
550
+ " Templates (ERB)."
465
551
 
466
552
  msgid ""
467
- "hash containing facts for the host with minimum set of facts: "
468
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
469
- "eth0 (example in case primary interface is named eth0)"
553
+ "Domain will be appended automatically. A hostname based on MAC address will be"
554
+ " used when left blank. In addition to @host attribute function rand for random"
555
+ " integers is available. Examples:"
470
556
  msgstr ""
557
+ "Domain will be appended automatically. A hostname based on MAC address will be"
558
+ " used when left blank. In addition to @host attribute function rand for random"
559
+ " integers is available. Examples:"
471
560
 
472
- msgid "items selected. Uncheck to Clear"
473
- msgstr "items selected. Uncheck to Clear"
561
+ msgid ""
562
+ "When creating hostname patterns, make sure the resulting host names are unique"
563
+ ". Hostnames must not start with numbers. A good approach is to use unique info"
564
+ "rmation provided by facter (MAC address, BIOS or serial ID)."
565
+ msgstr ""
566
+ "When creating hostname patterns, make sure the resulting host names are unique"
567
+ ". Hostnames must not start with numbers. A good approach is to use unique info"
568
+ "rmation provided by facter (MAC address, BIOS or serial ID)."
474
569
 
475
- msgid "must start with a letter or ERB."
476
- msgstr "must start with a letter or ERB."
570
+ msgid "Hostname for provisioned hosts"
571
+ msgstr "Hostname for provisioned hosts"
477
572
 
478
- msgid "not required if it's a virtual machine"
479
- msgstr "not required if it's a virtual machine"
573
+ msgid "Hosts limit"
574
+ msgstr "Hosts limit"
480
575
 
481
- msgid "not required if using a subnet with DHCP proxy"
482
- msgstr "not required if using a subnet with DHCP proxy"
576
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
577
+ msgstr "Maximum hosts provisioned with this rule (0 = unlimited)"
483
578
 
484
- msgid "number of entries per request"
485
- msgstr "number of entries per request"
579
+ msgid "Rule priority (lower integer means higher priority)"
580
+ msgstr "Rule priority (lower integer means higher priority)"
486
581
 
487
- msgid "paginate results"
488
- msgstr "paginate results"
582
+ msgid "Edit Discovery Rule"
583
+ msgstr "Edit Discovery Rule"
489
584
 
490
- msgid ""
491
- "puts the rules in order, low numbers go first. Must be greater then zero"
492
- msgstr ""
585
+ msgid "Discovery Rules"
586
+ msgstr "Discovery Rules"
493
587
 
494
- msgid "query to match discovered hosts for the particular rule"
495
- msgstr ""
588
+ msgid "New Rule"
589
+ msgstr "New Rule"
496
590
 
497
- msgid "represents rule name shown to the users"
498
- msgstr ""
591
+ msgid "DiscoveryRule|Name"
592
+ msgstr "Name"
499
593
 
500
- msgid ""
501
- "required if value is not inherited from host group or default password in "
502
- "settings"
503
- msgstr "required if value is not inherited from host group or default password in settings"
594
+ msgid "DiscoveryRule|Priority"
595
+ msgstr "Priority"
504
596
 
505
- msgid "sort results"
506
- msgstr "sort results"
597
+ msgid "DiscoveryRule|Query"
598
+ msgstr "Query"
507
599
 
508
- msgid "the hostgroup that is used to auto provision a host"
600
+ msgid "Host group"
601
+ msgstr "Host group"
602
+
603
+ msgid "Hosts/limit"
604
+ msgstr "Hosts/limit"
605
+
606
+ msgid "DiscoveryRule|Enabled"
607
+ msgstr "Enabled"
608
+
609
+ msgid "New Discovery Rule"
610
+ msgstr "New Discovery Rule"
611
+
612
+ msgid "A summary of discovered hosts"
613
+ msgstr ""
614
+
615
+ msgid "Discovery rules"
616
+ msgstr ""
617
+
618
+ msgid "Discovery widget"
509
619
  msgstr ""