foreman_discovery 8.0.0 → 8.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7e377aabf655f28aca2a7dd29852b38a285c3d2
4
- data.tar.gz: d7102edb90f79ed5c386d63f055c312dcaf9eafa
3
+ metadata.gz: 62a93909801bfc5194adc54654131bac536ee0c2
4
+ data.tar.gz: 66a8c7194f619064c6aff8c38313bcf1dad79662
5
5
  SHA512:
6
- metadata.gz: a27026469ca5ff403f032e217a68c103850ff7575e63d41cfa30227e4c8e49aab04af36f967e5319bab0fb6e81e85213e91876421933d6e3b7dcdaa0ea676dee
7
- data.tar.gz: f491253cc94345867d0e99fbfa18dd79c7f5a2561623e33dda6d29b393f012d781794bab8e04483617989b015caa3f844a910671dc335096c0884f15400b4122
6
+ metadata.gz: c37c419b964cc79fa9c22ce54fc1022786338e92889a0ac2356858b5f807e6c97846bec103789dd84a8ba72b87ae6ff04eecf5ab3e844d11d329fd1462667fb8
7
+ data.tar.gz: 6433290cd416729e3aa0c5d4d7a1052586e37b43a59e8453bcaedc485b4c26a80355868e191683bfac2f381a89946b3c805519d0d5b4469dbd845e54f14b1736
@@ -1,6 +1,7 @@
1
1
  module Foreman::Controller::Parameters::DiscoveredHost
2
2
  extend ActiveSupport::Concern
3
3
  include Foreman::Controller::Parameters::HostBase
4
+ include Foreman::Controller::Parameters::HostCommon
4
5
 
5
6
  class_methods do
6
7
  def discovered_host_params_filter
@@ -8,6 +9,7 @@ module Foreman::Controller::Parameters::DiscoveredHost
8
9
  filter.permit :discovery_rule_id
9
10
 
10
11
  add_host_base_params_filter(filter)
12
+ add_host_common_params_filter(filter)
11
13
  end
12
14
  end
13
15
  end
@@ -30,10 +30,6 @@ class Host::Discovered < ::Host::Base
30
30
  where(taxonomy_conditions).order("hosts.created_at DESC")
31
31
  }
32
32
 
33
- before_destroy { |record|
34
- record.update_attribute(:managed, false)
35
- }
36
-
37
33
  def self.import_host facts
38
34
  raise(::Foreman::Exception.new(N_("Invalid facts, must be a Hash"))) unless facts.is_a?(Hash)
39
35
 
@@ -49,18 +45,18 @@ class Host::Discovered < ::Host::Base
49
45
  name_fact = return_first_valid_fact(Setting::Discovered.discovery_hostname_fact_array, facts)
50
46
  raise(::Foreman::Exception.new(N_("Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"), Setting::Discovered.discovery_hostname_fact_array.join(', '))) unless name_fact && name_fact.present?
51
47
  hostname = normalize_string_for_hostname("#{hostname_prefix}#{name_fact}")
52
- Rails.logger.warn "Hostname does not start with an alphabetical character" unless hostname.downcase.match /^[a-z]/
48
+ Rails.logger.warn "Hostname does not start with an alphabetical character" unless hostname.downcase.match(/^[a-z]/)
53
49
 
54
50
  # find existing or create new host record
55
51
  bootif_mac = FacterUtils::bootif_mac(facts).try(:downcase)
56
52
  hosts = ::Nic::Managed.where(:mac => bootif_mac, :primary => true)
57
- if hosts.size == 0
53
+ if hosts.empty?
58
54
  host = Host.new(:name => hostname, :type => "Host::Discovered")
59
55
  else
60
56
  Rails.logger.warn "Multiple discovered hosts found with MAC address #{name_fact}, choosing one" if hosts.size > 1
61
57
  host = hosts.first.host
62
58
  end
63
- host.type = "Host::Discovered"
59
+ raise ::Foreman::Exception.new("Host already exists as managed: %s", "#{host.name}/#{bootif_mac}") if host.type != "Host::Discovered"
64
60
 
65
61
  # and save (interfaces are created via puppet parser extension)
66
62
  host.save(:validate => false) if host.new_record?
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "8.0.0"
2
+ VERSION = "8.0.1"
3
3
  end
@@ -1,18 +1,17 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_discovery 7.0.0\n"
9
+ "Project-Id-Version: foreman_discovery 8.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2017-01-06 08:26+0100\n"
12
- "PO-Revision-Date: 2016-08-31 08:17+0000\n"
12
+ "PO-Revision-Date: 2017-01-06 08:44+0000\n"
13
13
  "Last-Translator: Lukáš Zapletal\n"
14
- "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
15
- "\n"
14
+ "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
16
15
  "MIME-Version: 1.0\n"
17
16
  "Content-Type: text/plain; charset=UTF-8\n"
18
17
  "Content-Transfer-Encoding: 8bit\n"
@@ -23,19 +22,23 @@ msgstr ""
23
22
  msgid "List all discovered hosts"
24
23
  msgstr "Llista tots els amfitrions descoberts"
25
24
 
26
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
25
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
26
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
27
27
  msgid "filter results"
28
28
  msgstr "filtra els resultats"
29
29
 
30
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
30
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
31
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
31
32
  msgid "sort results"
32
33
  msgstr "ordena els resultats"
33
34
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
35
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
36
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
35
37
  msgid "paginate results"
36
38
  msgstr "pagina els resultats"
37
39
 
38
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
40
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
41
+ #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
39
42
  msgid "number of entries per request"
40
43
  msgstr "Nombre d'entrades per petició"
41
44
 
@@ -60,11 +63,14 @@ msgid "not required if it's a virtual machine"
60
63
  msgstr ""
61
64
 
62
65
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
63
- msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
66
+ msgid ""
67
+ "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
64
68
  msgstr ""
65
69
 
66
70
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
67
- msgid "required if value is not inherited from host group or default password in settings"
71
+ msgid ""
72
+ "required if value is not inherited from host group or default password in "
73
+ "settings"
68
74
  msgstr ""
69
75
 
70
76
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:86
@@ -76,14 +82,18 @@ msgid "Upload facts for a host, creating the host if required"
76
82
  msgstr "Puja els objectes d'interès per a un amfitrió, creant el nou amfitrió si fos necessari"
77
83
 
78
84
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:94
79
- 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)"
85
+ msgid ""
86
+ "hash containing facts for the host with minimum set of facts: "
87
+ "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
88
+ "eth0 (example in case primary interface is named eth0)"
80
89
  msgstr ""
81
90
 
82
91
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:111
83
92
  msgid "Execute rules against a discovered host"
84
93
  msgstr ""
85
94
 
86
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117 ../app/controllers/discovered_hosts_controller.rb:162
95
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
96
+ #: ../app/controllers/discovered_hosts_controller.rb:162
87
97
  msgid "Host %{host} was provisioned with rule %{rule}"
88
98
  msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
89
99
 
@@ -91,7 +101,8 @@ msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
91
101
  msgid "Unable to provision %{host}: %{errors}"
92
102
  msgstr "No es pot aprovisionar a %{host}: %{errors}"
93
103
 
94
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126 ../app/controllers/discovered_hosts_controller.rb:169
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
105
+ #: ../app/controllers/discovered_hosts_controller.rb:169
95
106
  msgid "No rule found for host %s"
96
107
  msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
97
108
 
@@ -99,11 +110,13 @@ msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
99
110
  msgid "Execute rules against all currently discovered hosts"
100
111
  msgstr "Executa les regles contra tots els amfitrions detectats actualment"
101
112
 
102
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:137 ../app/controllers/discovered_hosts_controller.rb:175
113
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:137
114
+ #: ../app/controllers/discovered_hosts_controller.rb:175
103
115
  msgid "Errors during auto provisioning: %s"
104
116
  msgstr "Erros durant l'auto aprovisionament: %s"
105
117
 
106
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:140 ../app/controllers/discovered_hosts_controller.rb:178
118
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:140
119
+ #: ../app/controllers/discovered_hosts_controller.rb:178
107
120
  msgid "No discovered hosts to provision"
108
121
  msgstr "Sense amfitrions descoberts per aprovisionar"
109
122
 
@@ -123,7 +136,8 @@ msgstr "S'està reiniciant un amfitrió descobert"
123
136
  msgid "Rebooting all discovered hosts"
124
137
  msgstr "S'estan reiniciant tots els amfitrions descoberts"
125
138
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:202 ../app/controllers/discovered_hosts_controller.rb:120
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:202
140
+ #: ../app/controllers/discovered_hosts_controller.rb:120
127
141
  msgid "Discovered hosts are rebooting now"
128
142
  msgstr "Ara s'estan reiniciant els amfitrions descoberts"
129
143
 
@@ -148,7 +162,8 @@ msgid "the hostgroup that is used to auto provision a host"
148
162
  msgstr "el grup d'amfitrions que s'utilitza per a l'auto aprovisionament d'un amfitrió"
149
163
 
150
164
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
151
- msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
165
+ msgid ""
166
+ "defines a pattern to assign human-readable hostnames to the matching hosts"
152
167
  msgstr ""
153
168
 
154
169
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -156,7 +171,8 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
156
171
  msgstr "permet la limitació del nombre total màxim dels amfitrions aprovisionats per cada regla"
157
172
 
158
173
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
159
- msgid "puts the rules in order, low numbers go first. Must be greater then zero"
174
+ msgid ""
175
+ "puts the rules in order, low numbers go first. Must be greater then zero"
160
176
  msgstr ""
161
177
 
162
178
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -299,15 +315,19 @@ msgstr "Regla inhabilitada"
299
315
  msgid "%s ago"
300
316
  msgstr "fa %s"
301
317
 
302
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
318
+ #: ../app/helpers/discovered_hosts_helper.rb:14
319
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
303
320
  msgid "Auto Provision"
304
321
  msgstr "Auto aprovisiona"
305
322
 
306
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
323
+ #: ../app/helpers/discovered_hosts_helper.rb:15
324
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
307
325
  msgid "Refresh facts"
308
326
  msgstr "Refresca els objectes d'interès"
309
327
 
310
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
328
+ #: ../app/helpers/discovered_hosts_helper.rb:16
329
+ #: ../app/models/setting/discovered.rb:23
330
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
311
331
  msgid "Reboot"
312
332
  msgstr "Reinicia"
313
333
 
@@ -315,7 +335,8 @@ msgstr "Reinicia"
315
335
  msgid "Back"
316
336
  msgstr "Enrere"
317
337
 
318
- #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:38
338
+ #: ../app/helpers/discovered_hosts_helper.rb:21
339
+ #: ../app/helpers/discovered_hosts_helper.rb:38
319
340
  msgid "Select Action"
320
341
  msgstr "Selecciona l'acció"
321
342
 
@@ -323,7 +344,8 @@ msgstr "Selecciona l'acció"
323
344
  msgid "Expand All"
324
345
  msgstr "Expandeix-ho tot"
325
346
 
326
- #: ../app/helpers/discovered_hosts_helper.rb:28 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
347
+ #: ../app/helpers/discovered_hosts_helper.rb:28
348
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
327
349
  msgid "Delete %s?"
328
350
  msgstr "Voleu suprimir %s?"
329
351
 
@@ -363,7 +385,8 @@ msgstr "Es va informar en els últims 7 dies"
363
385
  msgid "Provision"
364
386
  msgstr "Aprovisiona"
365
387
 
366
- #: ../app/helpers/discovery_rules_helper.rb:26 ../lib/foreman_discovery/engine.rb:163
388
+ #: ../app/helpers/discovery_rules_helper.rb:26
389
+ #: ../lib/foreman_discovery/engine.rb:163
367
390
  msgid "Discovered Hosts"
368
391
  msgstr ""
369
392
 
@@ -408,14 +431,17 @@ msgid "must start with a letter or ERB."
408
431
  msgstr "ha de començar amb una lletra o ERB."
409
432
 
410
433
  #: ../app/models/discovery_rule.rb:45
411
- msgid "Host group organization %s must also be associated to the discovery rule"
412
- msgid_plural "Host group organizations %s must also be associated to the discovery rule"
434
+ msgid ""
435
+ "Host group organization %s must also be associated to the discovery rule"
436
+ msgid_plural ""
437
+ "Host group organizations %s must also be associated to the discovery rule"
413
438
  msgstr[0] ""
414
439
  msgstr[1] ""
415
440
 
416
441
  #: ../app/models/discovery_rule.rb:51
417
442
  msgid "Host group location %s must also be associated to the discovery rule"
418
- msgid_plural "Host group locations %s must also be associated to the discovery rule"
443
+ msgid_plural ""
444
+ "Host group locations %s must also be associated to the discovery rule"
419
445
  msgstr[0] ""
420
446
  msgstr[1] ""
421
447
 
@@ -424,11 +450,15 @@ msgid "Invalid facts, must be a Hash"
424
450
  msgstr "Objectes d'interès no vàlids, han de tenir un Hash"
425
451
 
426
452
  #: ../app/models/host/discovered.rb:43
427
- msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
453
+ msgid ""
454
+ "Expected discovery_fact '%s' is missing, unable to detect primary interface "
455
+ "and set hostname"
428
456
  msgstr ""
429
457
 
430
458
  #: ../app/models/host/discovered.rb:50
431
- msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
459
+ msgid ""
460
+ "Invalid facts: hash does not contain a valid value for any of the facts in "
461
+ "the discovery_hostname setting: %s"
432
462
  msgstr ""
433
463
 
434
464
  #: ../app/models/host/discovered.rb:67
@@ -496,7 +526,9 @@ msgid "Hostname facts"
496
526
  msgstr ""
497
527
 
498
528
  #: ../app/models/setting/discovered.rb:22
499
- msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
529
+ msgid ""
530
+ "Automatically provision newly discovered hosts, according to the "
531
+ "provisioning rules"
500
532
  msgstr ""
501
533
 
502
534
  #: ../app/models/setting/discovered.rb:22
@@ -572,7 +604,9 @@ msgid "IPMI facts"
572
604
  msgstr ""
573
605
 
574
606
  #: ../app/models/setting/discovered.rb:32
575
- msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
607
+ msgid ""
608
+ "Automatically generate PXE configuration to pin a newly discovered host to "
609
+ "discovery"
576
610
  msgstr ""
577
611
 
578
612
  #: ../app/models/setting/discovered.rb:32
@@ -628,7 +662,9 @@ msgid "Discovery organization"
628
662
  msgstr ""
629
663
 
630
664
  #: ../app/services/foreman_discovery/fact_parser.rb:9
631
- msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
665
+ msgid ""
666
+ "Unable to detect primary interface using MAC '%{mac}' specified by "
667
+ "discovery_fact '%{fact}'"
632
668
  msgstr ""
633
669
 
634
670
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
@@ -647,15 +683,25 @@ msgstr ""
647
683
  msgid "Host"
648
684
  msgstr "Amfitrió"
649
685
 
650
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
686
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
687
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
688
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
689
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
690
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
651
691
  msgid "Model"
652
692
  msgstr "Model"
653
693
 
654
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
694
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
695
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
696
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
697
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
655
698
  msgid "CPUs"
656
699
  msgstr "Les CPU"
657
700
 
658
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
701
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
702
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
703
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
704
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
659
705
  msgid "Memory"
660
706
  msgstr "Memòria"
661
707
 
@@ -671,7 +717,8 @@ msgstr ""
671
717
  msgid "Create host"
672
718
  msgstr ""
673
719
 
674
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../lib/foreman_discovery/engine.rb:148
720
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
721
+ #: ../lib/foreman_discovery/engine.rb:148
675
722
  msgid "Discovered hosts"
676
723
  msgstr "Amfitrions descoberts"
677
724
 
@@ -683,27 +730,38 @@ msgstr "Selecciona tots els ítems en aquesta pàgina"
683
730
  msgid "items selected. Uncheck to Clear"
684
731
  msgstr "ítems seleccionats. Desmarca per netejar"
685
732
 
686
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
733
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
734
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
735
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
736
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
687
737
  msgid "Name"
688
738
  msgstr "Nom"
689
739
 
690
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
740
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
741
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
742
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
691
743
  msgid "IP Address"
692
744
  msgstr "Adreça IP"
693
745
 
694
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11 ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
746
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
747
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
748
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
695
749
  msgid "Disk count"
696
750
  msgstr "Nombre de discs"
697
751
 
698
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12 ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
752
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
753
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
754
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
699
755
  msgid "Disks size"
700
756
  msgstr "Mida de disc"
701
757
 
702
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
758
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
759
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
703
760
  msgid "Location"
704
761
  msgstr "Ubicació"
705
762
 
706
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
763
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
764
+ #: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
707
765
  msgid "Organization"
708
766
  msgstr "Organització"
709
767
 
@@ -740,7 +798,9 @@ msgid "Warning"
740
798
  msgstr "Advertència"
741
799
 
742
800
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:5
743
- msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
801
+ msgid ""
802
+ "This might take a while, as all hosts, facts and reports will be destroyed "
803
+ "as well"
744
804
  msgstr ""
745
805
 
746
806
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -783,11 +843,13 @@ msgstr ""
783
843
  msgid "<b>Foreman</b> Discovered hosts summary"
784
844
  msgstr ""
785
845
 
786
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
846
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
847
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
787
848
  msgid "Summary from %{time} ago to %{now}"
788
849
  msgstr ""
789
850
 
790
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
851
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
852
+ #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
791
853
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
792
854
  msgstr ""
793
855
 
@@ -840,23 +902,33 @@ msgid "Rule priority (lower integer means higher priority)"
840
902
  msgstr ""
841
903
 
842
904
  #: ../app/views/discovery_rules/_template_inline.erb:2
843
- msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
905
+ msgid ""
906
+ "Specify target hostname template pattern in the same syntax as in "
907
+ "Provisioning Templates (ERB)."
844
908
  msgstr ""
845
909
 
846
910
  #: ../app/views/discovery_rules/_template_inline.erb:4
847
- msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
911
+ msgid ""
912
+ "Domain will be appended automatically. A hostname based on MAC address will "
913
+ "be used when left blank."
848
914
  msgstr ""
849
915
 
850
916
  #: ../app/views/discovery_rules/_template_inline.erb:5
851
- msgid "In addition to @host attribute function rand for random integers is available. Examples:"
917
+ msgid ""
918
+ "In addition to @host attribute function rand for random integers is "
919
+ "available. Examples:"
852
920
  msgstr ""
853
921
 
854
922
  #: ../app/views/discovery_rules/_template_inline.erb:8
855
- msgid "When creating hostname patterns, make sure the resulting host names are unique."
923
+ msgid ""
924
+ "When creating hostname patterns, make sure the resulting host names are "
925
+ "unique."
856
926
  msgstr ""
857
927
 
858
928
  #: ../app/views/discovery_rules/_template_inline.erb:9
859
- msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
929
+ msgid ""
930
+ "Hostnames must not start with numbers. A good approach is to use unique "
931
+ "information provided by facter (MAC address, BIOS or serial ID)."
860
932
  msgstr ""
861
933
 
862
934
  #: ../app/views/discovery_rules/edit.html.erb:1
@@ -912,13 +984,13 @@ msgid "Discovery Proxy"
912
984
  msgstr ""
913
985
 
914
986
  #: ../lib/foreman_discovery/engine.rb:177
915
- msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
987
+ msgid ""
988
+ "Discovery Proxy to use within this subnet for managing connection to "
989
+ "discovered hosts"
916
990
  msgstr ""
917
991
 
918
992
  #: ../lib/foreman_discovery/engine.rb:178
919
- msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
993
+ msgid ""
994
+ "ID of Discovery Proxy to use within this subnet for managing connection to "
995
+ "discovered hosts"
920
996
  msgstr ""
921
-
922
- #: ../lib/foreman_discovery/engine.rb:162
923
- #~ msgid "Discovery widget"
924
- #~ msgstr "Estri de descobriment"