foreman_discovery 10.0.0 → 11.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -1
  4. data/app/controllers/api/v2/discovery_rules_controller.rb +2 -1
  5. data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +9 -2
  6. data/app/controllers/discovered_hosts_controller.rb +16 -15
  7. data/app/controllers/discovery_rules_controller.rb +1 -1
  8. data/app/models/host/discovered.rb +10 -4
  9. data/app/models/host/managed_extensions.rb +4 -1
  10. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  11. data/db/migrate/20141107091416_create_discovery_rules.rb +1 -1
  12. data/db/migrate/20141107091417_add_discovery_rule_to_host.rb +1 -1
  13. data/db/migrate/20141126165451_add_discovery_id_to_subnet.rb +1 -1
  14. data/db/migrate/20141223101707_create_discovery_attribute_sets.rb +1 -1
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -1
  16. data/db/migrate/20150302112545_remove_duplicate_tokens_from_hosts.rb +1 -1
  17. data/db/migrate/20150310153859_remove_discovery_attribute_sets_from_managed_hosts.rb +1 -1
  18. data/db/migrate/20150331132115_remove_old_permissions.rb +1 -1
  19. data/db/migrate/20150505111345_remove_leftover_tokens.rb +1 -1
  20. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  21. data/db/migrate/20150714144500_review_discovery_permissions.rb +1 -1
  22. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  23. data/db/migrate/20160719124942_add_missing_view_permissions.rb +1 -1
  24. data/db/migrate/20160805104605_rename_lock_template_setting.rb +1 -1
  25. data/db/migrate/20160818091421_add_permissions_from_default_roles.rb +1 -1
  26. data/db/migrate/20160925213030_change_discovery_widget_names.rb +1 -1
  27. data/db/migrate/20160927164411_define_explicit_length_for_discovery_rule_attributes.rb +1 -1
  28. data/db/migrate/20161006094714_add_constraints_on_subnets_smart_proxies.rb +4 -1
  29. data/lib/foreman_discovery/engine.rb +2 -1
  30. data/lib/foreman_discovery/version.rb +1 -1
  31. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/ca/foreman_discovery.edit.po +47 -38
  33. data/locale/ca/foreman_discovery.po +18 -11
  34. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/de/foreman_discovery.edit.po +50 -42
  36. data/locale/de/foreman_discovery.po +21 -15
  37. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/en/foreman_discovery.edit.po +51 -43
  39. data/locale/en/foreman_discovery.po +7 -1
  40. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/en_GB/foreman_discovery.edit.po +43 -35
  42. data/locale/en_GB/foreman_discovery.po +14 -8
  43. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/es/foreman_discovery.edit.po +208 -200
  45. data/locale/es/foreman_discovery.po +179 -173
  46. data/locale/foreman_discovery.pot +52 -44
  47. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/fr/foreman_discovery.edit.po +54 -46
  49. data/locale/fr/foreman_discovery.po +25 -19
  50. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/gl/foreman_discovery.edit.po +37 -29
  52. data/locale/gl/foreman_discovery.po +8 -2
  53. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/it/foreman_discovery.edit.po +51 -43
  55. data/locale/it/foreman_discovery.po +22 -16
  56. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ja/foreman_discovery.edit.po +184 -176
  58. data/locale/ja/foreman_discovery.po +155 -151
  59. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ko/foreman_discovery.edit.po +57 -49
  61. data/locale/ko/foreman_discovery.po +28 -22
  62. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/pt_BR/foreman_discovery.edit.po +206 -198
  64. data/locale/pt_BR/foreman_discovery.po +177 -171
  65. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/ru/foreman_discovery.edit.po +57 -49
  67. data/locale/ru/foreman_discovery.po +28 -22
  68. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  69. data/locale/sv_SE/foreman_discovery.edit.po +37 -29
  70. data/locale/sv_SE/foreman_discovery.po +8 -2
  71. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  72. data/locale/zh_CN/foreman_discovery.edit.po +204 -196
  73. data/locale/zh_CN/foreman_discovery.po +177 -169
  74. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  75. data/locale/zh_TW/foreman_discovery.edit.po +47 -39
  76. data/locale/zh_TW/foreman_discovery.po +18 -12
  77. data/test/factories/discovery_host_related.rb +2 -2
  78. data/test/factories/discovery_rule_related.rb +1 -1
  79. data/test/functional/api/v2/discovered_hosts_controller_test.rb +28 -27
  80. data/test/functional/api/v2/discovery_rules_controller_test.rb +14 -14
  81. data/test/functional/api/v2/fact_value_extensions_test.rb +5 -2
  82. data/test/functional/discovered_hosts_controller_test.rb +47 -40
  83. data/test/functional/discovery_rules_controller_test.rb +14 -14
  84. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +2 -2
  85. data/test/integration/discovered_hosts_test.rb +151 -0
  86. data/test/test_helper_discovery.rb +53 -23
  87. data/test/test_plugin_helper.rb +3 -7
  88. data/test/unit/discovered_extensions_test.rb +40 -38
  89. data/test/unit/discovered_mailer_test.rb +1 -1
  90. data/test/unit/discovery_attribute_set_test.rb +4 -2
  91. data/test/unit/discovery_rule_test.rb +2 -2
  92. data/test/unit/discovery_taxonomy_extensions_test.rb +1 -1
  93. data/test/unit/fact_parser_test.rb +1 -1
  94. data/test/unit/host_discovered_test.rb +26 -23
  95. data/test/unit/managed_extensions_test.rb +1 -1
  96. data/test/unit/ui_notifications/destroy_host_test.rb +21 -17
  97. data/test/unit/ui_notifications/new_host_test.rb +11 -11
  98. metadata +8 -3
  99. data/config/as_deprecation_whitelist.yaml +0 -0
@@ -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 9.1.0\n"
5
+ "Project-Id-Version: foreman_discovery 10.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"
@@ -80,7 +80,7 @@ msgstr ""
80
80
  msgid "Execute rules against a discovered host"
81
81
  msgstr ""
82
82
 
83
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123 ../app/controllers/discovered_hosts_controller.rb:152
83
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123 ../app/controllers/discovered_hosts_controller.rb:150
84
84
  msgid "Host %{host} was provisioned with rule %{rule}"
85
85
  msgstr ""
86
86
 
@@ -88,7 +88,7 @@ msgstr ""
88
88
  msgid "Unable to provision %{host}: %{errors}"
89
89
  msgstr ""
90
90
 
91
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132 ../app/controllers/discovered_hosts_controller.rb:159
91
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132 ../app/controllers/discovered_hosts_controller.rb:157
92
92
  msgid "No rule found for host %s"
93
93
  msgstr ""
94
94
 
@@ -96,11 +96,11 @@ msgstr ""
96
96
  msgid "Execute rules against all currently discovered hosts"
97
97
  msgstr ""
98
98
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143 ../app/controllers/discovered_hosts_controller.rb:165
99
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143 ../app/controllers/discovered_hosts_controller.rb:163
100
100
  msgid "Errors during auto provisioning: %s"
101
101
  msgstr ""
102
102
 
103
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146 ../app/controllers/discovered_hosts_controller.rb:168
103
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146 ../app/controllers/discovered_hosts_controller.rb:166
104
104
  msgid "No discovered hosts to provision"
105
105
  msgstr ""
106
106
 
@@ -160,15 +160,23 @@ msgstr ""
160
160
  msgid "flag is used for temporary shutdown of rules"
161
161
  msgstr ""
162
162
 
163
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:43
163
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:39
164
+ msgid "location ID for provisioned hosts"
165
+ msgstr ""
166
+
167
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:40
168
+ msgid "organization ID for provisioned hosts"
169
+ msgstr ""
170
+
171
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:44
164
172
  msgid "Create a discovery rule"
165
173
  msgstr ""
166
174
 
167
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:51
175
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:52
168
176
  msgid "Update a rule"
169
177
  msgstr ""
170
178
 
171
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:59
179
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:60
172
180
  msgid "Delete a rule"
173
181
  msgstr ""
174
182
 
@@ -228,59 +236,59 @@ msgstr ""
228
236
  msgid "Failed to reboot hosts with error %s"
229
237
  msgstr ""
230
238
 
231
- #: ../app/controllers/discovered_hosts_controller.rb:142
239
+ #: ../app/controllers/discovered_hosts_controller.rb:140
232
240
  msgid "Destroyed selected hosts"
233
241
  msgstr ""
234
242
 
235
- #: ../app/controllers/discovered_hosts_controller.rb:144
243
+ #: ../app/controllers/discovered_hosts_controller.rb:142
236
244
  msgid "The following hosts were not deleted: %s"
237
245
  msgstr ""
238
246
 
239
- #: ../app/controllers/discovered_hosts_controller.rb:156
247
+ #: ../app/controllers/discovered_hosts_controller.rb:154
240
248
  msgid "Failed to auto provision host %s: %s"
241
249
  msgstr ""
242
250
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:184
251
+ #: ../app/controllers/discovered_hosts_controller.rb:182
244
252
  msgid "Discovered hosts are provisioning now"
245
253
  msgstr ""
246
254
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:213
255
+ #: ../app/controllers/discovered_hosts_controller.rb:214
248
256
  msgid "Highlights"
249
257
  msgstr ""
250
258
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:213
259
+ #: ../app/controllers/discovered_hosts_controller.rb:214
252
260
  msgid "Storage"
253
261
  msgstr ""
254
262
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:213
263
+ #: ../app/controllers/discovered_hosts_controller.rb:214
256
264
  msgid "Hardware"
257
265
  msgstr ""
258
266
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:213
267
+ #: ../app/controllers/discovered_hosts_controller.rb:214
260
268
  msgid "Network"
261
269
  msgstr ""
262
270
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:213
271
+ #: ../app/controllers/discovered_hosts_controller.rb:214
264
272
  msgid "Software"
265
273
  msgstr ""
266
274
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:213
275
+ #: ../app/controllers/discovered_hosts_controller.rb:214
268
276
  msgid "IPMI"
269
277
  msgstr ""
270
278
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:213
279
+ #: ../app/controllers/discovered_hosts_controller.rb:214
272
280
  msgid "Miscellaneous"
273
281
  msgstr ""
274
282
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:290
283
+ #: ../app/controllers/discovered_hosts_controller.rb:291
276
284
  msgid "No hosts were found with that id or name"
277
285
  msgstr ""
278
286
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:294
287
+ #: ../app/controllers/discovered_hosts_controller.rb:295
280
288
  msgid "No hosts selected"
281
289
  msgstr ""
282
290
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:300
291
+ #: ../app/controllers/discovered_hosts_controller.rb:301
284
292
  msgid "Something went wrong while selecting hosts - %s"
285
293
  msgstr ""
286
294
 
@@ -360,7 +368,7 @@ msgstr ""
360
368
  msgid "Provision"
361
369
  msgstr ""
362
370
 
363
- #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:166
371
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:167
364
372
  msgid "Discovered Hosts"
365
373
  msgstr ""
366
374
 
@@ -416,59 +424,59 @@ msgid_plural "Host group locations %s must also be associated to the discovery r
416
424
  msgstr[0] ""
417
425
  msgstr[1] ""
418
426
 
419
- #: ../app/models/host/discovered.rb:37
427
+ #: ../app/models/host/discovered.rb:43
420
428
  msgid "Invalid facts, must be a Hash"
421
429
  msgstr ""
422
430
 
423
- #: ../app/models/host/discovered.rb:42
431
+ #: ../app/models/host/discovered.rb:48
424
432
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
425
433
  msgstr ""
426
434
 
427
- #: ../app/models/host/discovered.rb:49
435
+ #: ../app/models/host/discovered.rb:55
428
436
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
429
437
  msgstr ""
430
438
 
431
- #: ../app/models/host/discovered.rb:66
439
+ #: ../app/models/host/discovered.rb:72
432
440
  msgid "Facts could not be imported"
433
441
  msgstr ""
434
442
 
435
- #: ../app/models/host/discovered.rb:133
443
+ #: ../app/models/host/discovered.rb:139
436
444
  msgid "Unable to assign subnet, primary interface is missing IP address"
437
445
  msgstr ""
438
446
 
439
- #: ../app/models/host/discovered.rb:190
447
+ #: ../app/models/host/discovered.rb:196
440
448
  msgid "Could not get facts from proxy %{url}: %{error}"
441
449
  msgstr ""
442
450
 
443
- #: ../app/models/host/discovered.rb:198
451
+ #: ../app/models/host/discovered.rb:204
444
452
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
445
453
  msgstr ""
446
454
 
447
- #: ../app/models/host/discovered.rb:206
455
+ #: ../app/models/host/discovered.rb:212
448
456
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
449
457
  msgstr ""
450
458
 
451
- #: ../app/models/host/discovered.rb:225
459
+ #: ../app/models/host/discovered.rb:231
452
460
  msgid "Invalid hostname: Could not normalize the hostname"
453
461
  msgstr ""
454
462
 
455
- #: ../app/models/host/managed_extensions.rb:20
463
+ #: ../app/models/host/managed_extensions.rb:23
456
464
  msgid "Reloading kernel on %s"
457
465
  msgstr ""
458
466
 
459
- #: ../app/models/host/managed_extensions.rb:22
467
+ #: ../app/models/host/managed_extensions.rb:25
460
468
  msgid "Rebooting %s"
461
469
  msgstr ""
462
470
 
463
- #: ../app/models/host/managed_extensions.rb:43
471
+ #: ../app/models/host/managed_extensions.rb:46
464
472
  msgid "Kexec template not associated with operating system"
465
473
  msgstr ""
466
474
 
467
- #: ../app/models/host/managed_extensions.rb:48
475
+ #: ../app/models/host/managed_extensions.rb:51
468
476
  msgid "Kernel kexec URL is invalid: '%s'"
469
477
  msgstr ""
470
478
 
471
- #: ../app/models/host/managed_extensions.rb:49
479
+ #: ../app/models/host/managed_extensions.rb:52
472
480
  msgid "Init RAM kexec URL is invalid: '%s'"
473
481
  msgstr ""
474
482
 
@@ -928,26 +936,26 @@ msgstr ""
928
936
  msgid "Details"
929
937
  msgstr ""
930
938
 
931
- #: ../lib/foreman_discovery/engine.rb:151
939
+ #: ../lib/foreman_discovery/engine.rb:152
932
940
  msgid "Discovered hosts"
933
941
  msgstr ""
934
942
 
935
- #: ../lib/foreman_discovery/engine.rb:156
943
+ #: ../lib/foreman_discovery/engine.rb:157
936
944
  msgid "Discovery rules"
937
945
  msgstr ""
938
946
 
939
- #: ../lib/foreman_discovery/engine.rb:172
947
+ #: ../lib/foreman_discovery/engine.rb:173
940
948
  msgid "Discovery Kexec template"
941
949
  msgstr ""
942
950
 
943
- #: ../lib/foreman_discovery/engine.rb:181
951
+ #: ../lib/foreman_discovery/engine.rb:182
944
952
  msgid "Discovery Proxy"
945
953
  msgstr ""
946
954
 
947
- #: ../lib/foreman_discovery/engine.rb:182
955
+ #: ../lib/foreman_discovery/engine.rb:183
948
956
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
949
957
  msgstr ""
950
958
 
951
- #: ../lib/foreman_discovery/engine.rb:183
959
+ #: ../lib/foreman_discovery/engine.rb:184
952
960
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
953
961
  msgstr ""
@@ -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 9.1.0\n"
5
+ "Project-Id-Version: foreman_discovery 10.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"
@@ -685,6 +685,9 @@ msgstr ""
685
685
  msgid "items selected. Uncheck to Clear"
686
686
  msgstr ""
687
687
 
688
+ msgid "location ID for provisioned hosts"
689
+ msgstr ""
690
+
688
691
  msgid "must start with a letter or ERB."
689
692
  msgstr ""
690
693
 
@@ -697,6 +700,9 @@ msgstr ""
697
700
  msgid "number of entries per request"
698
701
  msgstr ""
699
702
 
703
+ msgid "organization ID for provisioned hosts"
704
+ msgstr ""
705
+
700
706
  msgid "paginate results"
701
707
  msgstr ""
702
708
 
@@ -10,11 +10,11 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 9.1.0\n"
13
+ "Project-Id-Version: foreman_discovery 10.0.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2017-10-17 15:39+0200\n"
16
- "PO-Revision-Date: 2017-10-17 23:23+0000\n"
17
- "Last-Translator: Lukáš Zapletal\n"
15
+ "POT-Creation-Date: 2017-12-11 10:28+0100\n"
16
+ "PO-Revision-Date: 2017-12-25 01:46+0000\n"
17
+ "Last-Translator: Andi Chandler <andi@gowling.com>\n"
18
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/foreman/language/en_GB/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -53,7 +53,7 @@ msgstr "Show a discovered host"
53
53
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
54
54
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
55
55
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
56
- msgstr ""
56
+ msgstr "DHCP filename option (Grub2 or PXELinux by default)"
57
57
 
58
58
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:41
59
59
  msgid "Create a discovered host for testing (use /facts to create new hosts)"
@@ -102,7 +102,7 @@ msgid "Execute rules against a discovered host"
102
102
  msgstr "Execute rules against a discovered host"
103
103
 
104
104
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:123
105
- #: ../app/controllers/discovered_hosts_controller.rb:152
105
+ #: ../app/controllers/discovered_hosts_controller.rb:150
106
106
  msgid "Host %{host} was provisioned with rule %{rule}"
107
107
  msgstr "Host %{host} was provisioned with rule %{rule}"
108
108
 
@@ -111,7 +111,7 @@ msgid "Unable to provision %{host}: %{errors}"
111
111
  msgstr "Unable to provision %{host}: %{errors}"
112
112
 
113
113
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:132
114
- #: ../app/controllers/discovered_hosts_controller.rb:159
114
+ #: ../app/controllers/discovered_hosts_controller.rb:157
115
115
  msgid "No rule found for host %s"
116
116
  msgstr "No rule found for host %s"
117
117
 
@@ -120,12 +120,12 @@ msgid "Execute rules against all currently discovered hosts"
120
120
  msgstr "Execute rules against all currently discovered hosts"
121
121
 
122
122
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:143
123
- #: ../app/controllers/discovered_hosts_controller.rb:165
123
+ #: ../app/controllers/discovered_hosts_controller.rb:163
124
124
  msgid "Errors during auto provisioning: %s"
125
125
  msgstr "Errors during auto provisioning: %s"
126
126
 
127
127
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:146
128
- #: ../app/controllers/discovered_hosts_controller.rb:168
128
+ #: ../app/controllers/discovered_hosts_controller.rb:166
129
129
  msgid "No discovered hosts to provision"
130
130
  msgstr "No discovered hosts to provision"
131
131
 
@@ -188,15 +188,23 @@ msgstr "puts the rules in order, low numbers go first. Must be greater then zero
188
188
  msgid "flag is used for temporary shutdown of rules"
189
189
  msgstr "flag is used for temporary shutdown of rules"
190
190
 
191
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:43
191
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:39
192
+ msgid "location ID for provisioned hosts"
193
+ msgstr "location ID for provisioned hosts"
194
+
195
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:40
196
+ msgid "organization ID for provisioned hosts"
197
+ msgstr "organisation ID for provisioned hosts"
198
+
199
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:44
192
200
  msgid "Create a discovery rule"
193
201
  msgstr "Create a discovery rule"
194
202
 
195
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:51
203
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:52
196
204
  msgid "Update a rule"
197
205
  msgstr "Update a rule"
198
206
 
199
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:59
207
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:60
200
208
  msgid "Delete a rule"
201
209
  msgstr "Delete a rule"
202
210
 
@@ -256,59 +264,59 @@ msgstr "Failed to reboot host %{hostname} with error %{error_message}"
256
264
  msgid "Failed to reboot hosts with error %s"
257
265
  msgstr "Failed to reboot hosts with error %s"
258
266
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:142
267
+ #: ../app/controllers/discovered_hosts_controller.rb:140
260
268
  msgid "Destroyed selected hosts"
261
269
  msgstr "Destroyed selected hosts"
262
270
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:144
271
+ #: ../app/controllers/discovered_hosts_controller.rb:142
264
272
  msgid "The following hosts were not deleted: %s"
265
273
  msgstr "The following hosts were not deleted: %s"
266
274
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:156
275
+ #: ../app/controllers/discovered_hosts_controller.rb:154
268
276
  msgid "Failed to auto provision host %s: %s"
269
277
  msgstr "Failed to auto provision host %s: %s"
270
278
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:184
279
+ #: ../app/controllers/discovered_hosts_controller.rb:182
272
280
  msgid "Discovered hosts are provisioning now"
273
281
  msgstr "Discovered hosts are provisioning now"
274
282
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:213
283
+ #: ../app/controllers/discovered_hosts_controller.rb:214
276
284
  msgid "Highlights"
277
285
  msgstr "Highlights"
278
286
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:213
287
+ #: ../app/controllers/discovered_hosts_controller.rb:214
280
288
  msgid "Storage"
281
289
  msgstr "Storage"
282
290
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:213
291
+ #: ../app/controllers/discovered_hosts_controller.rb:214
284
292
  msgid "Hardware"
285
293
  msgstr "Hardware"
286
294
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:213
295
+ #: ../app/controllers/discovered_hosts_controller.rb:214
288
296
  msgid "Network"
289
297
  msgstr "Network"
290
298
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:213
299
+ #: ../app/controllers/discovered_hosts_controller.rb:214
292
300
  msgid "Software"
293
301
  msgstr "Software"
294
302
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:213
303
+ #: ../app/controllers/discovered_hosts_controller.rb:214
296
304
  msgid "IPMI"
297
305
  msgstr "IPMI"
298
306
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:213
307
+ #: ../app/controllers/discovered_hosts_controller.rb:214
300
308
  msgid "Miscellaneous"
301
309
  msgstr "Miscellaneous"
302
310
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:290
311
+ #: ../app/controllers/discovered_hosts_controller.rb:291
304
312
  msgid "No hosts were found with that id or name"
305
313
  msgstr "No hosts were found with that id or name"
306
314
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:294
315
+ #: ../app/controllers/discovered_hosts_controller.rb:295
308
316
  msgid "No hosts selected"
309
317
  msgstr "No hosts selected"
310
318
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:300
319
+ #: ../app/controllers/discovered_hosts_controller.rb:301
312
320
  msgid "Something went wrong while selecting hosts - %s"
313
321
  msgstr "Something went wrong while selecting hosts - %s"
314
322
 
@@ -498,23 +506,23 @@ msgstr "Unable to perform kexec on %{name} via %{url}: %{msg}"
498
506
  msgid "Invalid hostname: Could not normalize the hostname"
499
507
  msgstr "Invalid hostname: Could not normalise the hostname"
500
508
 
501
- #: ../app/models/host/managed_extensions.rb:20
509
+ #: ../app/models/host/managed_extensions.rb:23
502
510
  msgid "Reloading kernel on %s"
503
511
  msgstr "Reloading kernel on %s"
504
512
 
505
- #: ../app/models/host/managed_extensions.rb:22
513
+ #: ../app/models/host/managed_extensions.rb:25
506
514
  msgid "Rebooting %s"
507
515
  msgstr "Rebooting %s"
508
516
 
509
- #: ../app/models/host/managed_extensions.rb:43
517
+ #: ../app/models/host/managed_extensions.rb:46
510
518
  msgid "Kexec template not associated with operating system"
511
519
  msgstr "Kexec template not associated with operating system"
512
520
 
513
- #: ../app/models/host/managed_extensions.rb:48
521
+ #: ../app/models/host/managed_extensions.rb:51
514
522
  msgid "Kernel kexec URL is invalid: '%s'"
515
523
  msgstr "Kernel kexec URL is invalid: '%s'"
516
524
 
517
- #: ../app/models/host/managed_extensions.rb:49
525
+ #: ../app/models/host/managed_extensions.rb:52
518
526
  msgid "Init RAM kexec URL is invalid: '%s'"
519
527
  msgstr "Init RAM kexec URL is invalid: '%s'"
520
528
 
@@ -728,7 +736,7 @@ msgstr "Memory"
728
736
 
729
737
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
730
738
  msgid "Customize Host"
731
- msgstr ""
739
+ msgstr "Customise Host"
732
740
 
733
741
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
734
742
  msgid "Create Host"
@@ -845,17 +853,17 @@ msgstr "IP address"
845
853
 
846
854
  #: ../app/views/discovered_hosts/welcome.html.erb:7
847
855
  msgid "No discovered hosts found in this context."
848
- msgstr ""
856
+ msgstr "No discovered hosts found in this context."
849
857
 
850
858
  #: ../app/views/discovered_hosts/welcome.html.erb:8
851
859
  msgid ""
852
860
  "This page shows discovered bare-metal or virtual nodes waiting to be "
853
861
  "provisioned."
854
- msgstr ""
862
+ msgstr "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
855
863
 
856
864
  #: ../app/views/discovered_hosts/welcome.html.erb:9
857
865
  msgid "Learn more about this in the documentation."
858
- msgstr ""
866
+ msgstr "Learn more about this in the documentation."
859
867
 
860
868
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
861
869
  msgid "Summary report for discovered hosts from Foreman"