foreman_bootdisk 12.0.1 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHORS +26 -0
  3. data/CHANGES.md +9 -0
  4. data/README.md +19 -0
  5. data/app/controllers/foreman_bootdisk/api/v2/disks_controller.rb +11 -9
  6. data/app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb +37 -31
  7. data/app/controllers/foreman_bootdisk/disks_controller.rb +24 -19
  8. data/app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb +86 -45
  9. data/app/lib/foreman_bootdisk/scope/bootdisk.rb +23 -0
  10. data/app/lib/foreman_bootdisk/scope/full_host_bootdisk.rb +15 -0
  11. data/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb +4 -2
  12. data/app/models/concerns/foreman_bootdisk/host_ext.rb +33 -22
  13. data/app/models/concerns/foreman_bootdisk/orchestration/compute.rb +14 -10
  14. data/app/models/setting/bootdisk.rb +21 -23
  15. data/app/services/foreman_bootdisk/iso_generator.rb +144 -104
  16. data/app/services/foreman_bootdisk/renderer.rb +40 -21
  17. data/app/views/foreman_bootdisk/generic_host.erb +21 -3
  18. data/app/views/foreman_bootdisk/generic_static_host.erb +34 -0
  19. data/app/views/foreman_bootdisk/host.erb +29 -14
  20. data/config/routes.rb +15 -13
  21. data/config/routes/mount_engine.rb +3 -1
  22. data/db/migrate/20130914211030_create_host_bootdisk_template.rb +4 -4
  23. data/db/migrate/20130915104500_edit_host_bootdisk_template_multinic.rb +4 -4
  24. data/db/migrate/20130915133321_create_kickstart_bootdisk_template.rb +4 -4
  25. data/db/migrate/20130915201457_create_generic_host_bootdisk_template.rb +4 -4
  26. data/db/migrate/20131021095100_edit_host_bootdisk_template_dns_secondary.rb +4 -4
  27. data/db/migrate/20140522185700_change_templatekind_to_bootdisk.rb +16 -14
  28. data/db/migrate/20171009225200_remove_duplicate_bootdisk_templates.rb +4 -2
  29. data/db/seeds.d/50-bootdisk_templates.rb +21 -36
  30. data/lib/foreman_bootdisk.rb +2 -0
  31. data/lib/foreman_bootdisk/engine.rb +25 -37
  32. data/lib/foreman_bootdisk/version.rb +3 -1
  33. data/lib/tasks/bootdisk.rake +34 -17
  34. data/locale/ca/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  35. data/locale/ca/foreman_bootdisk.po +31 -15
  36. data/locale/de/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  37. data/locale/de/foreman_bootdisk.po +40 -22
  38. data/locale/en/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  39. data/locale/en/foreman_bootdisk.po +24 -9
  40. data/locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  41. data/locale/en_GB/foreman_bootdisk.po +31 -16
  42. data/locale/es/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  43. data/locale/es/foreman_bootdisk.po +46 -31
  44. data/locale/foreman_bootdisk.pot +82 -54
  45. data/locale/fr/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  46. data/locale/fr/foreman_bootdisk.po +30 -15
  47. data/locale/gemspec.rb +3 -1
  48. data/locale/it/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  49. data/locale/it/foreman_bootdisk.po +27 -12
  50. data/locale/ja/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  51. data/locale/ja/foreman_bootdisk.po +30 -15
  52. data/locale/ko/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  53. data/locale/ko/foreman_bootdisk.po +27 -12
  54. data/locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  55. data/locale/pt_BR/foreman_bootdisk.po +43 -27
  56. data/locale/ru/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  57. data/locale/ru/foreman_bootdisk.po +28 -13
  58. data/locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  59. data/locale/sv_SE/foreman_bootdisk.po +26 -11
  60. data/locale/zh_CN/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  61. data/locale/zh_CN/foreman_bootdisk.po +46 -31
  62. data/locale/zh_TW/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  63. data/locale/zh_TW/foreman_bootdisk.po +27 -12
  64. data/release-gem +84 -0
  65. data/test/functional/foreman_bootdisk/api/v2/disks_controller_test.rb +35 -33
  66. data/test/functional/foreman_bootdisk/api/v2/subnet_disks_controller_test.rb +9 -7
  67. data/test/functional/foreman_bootdisk/disks_controller_test.rb +27 -25
  68. data/test/models/host/managed_test.rb +26 -0
  69. data/test/test_plugin_helper.rb +11 -7
  70. data/test/unit/access_permissions_test.rb +2 -0
  71. data/test/unit/concerns/compute_resources/vmware_test.rb +67 -63
  72. data/test/unit/concerns/host_test.rb +54 -46
  73. data/test/unit/concerns/orchestration/compute_test.rb +41 -39
  74. data/test/unit/foreman_bootdisk/renderer_test.rb +36 -0
  75. data/test/unit/foreman_bootdisk/scope/bootdisk_test.rb +31 -0
  76. data/test/unit/foreman_bootdisk/scope/full_host_bootdisk_test.rb +30 -0
  77. data/test/unit/iso_generator_test.rb +67 -40
  78. metadata +69 -5
  79. data/app/services/foreman_bootdisk/renderer_methods.rb +0 -27
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'foreman_bootdisk'
2
4
  require 'fast_gettext'
3
5
  require 'gettext_i18n_rails'
@@ -9,67 +11,54 @@ module ForemanBootdisk
9
11
  config.autoload_paths += Dir["#{config.root}/app/controllers/concerns"]
10
12
  config.autoload_paths += Dir["#{config.root}/app/helpers/concerns"]
11
13
  config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
14
+ config.autoload_paths += Dir["#{config.root}/app/lib"]
12
15
 
13
- initializer 'foreman_bootdisk.mount_engine', :after=> :build_middleware_stack do |app|
16
+ initializer 'foreman_bootdisk.mount_engine' do |app|
14
17
  app.routes_reloader.paths << "#{ForemanBootdisk::Engine.root}/config/routes/mount_engine.rb"
15
18
  end
16
19
 
17
- initializer 'foreman_bootdisk.load_default_settings', :before => :load_config_initializers do |app|
18
- require_dependency File.expand_path("../../../app/models/setting/bootdisk.rb", __FILE__) if (Setting.table_exists? rescue(false))
20
+ initializer 'foreman_bootdisk.load_default_settings', before: :load_config_initializers do |_app|
21
+ table_exists = begin
22
+ Setting.table_exists?
23
+ rescue StandardError
24
+ false
25
+ end
26
+ require_dependency File.expand_path('../../app/models/setting/bootdisk.rb', __dir__) if table_exists
19
27
  end
20
28
 
21
- initializer "foreman_bootdisk.load_app_instance_data" do |app|
29
+ initializer 'foreman_bootdisk.load_app_instance_data' do |app|
22
30
  ForemanBootdisk::Engine.paths['db/migrate'].existent.each do |path|
23
31
  app.config.paths['db/migrate'] << path
24
32
  end
25
33
  end
26
34
 
27
- initializer "foreman_bootdisk.apipie" do
35
+ initializer 'foreman_bootdisk.apipie' do
28
36
  Apipie.configuration.checksum_path += ['/bootdisk/api/']
29
37
  end
30
38
 
31
- # Precompile any JS or CSS files under app/assets/
32
- # If requiring files from each other, list them explicitly here to avoid precompiling the same
33
- # content twice.
34
- assets_to_precompile =
35
- Dir.chdir(root) do
36
- Dir['app/assets/javascripts/**/*', 'app/assets/stylesheets/**/*'].map do |f|
37
- f.split(File::SEPARATOR, 4).last
38
- end
39
- end
40
-
41
- initializer 'foreman_bootdisk.assets.precompile' do |app|
42
- app.config.assets.precompile += assets_to_precompile
43
- end
44
-
45
- initializer 'foreman_bootdisk.configure_assets', group: :assets do
46
- SETTINGS[:foreman_bootdisk] = { assets: { precompile: assets_to_precompile } }
47
- end
48
-
49
- initializer 'foreman_bootdisk.register_plugin', :before => :finisher_hook do |app|
39
+ initializer 'foreman_bootdisk.register_plugin', before: :finisher_hook do |_app|
50
40
  Foreman::Plugin.register :foreman_bootdisk do
51
- requires_foreman '>= 1.18'
41
+ requires_foreman '>= 1.24'
52
42
 
53
- security_block :bootdisk do |map|
54
- permission :download_bootdisk, {:'foreman_bootdisk/disks' => [:generic, :host, :full_host, :subnet, :help],
55
- :'foreman_bootdisk/api/v2/disks' => [:generic, :host],
56
- :'foreman_bootdisk/api/v2/subnet_disks' => [:subnet]}
43
+ security_block :bootdisk do |_map|
44
+ permission :download_bootdisk, 'foreman_bootdisk/disks': %i[generic host full_host subnet help],
45
+ 'foreman_bootdisk/api/v2/disks': %i[generic host],
46
+ 'foreman_bootdisk/api/v2/subnet_disks': [:subnet]
57
47
  end
58
48
 
59
- role "Boot disk access", [:download_bootdisk]
49
+ role 'Boot disk access', [:download_bootdisk]
60
50
 
61
51
  add_all_permissions_to_default_roles
62
52
 
63
- allowed_template_helpers :bootdisk_chain_url, :bootdisk_raise
64
53
  apipie_documented_controllers ["#{ForemanBootdisk::Engine.root}/app/controllers/foreman_bootdisk/api/v2/*.rb"]
65
54
  provision_method 'bootdisk', N_('Boot disk based')
66
55
  template_labels 'Bootdisk' => N_('Boot disk embedded template')
67
- extend_template_helpers ForemanBootdisk::RendererMethods
56
+ allowed_template_helpers :bootdisk_chain_url, :bootdisk_raise, :bootdisk_build?
68
57
  end
69
58
  end
70
59
 
71
- initializer 'foreman_bootdisk.register_gettext', :after => :load_config_initializers do |app|
72
- locale_dir = File.join(File.expand_path('../../..', __FILE__), 'locale')
60
+ initializer 'foreman_bootdisk.register_gettext', after: :load_config_initializers do |_app|
61
+ locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
73
62
  locale_domain = 'foreman_bootdisk'
74
63
  Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
75
64
  end
@@ -77,12 +66,11 @@ module ForemanBootdisk
77
66
  config.to_prepare do
78
67
  begin
79
68
  Host::Managed.send(:prepend, ForemanBootdisk::HostExt)
80
- Host::Managed.send(:include, ForemanBootdisk::RendererMethods)
81
69
  Host::Managed.send(:include, ForemanBootdisk::Orchestration::Compute) if SETTINGS[:unattended]
82
70
  HostsHelper.send(:prepend, ForemanBootdisk::HostsHelperExt)
83
71
  Foreman::Model::Vmware.send(:prepend, ForemanBootdisk::ComputeResources::Vmware) if Foreman::Model::Vmware.available?
84
- rescue => e
85
- puts "#{ForemanBootdisk::ENGINE_NAME}: skipping engine hook (#{e.to_s})"
72
+ rescue StandardError => e
73
+ Rails.logger.warn "#{ForemanBootdisk::ENGINE_NAME}: skipping engine hook (#{e})"
86
74
  end
87
75
  end
88
76
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ForemanBootdisk
2
- VERSION = '12.0.1'
4
+ VERSION = '16.0.0'
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'date'
2
4
  require 'rake/testtask'
3
5
  require 'tmpdir'
@@ -15,12 +17,12 @@ namespace :bootdisk do
15
17
 
16
18
  namespace :generate do
17
19
  desc 'Generate a static boot disk for a specific host. NAME=fqdn, OUTPUT path'
18
- task :host => :environment do
20
+ task host: :environment do
19
21
  User.as_anonymous_admin do
20
- host = Host::Base.unscoped.find_by_name(ENV['NAME']) || raise("cannot find host '#{ENV['NAME']}', specify NAME=fqdn")
22
+ host = Host::Base.unscoped.find_by(name: ENV['NAME']) || raise("cannot find host '#{ENV['NAME']}', specify NAME=fqdn")
21
23
  tmpl = host.bootdisk_template_render
22
24
 
23
- ForemanBootdisk::ISOGenerator.generate(:ipxe => tmpl, :dir => outputdir) do |image|
25
+ ForemanBootdisk::ISOGenerator.generate(ipxe: tmpl, dir: outputdir) do |image|
24
26
  output = ENV['OUTPUT'] || File.join(outputdir, "#{host.name}.iso")
25
27
  FileUtils.mv image, output
26
28
  puts "Wrote #{output}"
@@ -29,10 +31,10 @@ namespace :bootdisk do
29
31
  end
30
32
 
31
33
  desc 'Generate a full boot disk for a specific host with the OS bootloader included. NAME=fqdn, OUTPUT path'
32
- task :full_host => :environment do
34
+ task full_host: :environment do
33
35
  User.as_anonymous_admin do
34
- host = Host::Base.unscoped.find_by_name(ENV['NAME']) || raise("cannot find host '#{ENV['NAME']}', specify NAME=fqdn")
35
- ForemanBootdisk::ISOGenerator.generate_full_host(host, :dir => outputdir) do |image|
36
+ host = Host::Base.unscoped.find_by(name: ENV['NAME']) || raise("cannot find host '#{ENV['NAME']}', specify NAME=fqdn")
37
+ ForemanBootdisk::ISOGenerator.generate_full_host(host, dir: outputdir) do |image|
36
38
  output = ENV['OUTPUT'] || File.join(outputdir, "#{host.name}_#{Date.today.strftime('%Y%m%d')}.iso")
37
39
  FileUtils.cp image, output
38
40
  puts "Wrote #{output}"
@@ -41,11 +43,11 @@ namespace :bootdisk do
41
43
  end
42
44
 
43
45
  desc 'Generate a generic boot disk. OUTPUT=path'
44
- task :generic => :environment do
46
+ task generic: :environment do
45
47
  User.as_anonymous_admin do
46
48
  tmpl = ForemanBootdisk::Renderer.new.generic_template_render
47
49
 
48
- ForemanBootdisk::ISOGenerator.generate(:ipxe => tmpl, :dir => outputdir) do |image|
50
+ ForemanBootdisk::ISOGenerator.generate(ipxe: tmpl, dir: outputdir) do |image|
49
51
  output = ENV['OUTPUT'] || File.join(outputdir, "bootdisk_#{URI.parse(Setting[:foreman_url]).host}.iso")
50
52
  FileUtils.cp image, output
51
53
  puts "Wrote #{output}"
@@ -54,12 +56,12 @@ namespace :bootdisk do
54
56
  end
55
57
 
56
58
  desc 'Generate a subnet disk for a specific subnet. NAME=subnet, OUTPUT=path'
57
- task :subnet => :environment do
59
+ task subnet: :environment do
58
60
  User.as_anonymous_admin do
59
- subnet = Subnet.unscoped.find_by_name(ENV['NAME']) || raise("cannot find subnet '#{ENV['NAME']}', specify NAME=subnet")
60
- subnet.tftp || raise(::Foreman::Exception.new(N_("TFTP feature not enabled for subnet %s"), subnet.name))
61
+ subnet = Subnet.unscoped.find_by(name: ENV['NAME']) || raise("cannot find subnet '#{ENV['NAME']}', specify NAME=subnet")
62
+ subnet.tftp || raise(::Foreman::Exception.new(N_('TFTP feature not enabled for subnet %s'), subnet.name))
61
63
  tmpl = ForemanBootdisk::Renderer.new.generic_template_render(subnet)
62
- ForemanBootdisk::ISOGenerator.generate(:ipxe => tmpl, :dir => outputdir) do |image|
64
+ ForemanBootdisk::ISOGenerator.generate(ipxe: tmpl, dir: outputdir) do |image|
63
65
  output = ENV['OUTPUT'] || File.join(outputdir, "bootdisk_subnet_#{subnet.name}.iso")
64
66
  FileUtils.cp image, output
65
67
  puts "Wrote #{output}"
@@ -71,10 +73,10 @@ end
71
73
 
72
74
  # Tests
73
75
  namespace :test do
74
- desc "Test foreman_bootdisk"
76
+ desc 'Test foreman_bootdisk'
75
77
  Rake::TestTask.new(:foreman_bootdisk) do |t|
76
78
  test_dir = File.join(File.dirname(__FILE__), '../..', 'test')
77
- t.libs << ["test",test_dir]
79
+ t.libs << ['test', test_dir]
78
80
  t.pattern = "#{test_dir}/**/*_test.rb"
79
81
  t.verbose = true
80
82
  t.warning = false
@@ -83,7 +85,22 @@ end
83
85
 
84
86
  Rake::Task[:test].enhance ['test:foreman_bootdisk']
85
87
 
86
- load 'tasks/jenkins.rake'
87
- if Rake::Task.task_defined?(:'jenkins:unit')
88
- Rake::Task["jenkins:unit"].enhance ['test:foreman_bootdisk']
88
+ namespace :foreman_bootdisk do
89
+ task :rubocop do
90
+ begin
91
+ require 'rubocop/rake_task'
92
+ RuboCop::RakeTask.new(:rubocop_foreman_bootdisk) do |task|
93
+ task.patterns = ["#{ForemanBootdisk::Engine.root}/app/**/*.rb",
94
+ "#{ForemanBootdisk::Engine.root}/lib/**/*.rb",
95
+ "#{ForemanBootdisk::Engine.root}/test/**/*.rb"]
96
+ end
97
+ rescue StandardError
98
+ puts 'Rubocop not loaded.'
99
+ end
100
+
101
+ Rake::Task['rubocop_foreman_bootdisk'].invoke
102
+ end
89
103
  end
104
+
105
+ load 'tasks/jenkins.rake'
106
+ Rake::Task['jenkins:unit'].enhance ['test:foreman_bootdisk', 'foreman_bootdisk:rubocop'] if Rake::Task.task_defined?(:'jenkins:unit')
@@ -3,12 +3,13 @@
3
3
  # This file is distributed under the same license as the foreman_bootdisk package.
4
4
  #
5
5
  # Translators:
6
+ # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017
6
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
7
8
  msgid ""
8
9
  msgstr ""
9
- "Project-Id-Version: Foreman\n"
10
+ "Project-Id-Version: foreman_bootdisk 15.1.0\n"
10
11
  "Report-Msgid-Bugs-To: \n"
11
- "PO-Revision-Date: 2017-09-20 00:09+0000\n"
12
+ "PO-Revision-Date: 2019-08-12 08:51+0000\n"
12
13
  "Last-Translator: Lukáš Zapletal\n"
13
14
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
14
15
  "\n"
@@ -21,6 +22,9 @@ msgstr ""
21
22
  msgid "A variant of the per-host image which contains the OS bootloader embedded inside the disk. This may be useful if chainloading fails on certain hardware, but has the downside that the image must be regenerated for any change in the OS, bootloader or PXELinux templates."
22
23
  msgstr ""
23
24
 
25
+ msgid "Action with sub plans"
26
+ msgstr ""
27
+
24
28
  msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
25
29
  msgstr ""
26
30
 
@@ -45,6 +49,9 @@ msgstr ""
45
49
  msgid "Boot disks"
46
50
  msgstr "Discs d'arrencada"
47
51
 
52
+ msgid "Both IP and Subnet must be set"
53
+ msgstr ""
54
+
48
55
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
49
56
  msgstr "L'ordre per generar la imatge ISO, utilitzeu genisoimage o mkisofs"
50
57
 
@@ -93,8 +100,11 @@ msgstr "Ajuda"
93
100
  msgid "Host '%s' image"
94
101
  msgstr ""
95
102
 
96
- msgid "Host has no IP address defined"
97
- msgstr "L'amfitrió no té definida cap adreça IP"
103
+ msgid "Host bootdisk does not work with static IPv6"
104
+ msgstr ""
105
+
106
+ msgid "Host has no IPv4 or IPv6 address defined"
107
+ msgstr ""
98
108
 
99
109
  msgid "Host has no domain defined"
100
110
  msgstr "L'amfitrió no té definit cap domini"
@@ -115,7 +125,7 @@ msgid "Host is not in build mode, so the template cannot be rendered"
115
125
  msgstr ""
116
126
 
117
127
  msgid "ISO build failed"
118
- msgstr "No s'ha pogut construir la ISO"
128
+ msgstr "No s'ha pogut construir l'ISO"
119
129
 
120
130
  msgid "ISO generation command"
121
131
  msgstr ""
@@ -126,6 +136,12 @@ msgstr ""
126
136
  msgid "ISOLINUX directory"
127
137
  msgstr ""
128
138
 
139
+ msgid "Import Puppet classes"
140
+ msgstr ""
141
+
142
+ msgid "Import facts"
143
+ msgstr ""
144
+
129
145
  msgid "Installation media caching"
130
146
  msgstr ""
131
147
 
@@ -139,7 +155,7 @@ msgid "Path to directory containing iPXE images"
139
155
  msgstr "El camí al directori que conté les imatges iPXE"
140
156
 
141
157
  msgid "Path to directory containing isolinux images"
142
- msgstr ""
158
+ msgstr "El camí al directori que conté les imatges isolinux"
143
159
 
144
160
  msgid "Path to directory containing syslinux images"
145
161
  msgstr "El camí al directori que conté les imatges syslinux"
@@ -156,18 +172,15 @@ msgstr ""
156
172
  msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
157
173
  msgstr ""
158
174
 
175
+ msgid "Remote action:"
176
+ msgstr ""
177
+
159
178
  msgid "SYSLINUX directory"
160
179
  msgstr ""
161
180
 
162
181
  msgid "Subnet '%s' generic image"
163
182
  msgstr ""
164
183
 
165
- msgid "Subnet (%s) has no gateway defined"
166
- msgstr "La subxarxa (%s) no té definida cap passarel·la"
167
-
168
- msgid "Subnet (%s) has no primary DNS server defined"
169
- msgstr "La subxarxa (%s) no té definit cap servidor DNS primari"
170
-
171
184
  msgid "Subnet boot disks"
172
185
  msgstr "Discs d'arrencada de subxarxa"
173
186
 
@@ -195,8 +208,11 @@ msgstr ""
195
208
  msgid "Unable to find template specified by %s setting"
196
209
  msgstr "No es pot trobar la plantilla especificada per l'ajust %s"
197
210
 
198
- msgid "Unable to generate disk template: %s"
199
- msgstr "No es pot generar la plantilla de disc: %s"
211
+ msgid "Unable to generate disk PXELinux template: %s"
212
+ msgstr ""
213
+
214
+ msgid "Unable to generate disk template, PXELinux template not found."
215
+ msgstr ""
200
216
 
201
217
  msgid "Upload ISO image to datastore for %s"
202
218
  msgstr ""
@@ -205,7 +221,7 @@ msgid "Various types of boot disks can be created to provision hosts without the
205
221
  msgstr ""
206
222
 
207
223
  msgid "iPXE directory"
208
- msgstr ""
224
+ msgstr "Directori iPXE"
209
225
 
210
226
  msgid "iPXE template to use for generic host boot disks"
211
227
  msgstr ""
@@ -5,14 +5,17 @@
5
5
  # Translators:
6
6
  # Christina Gurski <Gurski_christina@yahoo.de>, 2015
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2014,2016
8
+ # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
8
9
  # Paul Puschmann, 2014
10
+ # abf90805572190d649c59f7a021d76cb, 2014
11
+ # simon11 <simon.stieger.98@live.de>, 2014
9
12
  # simon11 <simon.stieger.98@live.de>, 2014
10
13
  msgid ""
11
14
  msgstr ""
12
- "Project-Id-Version: Foreman\n"
15
+ "Project-Id-Version: foreman_bootdisk 15.1.0\n"
13
16
  "Report-Msgid-Bugs-To: \n"
14
- "PO-Revision-Date: 2017-09-20 00:09+0000\n"
15
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
17
+ "PO-Revision-Date: 2019-08-12 08:51+0000\n"
18
+ "Last-Translator: Lukáš Zapletal\n"
16
19
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
17
20
  "MIME-Version: 1.0\n"
18
21
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -23,6 +26,9 @@ msgstr ""
23
26
  msgid "A variant of the per-host image which contains the OS bootloader embedded inside the disk. This may be useful if chainloading fails on certain hardware, but has the downside that the image must be regenerated for any change in the OS, bootloader or PXELinux templates."
24
27
  msgstr "Eine Variante des Abbildes pro Host mit im im Medium eingebetteten Betriebssystem-Bootloader. Dies ist hilfreich, falls Chainloading auf einer bestimmten Hardware fehlschlägt, hat jedoch den Nachteil, dass das Abbild bei jeglicher Änderung von Betriebssystem, Bootloader oder PXELinux-Vorlagen neu generiert werden muss."
25
28
 
29
+ msgid "Action with sub plans"
30
+ msgstr ""
31
+
26
32
  msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
27
33
  msgstr "Alle Abbilder können entweder als ISOs oder als Festplattenabbilder verwendet werden und auch mit `dd` auf eine USB-Festplatte geschrieben."
28
34
 
@@ -39,14 +45,17 @@ msgid "Boot disk based"
39
45
  msgstr "Startmedium-basiert"
40
46
 
41
47
  msgid "Boot disk download not available for %s architecture"
42
- msgstr ""
48
+ msgstr "Startmedium Download nicht verfügbar für Architektur %s"
43
49
 
44
50
  msgid "Boot disk embedded template"
45
- msgstr ""
51
+ msgstr "Im Startmedium eingebettete Vorlage"
46
52
 
47
53
  msgid "Boot disks"
48
54
  msgstr "Startmedien"
49
55
 
56
+ msgid "Both IP and Subnet must be set"
57
+ msgstr ""
58
+
50
59
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
51
60
  msgstr "Kommando zur Erstellung von ISO-Abbildern, verwende genisoimage oder mkisofs"
52
61
 
@@ -60,16 +69,16 @@ msgid "Download subnet generic image"
60
69
  msgstr "Generisches Abbild von Subnetz herunterladen"
61
70
 
62
71
  msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
63
- msgstr ""
72
+ msgstr "Fehler beim Einhängen des ISO-Abbild am CDROM-Laufwerk für Instanz %{name}: %{message}"
64
73
 
65
74
  msgid "Failed to generate ISO image for instance %{name}: %{message}"
66
- msgstr ""
75
+ msgstr "Fehler beim Erzeugen des ISO-Abbild für Instanz %{name}: %{message}"
67
76
 
68
77
  msgid "Failed to render boot disk template"
69
78
  msgstr "Fehler beim Rendern der Vorlage für Startmedium"
70
79
 
71
80
  msgid "Failed to upload ISO image for instance %{name}: %{message}"
72
- msgstr ""
81
+ msgstr "Fehler beim Upload des ISO-Abbild für Instanz %{name}: %{message}"
73
82
 
74
83
  msgid "Full host '%s' image"
75
84
  msgstr "Vollständiges Host \"%s\"-Abbild"
@@ -95,8 +104,11 @@ msgstr "Hilfe"
95
104
  msgid "Host '%s' image"
96
105
  msgstr "Host '%s'-Abbild"
97
106
 
98
- msgid "Host has no IP address defined"
99
- msgstr "Host hat keine IP-Adresse definiert"
107
+ msgid "Host bootdisk does not work with static IPv6"
108
+ msgstr ""
109
+
110
+ msgid "Host has no IPv4 or IPv6 address defined"
111
+ msgstr ""
100
112
 
101
113
  msgid "Host has no domain defined"
102
114
  msgstr "Host hat keine Domäne definiert"
@@ -128,9 +140,15 @@ msgstr "ISO hybrid Konvertierung fehlgeschlagen"
128
140
  msgid "ISOLINUX directory"
129
141
  msgstr "ISOLINUX-Verzeichnis"
130
142
 
131
- msgid "Installation media caching"
143
+ msgid "Import Puppet classes"
132
144
  msgstr ""
133
145
 
146
+ msgid "Import facts"
147
+ msgstr ""
148
+
149
+ msgid "Installation media caching"
150
+ msgstr "Installationsmedien-Dateien Caching"
151
+
134
152
  msgid "Installation media files will be cached for full host images"
135
153
  msgstr "Installationsmedien-Dateien werden für vollständige Host-Images zwischengespeichert."
136
154
 
@@ -141,7 +159,7 @@ msgid "Path to directory containing iPXE images"
141
159
  msgstr "Pfad zum Verzeichnis mit iPXE-Abbildern"
142
160
 
143
161
  msgid "Path to directory containing isolinux images"
144
- msgstr ""
162
+ msgstr "Pfad zum Verzeichnis welches die ISOLINUX Abbilder enthält"
145
163
 
146
164
  msgid "Path to directory containing syslinux images"
147
165
  msgstr "Pfad zum Verzeichnis mit syslinux-Abbildern"
@@ -150,26 +168,23 @@ msgid "Per-host images contain data about a particular host registered in Forema
150
168
  msgstr "\"Pro-Host\"-Abbilder enthalten Daten über einen bestimmten Host, der in Foreman registriert ist, und richten eine vollständig statische Verbindung ein, wobei die Notwendigkeit von DHCP vermieden wird. Nach der Konfiguration der Verbindung werden sie nacheinander von Foreman geladen (Chainloading) und nehmen die gegenwärtige OS-Konfiguration und den Buildstatus vom Server auf."
151
169
 
152
170
  msgid "Please ensure the ipxe-bootimgs package is installed."
153
- msgstr ""
171
+ msgstr "Bitte die Installation des IPXE-bootimgs Paket sicherstellen."
154
172
 
155
173
  msgid "Please ensure the isolinux/syslinux package(s) are installed."
156
- msgstr ""
174
+ msgstr "Bitte die Installation des/der ISOLINUX/SYSLINUX Paket(e) sicherstellen."
157
175
 
158
176
  msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
159
177
  msgstr "Plugin für Foreman, welches iPXE-basierte Startmedien erstellt, um Hosts ohne die Notwendigkeit einer PXE-Infrastruktur bereitzustellen."
160
178
 
179
+ msgid "Remote action:"
180
+ msgstr ""
181
+
161
182
  msgid "SYSLINUX directory"
162
183
  msgstr "SYSLINUX-Verzeichnis"
163
184
 
164
185
  msgid "Subnet '%s' generic image"
165
186
  msgstr "Subnetz '%s' generisches Abbild"
166
187
 
167
- msgid "Subnet (%s) has no gateway defined"
168
- msgstr "Subnetz (%s) hat keinen Gateway definiert"
169
-
170
- msgid "Subnet (%s) has no primary DNS server defined"
171
- msgstr "Subnetz (%s) hat keinen primären DNS-Server definiert"
172
-
173
188
  msgid "Subnet boot disks"
174
189
  msgstr "Subnetz-Startmedien"
175
190
 
@@ -197,8 +212,11 @@ msgstr "\"True\" für vollständiges, \"false\" für einfaches wiederverwendbare
197
212
  msgid "Unable to find template specified by %s setting"
198
213
  msgstr "Konnte Vorlage mit der %s-Einstellung nicht finden"
199
214
 
200
- msgid "Unable to generate disk template: %s"
201
- msgstr "Startmedium-Vorlage konnte nicht erzeugt werden: %s"
215
+ msgid "Unable to generate disk PXELinux template: %s"
216
+ msgstr ""
217
+
218
+ msgid "Unable to generate disk template, PXELinux template not found."
219
+ msgstr ""
202
220
 
203
221
  msgid "Upload ISO image to datastore for %s"
204
222
  msgstr "ISO-Abbild zum Datenspeicher für %s hochladen"