foreman_discovery 16.0.0 → 16.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +10 -3
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +5 -3
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +39 -17
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/services/foreman_discovery/host_converter.rb +15 -7
  10. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  11. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  12. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  13. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  14. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  15. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  16. data/extra/discover-host +14 -8
  17. data/lib/foreman_discovery/engine.rb +2 -2
  18. data/lib/foreman_discovery/version.rb +1 -1
  19. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/ca/foreman_discovery.edit.po +215 -263
  21. data/locale/ca/foreman_discovery.po +16 -8
  22. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/de/foreman_discovery.edit.po +217 -266
  24. data/locale/de/foreman_discovery.po +22 -14
  25. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/en/foreman_discovery.edit.po +175 -133
  27. data/locale/en/foreman_discovery.po +12 -4
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +221 -269
  30. data/locale/en_GB/foreman_discovery.po +18 -10
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +240 -286
  33. data/locale/es/foreman_discovery.po +22 -14
  34. data/locale/foreman_discovery.pot +34 -24
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +242 -291
  37. data/locale/fr/foreman_discovery.po +20 -12
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +213 -261
  40. data/locale/gl/foreman_discovery.po +14 -6
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +216 -264
  43. data/locale/it/foreman_discovery.po +17 -9
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +246 -294
  46. data/locale/ja/foreman_discovery.po +20 -12
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +216 -263
  49. data/locale/ko/foreman_discovery.po +20 -12
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +237 -282
  52. data/locale/pt_BR/foreman_discovery.po +20 -12
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +219 -265
  55. data/locale/ru/foreman_discovery.po +20 -12
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +213 -261
  58. data/locale/sv_SE/foreman_discovery.po +14 -6
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +283 -332
  61. data/locale/zh_CN/foreman_discovery.po +20 -12
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +216 -262
  64. data/locale/zh_TW/foreman_discovery.po +18 -10
  65. data/test/facts/vmware-facter4-nolegacy.json +402 -0
  66. data/test/functional/discovered_hosts_controller_test.rb +15 -6
  67. data/test/unit/discovered_extensions_test.rb +6 -1
  68. data/test/unit/managed_extensions_test.rb +1 -0
  69. metadata +36 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40c64a4f3c756e207293b6e5be67190294b9c4f2ab5054e08edd8d085718556f
4
- data.tar.gz: b22ef9bf418ac18e94170429e7368cb1c6f94b9b0d2290b60341a9415e908b01
3
+ metadata.gz: 93f2f0828e78292ef40c46535f34d32d616ccf00b91465a5ca103d497510de5b
4
+ data.tar.gz: 3f661f14112f905f9e6b4c15955ebdd8b942f5a88349ab08c6568a07b51bed5f
5
5
  SHA512:
6
- metadata.gz: d9f9013fa2d04e883da3c0c8c42b5a6e3552093323698359b8e9b70179f0284ccf35d633eac5720cc03fa79678af915b5eda3c7508be775b0836128ef6d738d8
7
- data.tar.gz: 688c8d68c1a87aff1fda0a00eef057daf0c35a06ce007746e568763e868c82ee718d15a51d1124cb9dc1a47498ec94bc7f33e62d986ba7ed23e3eb6babfd140f
6
+ metadata.gz: bbbc9c3d5fa3d24b86beecb90c7237e5ea8093331762a9667576d3472df5e7e099dcf076c0d3e277c8bc75bfc56a8ff5079dd381514e7ac4ded899bc22205e37
7
+ data.tar.gz: 209b24b5230750c5a428198c87405607ac925fa6bf173a45c5e593a93408d4b8a46e476f3563c93f2031b8c965bb3f3077b146283a1f87aec29df94a037c72e1
@@ -102,9 +102,16 @@ module Api
102
102
  state = true
103
103
  User.as_anonymous_admin do
104
104
  @discovered_host = Host::Discovered.import_host(facts)
105
- Rails.logger.warn 'Discovered facts import unsuccessful, skipping auto provisioning' unless @discovered_host
106
- if Setting['discovery_auto'] && @discovered_host && (rule = find_discovery_rule(@discovered_host))
107
- state = perform_auto_provision(@discovered_host, rule)
105
+ # Host::Based.set_taxonomies sets taxonomies during import from either
106
+ # facts or via Global Foreman setting "default_taxonomy", reset it back so
107
+ # the anonymous admin can see all records. We set taxonomy explicitly via
108
+ # discovery SubnetAndTaxonomy import hook and enforce taxnomy manually
109
+ # in find_discovery_rule method via validate_rule_by_taxonomy.
110
+ Taxonomy.no_taxonomy_scope do
111
+ Rails.logger.warn 'Discovered facts import unsuccessful, skipping auto provisioning' unless @discovered_host
112
+ if Setting['discovery_auto'] && @discovered_host && (rule = find_discovery_rule(@discovered_host))
113
+ state = perform_auto_provision(@discovered_host, rule)
114
+ end
108
115
  end
109
116
  end
110
117
  process_response state
@@ -55,7 +55,7 @@ module Api
55
55
  param_group :discovery_rule, :as => :update
56
56
 
57
57
  def update
58
- process_response @discovery_rule.update_attributes(discovery_rule_params)
58
+ process_response @discovery_rule.update(discovery_rule_params)
59
59
  end
60
60
 
61
61
  api :DELETE, "/discovery_rules/:id/", N_("Delete a rule")
@@ -199,15 +199,17 @@ class DiscoveredHostsController < ::ApplicationController
199
199
 
200
200
  def setup_host_class_variables
201
201
  if @host.hostgroup
202
+ subnet = @host.hostgroup.subnet || @host.subnet
203
+ subnet6 = @host.hostgroup.subnet6 || @host.subnet6
202
204
  @architecture = @host.hostgroup.architecture
203
205
  @operatingsystem = @host.hostgroup.operatingsystem
204
206
  @environment = @host.hostgroup.environment
205
207
  @domain = @host.hostgroup.domain
206
- @subnet = @host.hostgroup.subnet
208
+ @subnet = subnet
209
+ @subnet6 = subnet6
207
210
  @compute_profile = @host.hostgroup.compute_profile
208
211
  @realm = @host.hostgroup.realm
209
- @host.interfaces.first.assign_attributes(subnet: @subnet,
210
- domain: @domain)
212
+ @host.interfaces.first.assign_attributes(subnet: subnet, subnet6: subnet6, domain: @domain)
211
213
  @host.environment = @environment
212
214
  end
213
215
  end
@@ -28,7 +28,7 @@ class DiscoveryRulesController < ApplicationController
28
28
  end
29
29
 
30
30
  def update
31
- if @discovery_rule.update_attributes(discovery_rule_params)
31
+ if @discovery_rule.update(discovery_rule_params)
32
32
  process_success
33
33
  else
34
34
  process_error
@@ -22,7 +22,7 @@ class DiscoveryRule < ApplicationRecord
22
22
  before_validation :enforce_taxonomy
23
23
 
24
24
  belongs_to :hostgroup
25
- has_many :hosts, :dependent => :nullify
25
+ has_many_hosts :dependent => :nullify
26
26
 
27
27
  scoped_search :on => :name, :complete_value => :true
28
28
  scoped_search :on => :priority, :only_explicit => true
@@ -137,12 +137,12 @@ class Host::Discovered < ::Host::Base
137
137
  subnet.present? && subnet.discovery.present?
138
138
  end
139
139
 
140
- def proxy_url
141
- proxied? ? subnet.discovery.url + "/discovery/#{self.ip}" : "https://#{self.ip}:8443"
140
+ def proxy_url(node_ip)
141
+ proxied? ? subnet.discovery.url + "/discovery/#{node_ip}" : "https://#{node_ip}:8443"
142
142
  end
143
143
 
144
144
  def refresh_facts
145
- facts = ::ForemanDiscovery::NodeAPI::Inventory.new(:url => proxy_url).facter
145
+ facts = ::ForemanDiscovery::NodeAPI::Inventory.new(:url => proxy_url(self.ip)).facter
146
146
  self.class.import_host facts
147
147
  import_facts facts
148
148
  rescue => e
@@ -150,20 +150,42 @@ class Host::Discovered < ::Host::Base
150
150
  raise ::Foreman::WrappedException.new(e, N_("Could not get facts from proxy %{url}: %{error}"), :url => proxy_url, :error => e)
151
151
  end
152
152
 
153
- def reboot
154
- resource = ::ForemanDiscovery::NodeAPI::Power.service(:url => proxy_url)
155
- resource.reboot
156
- rescue => e
157
- ::Foreman::Logging.exception("Unable to reboot #{name}", e)
158
- raise ::Foreman::WrappedException.new(e, N_("Unable to reboot %{name} via %{url}: %{msg}"), :name => name, :url => proxy_url, :msg => e.to_s)
159
- end
160
-
161
- def kexec json
162
- resource = ::ForemanDiscovery::NodeAPI::Power.service(:url => proxy_url)
163
- resource.kexec json
164
- rescue => e
165
- ::Foreman::Logging.exception("Unable to perform kexec on #{name}", e)
166
- raise ::Foreman::WrappedException.new(e, N_("Unable to perform kexec on %{name} via %{url}: %{msg}"), :name => name, :url => proxy_url, :msg => e.to_s)
153
+ def reboot(old_ip = nil, new_ip = nil)
154
+ # perform the action against the original lease as well as the new reservation
155
+ ips = [old_ip, new_ip, self.ip].compact.uniq
156
+ logger.debug "Performing reboot calls against #{ips.to_sentence}, facts left #{facts.count}"
157
+ ips.each do |next_ip|
158
+ begin
159
+ node_url = proxy_url(next_ip)
160
+ logger.debug "Performing reboot call against #{node_url}"
161
+ resource = ::ForemanDiscovery::NodeAPI::Power.service(:url => node_url)
162
+ return true if resource.reboot
163
+ rescue => e
164
+ msg = N_("Unable to perform reboot on %{name} (%{url}): %{msg}")
165
+ ::Foreman::Logging.exception(msg % { :name => name, :url => node_url, :msg => e.to_s }, e)
166
+ end
167
+ end
168
+ msg = N_("Unable to perform %{action} on %{ips}")
169
+ raise ::Foreman::Exception.new(msg, action: "reboot", ips: ips.to_sentence)
170
+ end
171
+
172
+ def kexec(json, old_ip = nil, new_ip = nil)
173
+ # perform the action against the original lease as well as the new reservation
174
+ ips = [old_ip, new_ip, self.ip].compact.uniq
175
+ logger.debug "Performing kexec calls against #{ips.to_sentence}, #{facts.count} facts left"
176
+ ips.each do |next_ip|
177
+ begin
178
+ node_url = proxy_url(next_ip)
179
+ logger.debug "Performing kexec call against #{node_url}"
180
+ resource = ::ForemanDiscovery::NodeAPI::Power.service(:url => node_url)
181
+ return true if resource.kexec(json)
182
+ rescue => e
183
+ msg = N_("Unable to perform kexec on %{name} (%{url}): %{msg}")
184
+ ::Foreman::Logging.exception(msg % { :name => name, :url => node_url, :msg => e.to_s }, e)
185
+ end
186
+ end
187
+ msg = N_("Unable to perform %{action} on %{ips}")
188
+ raise ::Foreman::Exception.new(msg, action: "kexec", ips: ips.to_sentence)
167
189
  end
168
190
 
169
191
  def self.model_name
@@ -27,7 +27,7 @@ module Host::ManagedExtensions
27
27
  end
28
28
 
29
29
  def setReboot
30
- old.becomes(Host::Discovered).reboot
30
+ old.becomes(Host::Discovered).reboot(old.ip, ip)
31
31
  # It is too late to report error in the post_queue, we catch them and
32
32
  # continue. If flash is implemented for new hosts (http://projects.theforeman.org/issues/10559)
33
33
  # we can report the error to the user perhaps.
@@ -55,7 +55,7 @@ module Host::ManagedExtensions
55
55
  end
56
56
 
57
57
  def setKexec
58
- old.becomes(Host::Discovered).kexec(render_kexec_template.to_json)
58
+ old.becomes(Host::Discovered).kexec(render_kexec_template.to_json, old.ip, ip)
59
59
  true
60
60
  rescue ::Foreman::Exception => e
61
61
  Foreman::Logging.exception("Unable to kexec", e)
@@ -1,6 +1,6 @@
1
1
  class ForemanDiscovery::HostConverter
2
2
  # Converts discovered host to managed host without uptading the database.
3
- # Record must be saved explicitly (using save! or update_attributes! or similar).
3
+ # Record must be saved explicitly (using save! or update! or similar).
4
4
  # Creates shallow copy.
5
5
  def self.to_managed(original_host, set_managed = true, set_build = true, added_attributes = {})
6
6
  host = original_host.becomes(::Host::Managed)
@@ -35,12 +35,21 @@ class ForemanDiscovery::HostConverter
35
35
  end
36
36
 
37
37
  def self.unused_ip_for_subnet(subnet, mac, existing_ip)
38
- ipam = subnet.unused_ip(mac)
39
- raise(::Foreman::Exception.new(N_("IPAM must be configured for subnet '%s'"), subnet)) unless ipam.present?
38
+ # prefer existing reservation to prevent conflicts
39
+ existing_rec = subnet&.dhcp_proxy&.record(subnet.network, mac)
40
40
 
41
- # None IPAM returns nil - in that case keep the current address
42
- suggested_ip = ipam.suggest_ip
43
- suggested_ip.nil? ? existing_ip : suggested_ip
41
+ if existing_rec && existing_rec.type == "reservation"
42
+ # reuse the reservation
43
+ existing_rec.ip
44
+ else
45
+ # no reservation - find new unused IP
46
+ ipam = subnet.unused_ip(mac)
47
+ raise(::Foreman::Exception.new(N_("IPAM must be configured for subnet '%s'"), subnet)) unless ipam.present?
48
+
49
+ # None IPAM returns nil - in that case keep the current address
50
+ suggested_ip = ipam.suggest_ip
51
+ suggested_ip.nil? ? existing_ip : suggested_ip
52
+ end
44
53
  end
45
54
 
46
55
  def self.unused_ip_for_host(host, new_subnet = nil, new_subnet6 = nil)
@@ -51,7 +60,6 @@ class ForemanDiscovery::HostConverter
51
60
  interface.subnet6 = new_subnet6 if new_subnet6
52
61
  interface.ip = unused_ip_for_subnet(interface.subnet, interface.mac, interface.ip) if interface.subnet
53
62
  interface.ip6 = unused_ip_for_subnet(interface.subnet6, interface.mac, interface.ip6) if interface.subnet6
54
- interface.save!
55
63
  end
56
64
  end
57
65
 
@@ -6,6 +6,7 @@ module ForemanDiscovery::NodeAPI
6
6
  @args = args
7
7
  @connect_params = {
8
8
  :headers => { :accept => :json },
9
+ :timeout => 20, # tighter timeout, discovery performs up to two calls per request
9
10
  }
10
11
 
11
12
  if url.match(/^https/i) && Rails.env != "test"
@@ -17,8 +17,6 @@
17
17
  <% if show_location_tab? %>
18
18
  <%= select_f f, :location_id, Location.my_locations, :id, :to_label, {}, {:size => 'col-md-10'} %>
19
19
  <% end %>
20
-
21
- <div>Changing the Host's Subnet is not possible via Customize Host form, use Create Host or Auto provisioning and set the desired Subnet in the Hostgroup.</div>
22
20
  </div>
23
21
  <div class="modal-footer">
24
22
  <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
@@ -28,7 +28,7 @@ Please read kexec(8) man page for more information about semantics.
28
28
  options << @host.facts['append']
29
29
  options << "domain=#{@host.domain}"
30
30
  options << 'console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us localechooser/translation/warn-light=true localechooser/translation/warn-severe=true'
31
- options << "locale=#{@host.params['lang'] || 'en_US'}"
31
+ options << "locale=#{host_param('lang') || 'en_US'}"
32
32
  options << "inst.stage2=#{@host.operatingsystem.medium_uri(@host)}" if @host.operatingsystem.name.match(/Atomic/i)
33
33
  -%>
34
34
  {
@@ -1,7 +1,7 @@
1
1
  class RemoveOldDiscoveryReaderPermissions < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  Permission.where("name like '%_discovery_rules' and resource_type is null").each do |permission|
4
- permission.update_attributes(:resource_type => 'DiscoveryRule')
4
+ permission.update(:resource_type => 'DiscoveryRule')
5
5
  end
6
6
  end
7
7
 
@@ -1,7 +1,7 @@
1
1
  class RegenerateRedHatKexec < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  t = ProvisioningTemplate.find_by_name("Discovery Red Hat kexec")
4
- t.update_attributes(:template => t.template.sub(/rescue ''$/, 'if mac')) if t
4
+ t.update(:template => t.template.sub(/rescue ''$/, 'if mac')) if t
5
5
  end
6
6
 
7
7
  def down
@@ -9,7 +9,7 @@
9
9
  # and makes sure there are no two entities with the same priority.
10
10
  DiscoveryRules.reset_column_information
11
11
  DiscoveryRules.unscoped.reorder(:priority, :created_at).find_each do |rule|
12
- rule.update_attributes!(:priority => score)
12
+ rule.update!(:priority => score)
13
13
  score += delta
14
14
  end
15
15
  change_column :discovery_rules, :priority, :integer, null: false
data/extra/discover-host CHANGED
@@ -33,7 +33,7 @@ OptionParser.new do |opts|
33
33
  version = v
34
34
  end
35
35
 
36
- opts.on("-iARRAY", "--interface=ARRAY", Array, "Comma separated array: name,subnet,ip,mac (can be used multiple times, default: eth0,122,7,AA:BB:CC:DD:EE:FF") do |v|
36
+ opts.on("-iARRAY", "--interface=ARRAY", Array, "Comma separated array: name,network/prefix,mac,ip (can be used multiple times, default: eth0,192.168.122.0/24") do |v|
37
37
  interfaces << v
38
38
  end
39
39
 
@@ -66,7 +66,7 @@ OptionParser.new do |opts|
66
66
  end
67
67
  end.parse!
68
68
 
69
- interfaces << ["eth0", "122"] if interfaces.empty?
69
+ interfaces << ["eth0", "192.168.122.0/24"] if interfaces.empty?
70
70
  primary ||= interfaces.first.first
71
71
  bootif ||= interfaces.first.first
72
72
  json = JSON.parse(File.read(base))
@@ -76,15 +76,21 @@ json["discovery_version"] = version
76
76
  unless preserve_interfaces
77
77
  json["interfaces"] = interfaces.map{|i| i.first}.join(',')
78
78
  interfaces.each do |iface|
79
- name, subnet, ipo, mac = iface
79
+ name, subnet, mac, explicit_ip = iface
80
80
  mac ||= (["52"] + 5.times.map { '%02x' % rand(0..255) }).join(':')
81
- ipo ||= rand(1..253)
82
- ip = "192.168.#{subnet}.#{ipo}"
83
81
  json["macaddress_#{name}"] = mac
84
- json["ipaddress_#{name}"] = ip
82
+ subnet_woprefix, prefix = subnet.split('/')
83
+ if subnet.include?('.')
84
+ random_ip = IPAddr.new(subnet, Socket::AF_INET) | IPAddr.new(rand(2**prefix.to_i), Socket::AF_INET)
85
+ fact_name = "ipaddress"
86
+ else
87
+ random_ip = IPAddr.new(subnet, Socket::AF_INET6) | IPAddr.new(rand(2**prefix.to_i), Socket::AF_INET6)
88
+ fact_name = "ipaddress6"
89
+ end
90
+ json["#{fact_name}_#{name}"] = explicit_ip ? explicit_ip : random_ip
85
91
  if name == primary
86
- json["macaddress"] = mac
87
- json["ipaddress"] = ip
92
+ json["macaddress"] = json["macaddress_#{name}"]
93
+ json[fact_name] = json["#{fact_name}_#{name}"]
88
94
  end
89
95
  json["discovery_bootif"] = mac if name == bootif
90
96
  end
@@ -148,8 +148,8 @@ module ForemanDiscovery
148
148
  :edit_discovery_rules,
149
149
  :destroy_discovery_rules,
150
150
  ]
151
- role "Discovery Reader", READER
152
- role "Discovery Manager", MANAGER
151
+ role "Discovery Reader", READER, "Role granting permissions to view discovered hosts"
152
+ role "Discovery Manager", MANAGER, "Role granting permissions to perform provisioning of discovered hosts"
153
153
 
154
154
  add_all_permissions_to_default_roles
155
155
 
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "16.0.0"
2
+ VERSION = "16.1.4"
3
3
  end
@@ -1,18 +1,18 @@
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>, 2017
7
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 15.1.0\n"
10
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2019-10-22 11:55+0200\n"
13
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
14
- "Last-Translator: Lukáš Zapletal\n"
15
- "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
12
+ "PO-Revision-Date: 2020-10-29 17:16+0000\n"
13
+ "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>\n"
14
+ "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
15
+ "\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
@@ -23,23 +23,19 @@ msgstr ""
23
23
  msgid "List all discovered hosts"
24
24
  msgstr "Llista tots els amfitrions descoberts"
25
25
 
26
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
27
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
26
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
28
27
  msgid "filter results"
29
28
  msgstr "filtra els resultats"
30
29
 
31
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
32
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
30
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
33
31
  msgid "sort results"
34
32
  msgstr "ordena els resultats"
35
33
 
36
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
37
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
34
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
38
35
  msgid "paginate results"
39
36
  msgstr "pagina els resultats"
40
37
 
41
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
42
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
38
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
43
39
  msgid "number of entries per request"
44
40
  msgstr "Nombre d'entrades per petició"
45
41
 
@@ -47,8 +43,7 @@ msgstr "Nombre d'entrades per petició"
47
43
  msgid "Show a discovered host"
48
44
  msgstr "Mostra un amfitrió descobert"
49
45
 
50
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
51
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
46
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
52
47
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
53
48
  msgstr ""
54
49
 
@@ -60,6 +55,10 @@ msgstr "Crea un amfitrió descobert per a provar-ho (utilitzeu /facts per crear
60
55
  msgid "Provision a discovered host"
61
56
  msgstr "Aprovisiona un amfitrió descobert"
62
57
 
58
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
59
+ msgid "required if host is managed and value is not inherited from host group"
60
+ msgstr ""
61
+
63
62
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
64
63
  msgid "not required if using a subnet with DHCP proxy"
65
64
  msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermediari DHCP"
@@ -68,82 +67,99 @@ msgstr "no es requereix si s'està utilitzant una subxarxa amb servidor intermed
68
67
  msgid "not required if it's a virtual machine"
69
68
  msgstr ""
70
69
 
71
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
72
- msgid ""
73
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
70
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
71
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
74
72
  msgstr ""
75
73
 
76
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
77
- msgid ""
78
- "required if value is not inherited from host group or default password in "
79
- "settings"
74
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
75
+ msgid "required if host is managed and custom partition has not been defined"
76
+ msgstr "es requereix si l'amfitrió està gestionat i no s'ha definit la partició personalitzada"
77
+
78
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
79
+ msgid "Host's owner type"
80
+ msgstr "Tipus de propietari de l'amfitrió"
81
+
82
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
83
+ msgid "Host's parameters (array or indexed hash)"
84
+ msgstr ""
85
+
86
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
87
+ msgid "Name of the parameter"
88
+ msgstr "Nom del paràmetre"
89
+
90
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
91
+ msgid "Parameter value"
92
+ msgstr "Valor del paràmetre"
93
+
94
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
95
+ msgid "Type of value"
80
96
  msgstr ""
81
97
 
82
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
98
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
99
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
100
+ msgstr ""
101
+
102
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
103
+ msgid "required if value is not inherited from host group or default password in settings"
104
+ msgstr ""
105
+
106
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
83
107
  msgid "Delete a discovered host"
84
108
  msgstr "Suprimeix un amfitrió descobert"
85
109
 
86
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
110
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
87
111
  msgid "Upload facts for a host, creating the host if required"
88
112
  msgstr "Puja els objectes d'interès per a un amfitrió, creant el nou amfitrió si fos necessari"
89
113
 
90
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
91
- msgid ""
92
- "hash containing facts for the host with minimum set of facts: "
93
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
94
- "eth0 (example in case primary interface is named eth0)"
114
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
115
+ 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)"
95
116
  msgstr ""
96
117
 
97
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
118
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
98
119
  msgid "Execute rules against a discovered host"
99
120
  msgstr ""
100
121
 
101
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
102
- #: ../app/controllers/discovered_hosts_controller.rb:160
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
103
123
  msgid "Host %{host} was provisioned with rule %{rule}"
104
124
  msgstr "L'amfitrió %{host} va ser aprovisionat amb la regla %{rule}"
105
125
 
106
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
107
127
  msgid "Unable to provision %{host}: %{errors}"
108
128
  msgstr "No es pot aprovisionar a %{host}: %{errors}"
109
129
 
110
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
111
- #: ../app/controllers/discovered_hosts_controller.rb:167
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
112
131
  msgid "No rule found for host %s"
113
132
  msgstr "No s'ha trobat cap regla per a l'amfitrió %s"
114
133
 
115
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
116
135
  msgid "Execute rules against all currently discovered hosts"
117
136
  msgstr "Executa les regles contra tots els amfitrions detectats actualment"
118
137
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
120
- #: ../app/controllers/discovered_hosts_controller.rb:173
138
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
121
139
  msgid "Errors during auto provisioning: %s"
122
140
  msgstr "Erros durant l'auto aprovisionament: %s"
123
141
 
124
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
125
- #: ../app/controllers/discovered_hosts_controller.rb:176
142
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
126
143
  msgid "No discovered hosts to provision"
127
144
  msgstr "Sense amfitrions descoberts per aprovisionar"
128
145
 
129
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
146
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
130
147
  msgid "%s discovered hosts were provisioned"
131
148
  msgstr "%s amfitrions descoberts van ser aprovisionats"
132
149
 
133
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
150
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
134
151
  msgid "Refreshing the facts of a discovered host"
135
152
  msgstr "S'estan refrescant els objectes d'interès d'un amfitrió descobert"
136
153
 
137
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
154
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
138
155
  msgid "Rebooting a discovered host"
139
156
  msgstr "S'està reiniciant un amfitrió descobert"
140
157
 
141
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
158
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
142
159
  msgid "Rebooting all discovered hosts"
143
160
  msgstr "S'estan reiniciant tots els amfitrions descoberts"
144
161
 
145
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
146
- #: ../app/controllers/discovered_hosts_controller.rb:129
162
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
147
163
  msgid "Discovered hosts are rebooting now"
148
164
  msgstr "Ara s'estan reiniciant els amfitrions descoberts"
149
165
 
@@ -168,8 +184,7 @@ msgid "the hostgroup that is used to auto provision a host"
168
184
  msgstr "el grup d'amfitrions que s'utilitza per a l'auto aprovisionament d'un amfitrió"
169
185
 
170
186
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
171
- msgid ""
172
- "defines a pattern to assign human-readable hostnames to the matching hosts"
187
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
173
188
  msgstr ""
174
189
 
175
190
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -177,8 +192,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
177
192
  msgstr "permet la limitació del nombre total màxim dels amfitrions aprovisionats per cada regla"
178
193
 
179
194
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
180
- msgid ""
181
- "puts the rules in order, low numbers go first. Must be greater then zero"
195
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
182
196
  msgstr ""
183
197
 
184
198
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -277,51 +291,51 @@ msgstr "No s'ha pogut auto aprovisionar l'amfitrió %s: %s"
277
291
  msgid "Discovered hosts are provisioning now"
278
292
  msgstr "Els amfitrions descoberts ara tenen aprovisionament"
279
293
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:224
294
+ #: ../app/controllers/discovered_hosts_controller.rb:226
281
295
  msgid "Highlights"
282
296
  msgstr ""
283
297
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:224
298
+ #: ../app/controllers/discovered_hosts_controller.rb:226
285
299
  msgid "Storage"
286
300
  msgstr ""
287
301
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:224
302
+ #: ../app/controllers/discovered_hosts_controller.rb:226
289
303
  msgid "Hardware"
290
304
  msgstr ""
291
305
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:224
306
+ #: ../app/controllers/discovered_hosts_controller.rb:226
293
307
  msgid "Network"
294
308
  msgstr ""
295
309
 
296
- #: ../app/controllers/discovered_hosts_controller.rb:224
310
+ #: ../app/controllers/discovered_hosts_controller.rb:226
297
311
  msgid "Software"
298
312
  msgstr ""
299
313
 
300
- #: ../app/controllers/discovered_hosts_controller.rb:224
314
+ #: ../app/controllers/discovered_hosts_controller.rb:226
301
315
  msgid "IPMI"
302
316
  msgstr ""
303
317
 
304
- #: ../app/controllers/discovered_hosts_controller.rb:224
318
+ #: ../app/controllers/discovered_hosts_controller.rb:226
305
319
  msgid "Miscellaneous"
306
320
  msgstr ""
307
321
 
308
- #: ../app/controllers/discovered_hosts_controller.rb:302
322
+ #: ../app/controllers/discovered_hosts_controller.rb:304
309
323
  msgid "No hosts were found with that id or name"
310
324
  msgstr "No s'ha trobat cap amfitrió amb aquest ID o nom"
311
325
 
312
- #: ../app/controllers/discovered_hosts_controller.rb:306
326
+ #: ../app/controllers/discovered_hosts_controller.rb:308
313
327
  msgid "No hosts selected"
314
328
  msgstr "Cap amfitrió seleccionat"
315
329
 
316
- #: ../app/controllers/discovered_hosts_controller.rb:312
330
+ #: ../app/controllers/discovered_hosts_controller.rb:314
317
331
  msgid "Something went wrong while selecting hosts - %s"
318
332
  msgstr "Alguna cosa va anar malament mentre se seleccionaven els amfitrions - %s"
319
333
 
320
- #: ../app/controllers/discovery_rules_controller.rb:68
334
+ #: ../app/controllers/discovery_rules_controller.rb:72
321
335
  msgid "Rule enabled"
322
336
  msgstr "Regla habilitada"
323
337
 
324
- #: ../app/controllers/discovery_rules_controller.rb:68
338
+ #: ../app/controllers/discovery_rules_controller.rb:72
325
339
  msgid "Rule disabled"
326
340
  msgstr "Regla inhabilitada"
327
341
 
@@ -329,21 +343,15 @@ msgstr "Regla inhabilitada"
329
343
  msgid "%s ago"
330
344
  msgstr "fa %s"
331
345
 
332
- #: ../app/helpers/discovered_hosts_helper.rb:14
333
- #: ../app/helpers/discovered_hosts_helper.rb:29
334
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
346
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
335
347
  msgid "Auto Provision"
336
348
  msgstr "Auto aprovisiona"
337
349
 
338
- #: ../app/helpers/discovered_hosts_helper.rb:15
339
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
350
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
340
351
  msgid "Refresh facts"
341
352
  msgstr "Refresca els objectes d'interès"
342
353
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:16
344
- #: ../app/helpers/discovered_hosts_helper.rb:30
345
- #: ../app/models/setting/discovered.rb:22
346
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
354
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
347
355
  msgid "Reboot"
348
356
  msgstr "Reinicia"
349
357
 
@@ -351,13 +359,11 @@ msgstr "Reinicia"
351
359
  msgid "Back"
352
360
  msgstr "Enrere"
353
361
 
354
- #: ../app/helpers/discovered_hosts_helper.rb:21
355
- #: ../app/helpers/discovered_hosts_helper.rb:35
362
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
356
363
  msgid "Select Action"
357
364
  msgstr "Selecciona l'acció"
358
365
 
359
- #: ../app/helpers/discovered_hosts_helper.rb:23
360
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
366
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
361
367
  msgid "Delete %s?"
362
368
  msgstr "Voleu suprimir %s?"
363
369
 
@@ -377,8 +383,7 @@ msgstr "Suprimeix"
377
383
  msgid "%s - The following hosts are about to be changed"
378
384
  msgstr "%s - Els següents amfitrions estan a punt de ser canviats"
379
385
 
380
- #: ../app/helpers/discovered_hosts_helper.rb:46
381
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
386
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
382
387
  msgid "N/A"
383
388
  msgstr "N/D"
384
389
 
@@ -398,12 +403,7 @@ msgstr "Es va informar en els últims 7 dies"
398
403
  msgid "Provision"
399
404
  msgstr "Aprovisiona"
400
405
 
401
- #: ../app/helpers/discovery_rules_helper.rb:26
402
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1
403
- #: ../app/views/discovered_hosts/welcome.html.erb:1
404
- #: ../app/views/discovered_hosts/welcome.html.erb:6
405
- #: ../lib/foreman_discovery/engine.rb:158
406
- #: ../lib/foreman_discovery/engine.rb:173
406
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
407
407
  msgid "Discovered Hosts"
408
408
  msgstr ""
409
409
 
@@ -452,17 +452,14 @@ msgid "must be present."
452
452
  msgstr ""
453
453
 
454
454
  #: ../app/models/discovery_rule.rb:52
455
- msgid ""
456
- "Host group organization %s must also be associated to the discovery rule"
457
- msgid_plural ""
458
- "Host group organizations %s must also be associated to the discovery rule"
455
+ msgid "Host group organization %s must also be associated to the discovery rule"
456
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
459
457
  msgstr[0] ""
460
458
  msgstr[1] ""
461
459
 
462
460
  #: ../app/models/discovery_rule.rb:56
463
461
  msgid "Host group location %s must also be associated to the discovery rule"
464
- msgid_plural ""
465
- "Host group locations %s must also be associated to the discovery rule"
462
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
466
463
  msgstr[0] ""
467
464
  msgstr[1] ""
468
465
 
@@ -478,39 +475,39 @@ msgstr ""
478
475
  msgid "MAC-based name"
479
476
  msgstr ""
480
477
 
481
- #: ../app/models/host/discovered.rb:51
478
+ #: ../app/models/host/discovered.rb:55
482
479
  msgid "Invalid facts, must be a Hash"
483
480
  msgstr "Objectes d'interès no vàlids, han de tenir un Hash"
484
481
 
485
- #: ../app/models/host/discovered.rb:56
486
- msgid ""
487
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
488
- "and set hostname"
482
+ #: ../app/models/host/discovered.rb:60
483
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
489
484
  msgstr ""
490
485
 
491
- #: ../app/models/host/discovered.rb:69
492
- msgid ""
493
- "Invalid facts: hash does not contain a valid value for any of the facts in "
494
- "the discovery_hostname setting: %s"
486
+ #: ../app/models/host/discovered.rb:73
487
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
495
488
  msgstr ""
496
489
 
497
- #: ../app/models/host/discovered.rb:95
490
+ #: ../app/models/host/discovered.rb:100
498
491
  msgid "Facts could not be imported"
499
492
  msgstr ""
500
493
 
501
- #: ../app/models/host/discovered.rb:150
494
+ #: ../app/models/host/discovered.rb:146
502
495
  msgid "Could not get facts from proxy %{url}: %{error}"
503
496
  msgstr "No s'han pogut obtenir els objectes d'interès del servidor intermediari %{url}: %{error}"
504
497
 
505
- #: ../app/models/host/discovered.rb:158
506
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
507
- msgstr "No es pot reiniciar %{name} a través de %{url}: %{msg}"
498
+ #: ../app/models/host/discovered.rb:160
499
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
500
+ msgstr ""
501
+
502
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
503
+ msgid "Unable to perform %{action} on %{ips}"
504
+ msgstr ""
508
505
 
509
- #: ../app/models/host/discovered.rb:166
510
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
511
- msgstr "No es pot realitzar kexec a %{name} a través de %{url}: %{msg}"
506
+ #: ../app/models/host/discovered.rb:179
507
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
508
+ msgstr ""
512
509
 
513
- #: ../app/models/host/discovered.rb:185
510
+ #: ../app/models/host/discovered.rb:203
514
511
  msgid "Invalid hostname: Could not normalize the hostname"
515
512
  msgstr ""
516
513
 
@@ -538,191 +535,183 @@ msgstr ""
538
535
  msgid "Rebuild DNS for %s"
539
536
  msgstr ""
540
537
 
541
- #: ../app/models/setting/discovered.rb:15
538
+ #: ../app/models/setting/discovered.rb:17
542
539
  msgid "The default location to place discovered hosts in"
543
540
  msgstr ""
544
541
 
545
- #: ../app/models/setting/discovered.rb:15
542
+ #: ../app/models/setting/discovered.rb:17
546
543
  msgid "Discovery location"
547
544
  msgstr ""
548
545
 
549
- #: ../app/models/setting/discovered.rb:16
546
+ #: ../app/models/setting/discovered.rb:18
550
547
  msgid "The default organization to place discovered hosts in"
551
548
  msgstr ""
552
549
 
553
- #: ../app/models/setting/discovered.rb:16
550
+ #: ../app/models/setting/discovered.rb:18
554
551
  msgid "Discovery organization"
555
552
  msgstr ""
556
553
 
557
- #: ../app/models/setting/discovered.rb:17
554
+ #: ../app/models/setting/discovered.rb:19
558
555
  msgid "Fact name to use for primary interface detection"
559
556
  msgstr ""
560
557
 
561
- #: ../app/models/setting/discovered.rb:17
558
+ #: ../app/models/setting/discovered.rb:19
562
559
  msgid "Interface fact"
563
560
  msgstr ""
564
561
 
565
- #: ../app/models/setting/discovered.rb:18
566
- msgid ""
567
- "Automatic bond interface (if another interface is detected on the same VLAN "
568
- "via LLDP)"
562
+ #: ../app/models/setting/discovered.rb:20
563
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
569
564
  msgstr ""
570
565
 
571
- #: ../app/models/setting/discovered.rb:18
566
+ #: ../app/models/setting/discovered.rb:20
572
567
  msgid "Create bond interfaces"
573
568
  msgstr ""
574
569
 
575
- #: ../app/models/setting/discovered.rb:19
570
+ #: ../app/models/setting/discovered.rb:21
576
571
  msgid "Clean all reported facts during provisioning (except discovery facts)"
577
572
  msgstr ""
578
573
 
579
- #: ../app/models/setting/discovered.rb:19
574
+ #: ../app/models/setting/discovered.rb:21
580
575
  msgid "Clean all facts"
581
576
  msgstr ""
582
577
 
583
- #: ../app/models/setting/discovered.rb:20
578
+ #: ../app/models/setting/discovered.rb:22
584
579
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
585
580
  msgstr ""
586
581
 
587
- #: ../app/models/setting/discovered.rb:20
582
+ #: ../app/models/setting/discovered.rb:22
588
583
  msgid "Hostname facts"
589
584
  msgstr ""
590
585
 
591
- #: ../app/models/setting/discovered.rb:21
592
- msgid ""
593
- "Automatically provision newly discovered hosts, according to the "
594
- "provisioning rules"
586
+ #: ../app/models/setting/discovered.rb:23
587
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
595
588
  msgstr ""
596
589
 
597
- #: ../app/models/setting/discovered.rb:21
590
+ #: ../app/models/setting/discovered.rb:23
598
591
  msgid "Auto provisioning"
599
592
  msgstr ""
600
593
 
601
- #: ../app/models/setting/discovered.rb:22
594
+ #: ../app/models/setting/discovered.rb:24
602
595
  msgid "Automatically reboot or kexec discovered host during provisioning"
603
596
  msgstr ""
604
597
 
605
- #: ../app/models/setting/discovered.rb:23
598
+ #: ../app/models/setting/discovered.rb:25
606
599
  msgid "The default prefix to use for the host name, must start with a letter"
607
600
  msgstr ""
608
601
 
609
- #: ../app/models/setting/discovered.rb:23
602
+ #: ../app/models/setting/discovered.rb:25
610
603
  msgid "Hostname prefix"
611
604
  msgstr ""
612
605
 
613
- #: ../app/models/setting/discovered.rb:24
606
+ #: ../app/models/setting/discovered.rb:26
614
607
  msgid "Extra facter columns to show in host lists (separate by comma)"
615
608
  msgstr ""
616
609
 
617
- #: ../app/models/setting/discovered.rb:24
610
+ #: ../app/models/setting/discovered.rb:26
618
611
  msgid "Fact columns"
619
612
  msgstr ""
620
613
 
621
- #: ../app/models/setting/discovered.rb:25
614
+ #: ../app/models/setting/discovered.rb:27
622
615
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
623
616
  msgstr ""
624
617
 
625
- #: ../app/models/setting/discovered.rb:25
618
+ #: ../app/models/setting/discovered.rb:27
626
619
  msgid "Highlighted facts"
627
620
  msgstr ""
628
621
 
629
- #: ../app/models/setting/discovered.rb:26
622
+ #: ../app/models/setting/discovered.rb:28
630
623
  msgid "Regex to organize facts for storage section"
631
624
  msgstr "Expressió regular per a organitzar els objectes d'interès per a la secció d'emmagatzematge"
632
625
 
633
- #: ../app/models/setting/discovered.rb:26
626
+ #: ../app/models/setting/discovered.rb:28
634
627
  msgid "Storage facts"
635
628
  msgstr ""
636
629
 
637
- #: ../app/models/setting/discovered.rb:27
630
+ #: ../app/models/setting/discovered.rb:29
638
631
  msgid "Regex to organize facts for software section"
639
632
  msgstr "Expressió regular per a organitzar els objectes d'interès per a la secció de programari"
640
633
 
641
- #: ../app/models/setting/discovered.rb:27
634
+ #: ../app/models/setting/discovered.rb:29
642
635
  msgid "Software facts"
643
636
  msgstr ""
644
637
 
645
- #: ../app/models/setting/discovered.rb:28
638
+ #: ../app/models/setting/discovered.rb:30
646
639
  msgid "Regex to organize facts for hardware section"
647
640
  msgstr "Expressió regular per a organitzar els objectes d'interès per a la secció de programari"
648
641
 
649
- #: ../app/models/setting/discovered.rb:28
642
+ #: ../app/models/setting/discovered.rb:30
650
643
  msgid "Hardware facts"
651
644
  msgstr ""
652
645
 
653
- #: ../app/models/setting/discovered.rb:29
646
+ #: ../app/models/setting/discovered.rb:31
654
647
  msgid "Regex to organize facts for network section"
655
648
  msgstr "Expressió regular per a organitzar els objectes d'interès per a la secció de xarxa"
656
649
 
657
- #: ../app/models/setting/discovered.rb:29
650
+ #: ../app/models/setting/discovered.rb:31
658
651
  msgid "Network facts"
659
652
  msgstr ""
660
653
 
661
- #: ../app/models/setting/discovered.rb:30
654
+ #: ../app/models/setting/discovered.rb:32
662
655
  msgid "Regex to organize facts for ipmi section"
663
656
  msgstr "Expressió regular per a organitzar els objectes d'interès per a la secció ipmi"
664
657
 
665
- #: ../app/models/setting/discovered.rb:30
658
+ #: ../app/models/setting/discovered.rb:32
666
659
  msgid "IPMI facts"
667
660
  msgstr ""
668
661
 
669
- #: ../app/models/setting/discovered.rb:31
670
- msgid ""
671
- "Automatically generate PXE configuration to pin a newly discovered host to "
672
- "discovery"
662
+ #: ../app/models/setting/discovered.rb:33
663
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
673
664
  msgstr ""
674
665
 
675
- #: ../app/models/setting/discovered.rb:31
666
+ #: ../app/models/setting/discovered.rb:33
676
667
  msgid "Lock PXE"
677
668
  msgstr ""
678
669
 
679
- #: ../app/models/setting/discovered.rb:32
670
+ #: ../app/models/setting/discovered.rb:34
680
671
  msgid "PXELinux template to be used when pinning a host to discovery"
681
672
  msgstr ""
682
673
 
683
- #: ../app/models/setting/discovered.rb:32
674
+ #: ../app/models/setting/discovered.rb:34
684
675
  msgid "Locked PXELinux template name"
685
676
  msgstr ""
686
677
 
687
- #: ../app/models/setting/discovered.rb:33
678
+ #: ../app/models/setting/discovered.rb:35
688
679
  msgid "PXEGrub template to be used when pinning a host to discovery"
689
680
  msgstr ""
690
681
 
691
- #: ../app/models/setting/discovered.rb:33
682
+ #: ../app/models/setting/discovered.rb:35
692
683
  msgid "Locked PXEGrub template name"
693
684
  msgstr ""
694
685
 
695
- #: ../app/models/setting/discovered.rb:34
686
+ #: ../app/models/setting/discovered.rb:36
696
687
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
697
688
  msgstr ""
698
689
 
699
- #: ../app/models/setting/discovered.rb:34
690
+ #: ../app/models/setting/discovered.rb:36
700
691
  msgid "Locked PXEGrub2 template name"
701
692
  msgstr ""
702
693
 
703
- #: ../app/models/setting/discovered.rb:35
694
+ #: ../app/models/setting/discovered.rb:37
704
695
  msgid "Force DNS entries creation when provisioning discovered host"
705
696
  msgstr ""
706
697
 
707
- #: ../app/models/setting/discovered.rb:35
698
+ #: ../app/models/setting/discovered.rb:37
708
699
  msgid "Force DNS"
709
700
  msgstr ""
710
701
 
711
- #: ../app/models/setting/discovered.rb:36
712
- msgid ""
713
- "Do not allow to discover existing managed host matching MAC of a "
714
- "provisioning NIC (errors out early)"
702
+ #: ../app/models/setting/discovered.rb:38
703
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
715
704
  msgstr ""
716
705
 
717
- #: ../app/models/setting/discovered.rb:36
706
+ #: ../app/models/setting/discovered.rb:38
718
707
  msgid "Error on existing NIC"
719
708
  msgstr ""
720
709
 
721
- #: ../app/models/setting/discovered.rb:37
710
+ #: ../app/models/setting/discovered.rb:39
722
711
  msgid "Discovery hostname naming pattern"
723
712
  msgstr ""
724
713
 
725
- #: ../app/models/setting/discovered.rb:37
714
+ #: ../app/models/setting/discovered.rb:39
726
715
  msgid "Type of name generator"
727
716
  msgstr ""
728
717
 
@@ -735,23 +724,27 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
735
724
  msgstr ""
736
725
 
737
726
  #: ../app/services/foreman_discovery/fact_parser.rb:12
738
- msgid ""
739
- "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: "
740
- "%{filter}"
727
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
741
728
  msgstr ""
742
729
 
743
- #: ../app/services/foreman_discovery/host_converter.rb:39
730
+ #: ../app/services/foreman_discovery/host_converter.rb:47
744
731
  msgid "IPAM must be configured for subnet '%s'"
745
732
  msgstr ""
746
733
 
747
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
734
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
748
735
  msgid "Image API returned HTTP/%{code} with '%{body}"
749
736
  msgstr ""
750
737
 
751
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
738
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
752
739
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
753
740
  msgstr ""
754
741
 
742
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
743
+ msgid "Discovered Host"
744
+ msgid_plural "Discovered Hosts"
745
+ msgstr[0] ""
746
+ msgstr[1] ""
747
+
755
748
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
756
749
  msgid "No discovered hosts available"
757
750
  msgstr ""
@@ -760,97 +753,79 @@ msgstr ""
760
753
  msgid "Host"
761
754
  msgstr "Amfitrió"
762
755
 
763
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
764
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
765
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
766
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
767
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
756
+ #: ../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
768
757
  msgid "Model"
769
758
  msgstr "Model"
770
759
 
771
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
772
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
773
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
774
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
760
+ #: ../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
775
761
  msgid "CPUs"
776
762
  msgstr "Les CPU"
777
763
 
778
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
779
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
780
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
781
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
764
+ #: ../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
782
765
  msgid "Memory"
783
766
  msgstr "Memòria"
784
767
 
785
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
768
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
786
769
  msgid "Customize Host"
787
770
  msgstr ""
788
771
 
789
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:26
772
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
790
773
  msgid "Create Host"
791
774
  msgstr "Crea un amfitrió"
792
775
 
793
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
776
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
794
777
  msgid "Select all items in this page"
795
778
  msgstr "Selecciona tots els ítems en aquesta pàgina"
796
779
 
797
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
780
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
798
781
  msgid "items selected. Uncheck to Clear"
799
782
  msgstr "ítems seleccionats. Desmarca per netejar"
800
783
 
801
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
802
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
803
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
804
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
784
+ #: ../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
805
785
  msgid "Name"
806
786
  msgstr "Nom"
807
787
 
808
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
809
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
810
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
788
+ #: ../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
811
789
  msgid "IP Address"
812
790
  msgstr "Adreça IP"
813
791
 
814
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
792
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
815
793
  msgid "Disk Count"
816
794
  msgstr ""
817
795
 
818
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
796
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
819
797
  msgid "Disks Size"
820
798
  msgstr ""
821
799
 
822
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15
823
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
800
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
824
801
  msgid "Location"
825
802
  msgstr "Ubicació"
826
803
 
827
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
828
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
804
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
829
805
  msgid "Organization"
830
806
  msgstr "Organització"
831
807
 
832
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
808
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
833
809
  msgid "Subnet"
834
810
  msgstr "Subxarxa"
835
811
 
836
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
812
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
837
813
  msgid "Last Facts Upload"
838
814
  msgstr ""
839
815
 
840
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
841
- #: ../app/views/discovery_rules/index.html.erb:12
816
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:12
842
817
  msgid "Actions"
843
818
  msgstr "Accions"
844
819
 
845
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
820
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
846
821
  msgid "Please Confirm"
847
822
  msgstr "Si us plau, confirmeu"
848
823
 
849
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
824
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
850
825
  msgid "Cancel"
851
826
  msgstr "Cancel·la"
852
827
 
853
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
828
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
854
829
  msgid "Submit"
855
830
  msgstr "Envia"
856
831
 
@@ -859,9 +834,7 @@ msgid "Provision %s"
859
834
  msgstr ""
860
835
 
861
836
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
862
- msgid ""
863
- "This might take a while, as all hosts, facts and reports will be destroyed "
864
- "as well"
837
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
865
838
  msgstr ""
866
839
 
867
840
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -900,20 +873,6 @@ msgstr "Adreça IP"
900
873
  msgid "Collapse All"
901
874
  msgstr ""
902
875
 
903
- #: ../app/views/discovered_hosts/welcome.html.erb:7
904
- msgid "No discovered hosts found in this context."
905
- msgstr ""
906
-
907
- #: ../app/views/discovered_hosts/welcome.html.erb:8
908
- msgid ""
909
- "This page shows discovered bare-metal or virtual nodes waiting to be "
910
- "provisioned."
911
- msgstr ""
912
-
913
- #: ../app/views/discovered_hosts/welcome.html.erb:9
914
- msgid "Learn more about this in the documentation."
915
- msgstr "Obteniu més informació sobre això a la documentació."
916
-
917
876
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
918
877
  msgid "Summary report for discovered hosts from Foreman"
919
878
  msgstr ""
@@ -922,23 +881,19 @@ msgstr ""
922
881
  msgid "<b>Foreman</b> Discovered hosts summary"
923
882
  msgstr ""
924
883
 
925
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
926
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
884
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
927
885
  msgid "Summary from %{time} ago to %{now}"
928
886
  msgstr ""
929
887
 
930
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
931
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
888
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
932
889
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
933
890
  msgstr ""
934
891
 
935
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
936
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
892
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
937
893
  msgid "Disk count"
938
894
  msgstr "Nombre de discs"
939
895
 
940
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
941
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
896
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
942
897
  msgid "Disks size"
943
898
  msgstr "Mida de disc"
944
899
 
@@ -987,45 +942,34 @@ msgid "Rule priority (lower integer means higher priority)"
987
942
  msgstr ""
988
943
 
989
944
  #: ../app/views/discovery_rules/_template_inline.erb:2
990
- msgid ""
991
- "Specify target hostname template pattern in the same syntax as in "
992
- "Provisioning Templates (ERB)."
945
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
993
946
  msgstr ""
994
947
 
995
948
  #: ../app/views/discovery_rules/_template_inline.erb:4
996
- msgid ""
997
- "Domain will be appended automatically. A hostname based on MAC address will "
998
- "be used when left blank."
949
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
999
950
  msgstr ""
1000
951
 
1001
952
  #: ../app/views/discovery_rules/_template_inline.erb:5
1002
- msgid ""
1003
- "In addition to @host attribute function rand for random integers is "
1004
- "available. Examples:"
953
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
1005
954
  msgstr ""
1006
955
 
1007
956
  #: ../app/views/discovery_rules/_template_inline.erb:8
1008
- msgid ""
1009
- "When creating hostname patterns, make sure the resulting host names are "
1010
- "unique."
957
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
1011
958
  msgstr ""
1012
959
 
1013
960
  #: ../app/views/discovery_rules/_template_inline.erb:9
1014
- msgid ""
1015
- "Hostnames must not start with numbers. A good approach is to use unique "
1016
- "information provided by facter (MAC address, BIOS or serial ID)."
961
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
1017
962
  msgstr ""
1018
963
 
1019
964
  #: ../app/views/discovery_rules/edit.html.erb:1
1020
965
  msgid "Edit %s"
1021
966
  msgstr "Edita %s"
1022
967
 
1023
- #: ../app/views/discovery_rules/index.html.erb:1
1024
- #: ../lib/foreman_discovery/engine.rb:163
968
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
1025
969
  msgid "Discovery Rules"
1026
970
  msgstr "Regles de descobriment"
1027
971
 
1028
- #: ../app/views/discovery_rules/index.html.erb:2
972
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
1029
973
  msgid "Create Rule"
1030
974
  msgstr ""
1031
975
 
@@ -1057,6 +1001,10 @@ msgstr "Habilitada"
1057
1001
  msgid "New Discovery Rule"
1058
1002
  msgstr "Regla de descobriment nova"
1059
1003
 
1004
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1005
+ msgid "Discovered Rules"
1006
+ msgstr ""
1007
+
1060
1008
  #: ../db/seeds.d/50_discovery_templates.rb:5
1061
1009
  msgid "Command line options for kexec during PXE-less provisioning."
1062
1010
  msgstr ""
@@ -1077,28 +1025,32 @@ msgstr ""
1077
1025
  msgid "Details"
1078
1026
  msgstr ""
1079
1027
 
1080
- #: ../lib/foreman_discovery/engine.rb:179
1028
+ #: ../lib/foreman_discovery/engine.rb:180
1081
1029
  msgid "Discovery Kexec template"
1082
1030
  msgstr ""
1083
1031
 
1084
- #: ../lib/foreman_discovery/engine.rb:188
1032
+ #: ../lib/foreman_discovery/engine.rb:189
1085
1033
  msgid "Discovery Proxy"
1086
1034
  msgstr ""
1087
1035
 
1088
- #: ../lib/foreman_discovery/engine.rb:189
1089
- msgid ""
1090
- "Discovery Proxy to use within this subnet for managing connection to "
1091
- "discovered hosts"
1036
+ #: ../lib/foreman_discovery/engine.rb:190
1037
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1092
1038
  msgstr ""
1093
1039
 
1094
- #: ../lib/foreman_discovery/engine.rb:190
1095
- msgid ""
1096
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1097
- "discovered hosts"
1040
+ #: ../lib/foreman_discovery/engine.rb:191
1041
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1042
+ msgstr ""
1043
+
1044
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1045
+ msgid "For more information please see "
1046
+ msgstr ""
1047
+
1048
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1049
+ msgid "documentation"
1098
1050
  msgstr ""
1099
1051
 
1100
1052
  #: action_names.rb:2
1101
- msgid "Import Puppet classes"
1053
+ msgid "Action with sub plans"
1102
1054
  msgstr ""
1103
1055
 
1104
1056
  #: action_names.rb:3
@@ -1106,7 +1058,7 @@ msgid "Import facts"
1106
1058
  msgstr ""
1107
1059
 
1108
1060
  #: action_names.rb:4
1109
- msgid "Action with sub plans"
1061
+ msgid "Import Puppet classes"
1110
1062
  msgstr ""
1111
1063
 
1112
1064
  #: action_names.rb:5