├── lib ├── foreman_setup │ ├── version.rb │ └── engine.rb ├── foreman_setup.rb └── tasks │ └── foreman_setup_tasks.rake ├── locale ├── gemspec.rb ├── ca │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── de │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── en │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── es │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── fr │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── it │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── ja │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── ka │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── ko │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── ru │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── en_GB │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── pt_BR │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── sv_SE │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── zh_CN │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── zh_TW │ ├── LC_MESSAGES │ │ └── foreman_setup.mo │ └── foreman_setup.po ├── Makefile └── foreman_setup.pot ├── app ├── views │ └── foreman_setup │ │ └── provisioners │ │ ├── step5.html.erb │ │ ├── new.html.erb │ │ ├── step2.html.erb │ │ ├── step3.html.erb │ │ ├── step4.html.erb │ │ ├── _step2.html.erb │ │ ├── index.html.erb │ │ ├── _step5.html.erb │ │ ├── _step1.html.erb │ │ ├── _step4.html.erb │ │ └── _step3.html.erb ├── helpers │ └── foreman_setup │ │ └── provisioner_helper.rb ├── models │ └── foreman_setup │ │ └── provisioner.rb └── controllers │ └── foreman_setup │ └── provisioners_controller.rb ├── db └── migrate │ ├── 20131028161000_add_provisioners_domain.rb │ ├── 20131025180600_add_provisioners_hostgroup.rb │ ├── 20131023140100_add_provisioners.rb │ └── 20140305165000_update_foreman_setup_permissions.rb ├── .tx └── config ├── test ├── test_plugin_helper.rb ├── unit │ └── foreman_setup │ │ └── provisioner_test.rb ├── factories │ └── provisioners.rb └── functional │ └── foreman_setup │ └── provisioners_controller_test.rb ├── .gitignore ├── config └── routes.rb ├── .rubocop.yml ├── foreman_setup.gemspec ├── README.md ├── CHANGES.md ├── .rubocop_todo.yml └── LICENSE /lib/foreman_setup/version.rb: -------------------------------------------------------------------------------- 1 | module ForemanSetup 2 | VERSION = '8.0.1' 3 | end 4 | -------------------------------------------------------------------------------- /locale/gemspec.rb: -------------------------------------------------------------------------------- 1 | # Matches foreman_setup.gemspec 2 | _("Plugin for Foreman that helps set up provisioning.") 3 | -------------------------------------------------------------------------------- /lib/foreman_setup.rb: -------------------------------------------------------------------------------- 1 | require 'foreman_setup/version' 2 | require 'foreman_setup/engine' 3 | 4 | module ForemanSetup 5 | end 6 | -------------------------------------------------------------------------------- /locale/ca/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/ca/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/de/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/de/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/en/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/en/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/es/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/es/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/fr/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/fr/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/it/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/it/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/ja/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/ja/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/ka/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/ka/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/ko/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/ko/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/ru/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/ru/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/en_GB/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/en_GB/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/pt_BR/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/pt_BR/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/sv_SE/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/sv_SE/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/zh_CN/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/zh_CN/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /locale/zh_TW/LC_MESSAGES/foreman_setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theforeman/foreman_setup/HEAD/locale/zh_TW/LC_MESSAGES/foreman_setup.mo -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/step5.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Completion") %> 2 | 3 | <%= render 'foreman_setup/provisioners/step5', :provisioner => @provisioner %> 4 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/new.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Provisioning setup") %> 2 | 3 | <%= render 'foreman_setup/provisioners/step1', :provisioner => @provisioner %> 4 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/step2.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Network config") %> 2 | 3 | <%= render 'foreman_setup/provisioners/step2', :provisioner => @provisioner %> 4 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/step3.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Foreman installer") %> 2 | 3 | <%= render 'foreman_setup/provisioners/step3', :provisioner => @provisioner %> 4 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/step4.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Installation media") %> 2 | 3 | <%= render 'foreman_setup/provisioners/step4', :provisioner => @provisioner %> 4 | -------------------------------------------------------------------------------- /db/migrate/20131028161000_add_provisioners_domain.rb: -------------------------------------------------------------------------------- 1 | class AddProvisionersDomain < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :setup_provisioners, :domain_id, :integer 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [foreman.foreman_setup] 5 | file_filter = locale//foreman_setup.edit.po 6 | source_file = locale/foreman_setup.pot 7 | source_lang = en 8 | type = PO 9 | -------------------------------------------------------------------------------- /db/migrate/20131025180600_add_provisioners_hostgroup.rb: -------------------------------------------------------------------------------- 1 | class AddProvisionersHostgroup < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :setup_provisioners, :hostgroup_id, :integer 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /test/test_plugin_helper.rb: -------------------------------------------------------------------------------- 1 | # This calls the main test_helper in Foreman core 2 | require 'test_helper' 3 | 4 | # Add plugin to FactoryBot's paths 5 | FactoryBot.definition_file_paths << File.join(File.dirname(__FILE__), 'factories') 6 | FactoryBot.reload 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .bundle 3 | Gemfile.lock 4 | *.sw? 5 | .idea 6 | *.pyc 7 | .DS_Store 8 | .rbenv* 9 | .rvmrc* 10 | .ruby-* 11 | /foreman_setup*gem 12 | pkg/ 13 | public/ 14 | tags 15 | locale/*.mo 16 | locale/*/*.edit.po 17 | locale/*/*.po.time_stamp 18 | locale/*/*.pox 19 | -------------------------------------------------------------------------------- /app/helpers/foreman_setup/provisioner_helper.rb: -------------------------------------------------------------------------------- 1 | module ForemanSetup 2 | module ProvisionerHelper 3 | def provisioner_wizard(step) 4 | wizard_header( 5 | step, 6 | _("Pre-requisites"), 7 | _("Network config"), 8 | _("Foreman installer"), 9 | _("Installation media"), 10 | _("Completion") 11 | ) 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /db/migrate/20131023140100_add_provisioners.rb: -------------------------------------------------------------------------------- 1 | class AddProvisioners < ActiveRecord::Migration[4.2] 2 | def change 3 | create_table :setup_provisioners do |t| 4 | t.integer :host_id 5 | t.integer :smart_proxy_id 6 | t.string :provision_interface, :limit => 255 7 | t.integer :subnet_id 8 | t.string :timestamps, :limit => 255 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | namespace :foreman_setup do 3 | resources :provisioners, :except => [:edit, :update] do 4 | member do 5 | get 'edit', :action => :step2 6 | get 'step2' 7 | put 'step2_update' 8 | get 'step3' 9 | post 'step4' 10 | put 'step4_update' 11 | get 'step5' 12 | end 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /db/migrate/20140305165000_update_foreman_setup_permissions.rb: -------------------------------------------------------------------------------- 1 | class UpdateForemanSetupPermissions < ActiveRecord::Migration[4.2] 2 | def self.up 3 | old_permission = ::Permission.where(:name => "edit_provisioning", :resource_type => nil).first 4 | new_permission = ::Permission.where(:name => "edit_provisioning", :resource_type => "ForemanSetup::Provisioner").first 5 | unless old_permission.nil? 6 | Filtering.where(:permission_id => old_permission.id).update_all(:permission_id => new_permission.id) 7 | old_permission.delete 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /test/unit/foreman_setup/provisioner_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ForemanSetupProvisionerTest < ActiveSupport::TestCase 4 | test '#interfaces returns hash' do 5 | prov = FactoryBot.create(:setup_provisioner, :step1) 6 | assert_equal({'eth0' => {:ip => '192.168.1.20', :mask => '255.255.255.0', :network => '192.168.1.0', :cidr => '192.168.1.0/24'}}, prov.interfaces) 7 | end 8 | 9 | test '#provision_interface_data returns hash' do 10 | prov = FactoryBot.create(:setup_provisioner, :step1) 11 | assert_equal({:ip => '192.168.1.20', :mask => '255.255.255.0', :network => '192.168.1.0', :cidr => '192.168.1.0/24'}, prov.provision_interface_data) 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | # TODO: remove this file by either moving cops here or fixing code 2 | inherit_from: 3 | - .rubocop_todo.yml 4 | 5 | AllCops: 6 | Include: 7 | - 'app/views/api/**/*.rabl' 8 | Exclude: 9 | - 'db/schema.rb' 10 | - 'vendor/**/*' 11 | 12 | Rails: 13 | Enabled: true 14 | 15 | # Don't enforce documentation 16 | Style/Documentation: 17 | Enabled: false 18 | 19 | # Support both ruby19 and hash_rockets 20 | Style/HashSyntax: 21 | Enabled: false 22 | SupportedStyles: 23 | - ruby19 24 | - hash_rockets 25 | 26 | Metrics: 27 | Enabled: false 28 | 29 | Layout/LineLength: 30 | Enabled: false 31 | 32 | Style/FrozenStringLiteralComment: 33 | Enabled: false 34 | -------------------------------------------------------------------------------- /foreman_setup.gemspec: -------------------------------------------------------------------------------- 1 | require File.expand_path('../lib/foreman_setup/version', __FILE__) 2 | require 'date' 3 | 4 | Gem::Specification.new do |s| 5 | s.name = "foreman_setup" 6 | 7 | s.version = ForemanSetup::VERSION 8 | s.date = Date.today.to_s 9 | 10 | s.summary = "Helps set up Foreman for provisioning" 11 | s.description = "Plugin for Foreman that helps set up provisioning." 12 | s.homepage = "https://github.com/theforeman/foreman_setup" 13 | s.licenses = ["GPL-3"] 14 | s.require_paths = ["lib"] 15 | 16 | s.authors = ["Dominic Cleal"] 17 | s.email = "dcleal@redhat.com" 18 | 19 | s.extra_rdoc_files = [ 20 | "CHANGES.md", 21 | "LICENSE", 22 | "README.md", 23 | ] 24 | s.files = `git ls-files`.split("\n") - Dir[".*", "Gem*", "*.gemspec"] 25 | end 26 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/_step2.html.erb: -------------------------------------------------------------------------------- 1 | 2 | <%= form_for provisioner, :url => step2_update_foreman_setup_provisioner_path, :method => 'PUT' do |f| %> 3 | <%= base_errors_for provisioner %> 4 | <%= provisioner_wizard 2 %> 5 | 6 |

7 | <%= _("To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server.") %> 8 |

9 | 10 |

<%= _("Domain") %>

11 | <%= text_f f, :domain_name, :label => s_("Domain|Name"), :help_inline => _("The DNS domain name to provision hosts into") %> 12 | 13 |

<%= _("Subnet") %>

14 | <%= f.fields_for :subnet, f.object.subnet do |sf| %> 15 | <%= render 'subnets/fields', :f => sf %> 16 | <% end %> 17 | 18 | <%= submit_or_cancel f, false, {:cancel_path => foreman_setup_provisioners_path, :disabled => !(f.object.host.present? && f.object.smart_proxy.present?)} %> 19 | <% end %> 20 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/index.html.erb: -------------------------------------------------------------------------------- 1 | <% title _("Provisioning setup") %> 2 | 3 | <% title_actions new_link(_("Set up provisioning")) %> 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | <% for prov in @provisioners %> 13 | 14 | 15 | 16 | 17 | 18 | 19 | <% end %> 20 |
<%= sort :name, :as => _("Provisioning host") %><%= _("Smart proxy") %><%= _("Subnet") %>
<%= link_to_if_authorized h(prov.host.to_s), hash_for_edit_foreman_setup_provisioner_path(prov)%><%= prov.smart_proxy.try(:name) %><%= "#{prov.subnet.name} (#{prov.subnet.to_label})" if prov.subnet.present? %><%= action_buttons(display_delete_if_authorized(hash_for_foreman_setup_provisioner_path(prov), :confirm => _("Delete %s?") % prov.host.to_s)) %>
21 | 22 | <%= page_entries_info @provisioners %> 23 | <%= will_paginate @provisioners %> 24 | -------------------------------------------------------------------------------- /lib/tasks/foreman_setup_tasks.rake: -------------------------------------------------------------------------------- 1 | # Tasks 2 | namespace :foreman_setup do 3 | namespace :example do 4 | desc 'Example Task' 5 | task task: :environment do 6 | # Task goes here 7 | end 8 | end 9 | end 10 | 11 | # Tests 12 | namespace :test do 13 | desc 'Test ForemanSetup' 14 | Rake::TestTask.new(:foreman_setup) do |t| 15 | test_dir = File.join(File.dirname(__FILE__), '../..', 'test') 16 | t.libs << ['test', test_dir] 17 | t.pattern = "#{test_dir}/**/*_test.rb" 18 | t.verbose = true 19 | t.warning = false 20 | end 21 | end 22 | 23 | namespace :foreman_setup do 24 | task :rubocop do 25 | begin 26 | require 'rubocop/rake_task' 27 | RuboCop::RakeTask.new(:rubocop_foreman_setup) do |task| 28 | task.patterns = ["#{ForemanSetup::Engine.root}/app/**/*.rb", 29 | "#{ForemanSetup::Engine.root}/lib/**/*.rb", 30 | "#{ForemanSetup::Engine.root}/test/**/*.rb"] 31 | end 32 | rescue 33 | puts 'Rubocop not loaded.' 34 | end 35 | 36 | Rake::Task['rubocop_foreman_setup'].invoke 37 | end 38 | end 39 | 40 | Rake::Task[:test].enhance ['test:foreman_setup'] 41 | 42 | load 'tasks/jenkins.rake' 43 | if Rake::Task.task_defined?(:'jenkins:unit') 44 | Rake::Task['jenkins:unit'].enhance ['test:foreman_setup', 'foreman_setup:rubocop'] 45 | end 46 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/_step5.html.erb: -------------------------------------------------------------------------------- 1 | 2 |
3 | <%= provisioner_wizard 5 %> 4 | 5 |

<%= _("Provisioning setup complete") %>

6 | 7 |

8 | <%= _("All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier.") %> 9 |

10 | 11 |

12 | <%= _("The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities.").html_safe %> 13 |

14 | 15 |

<%= _("Next steps") %>

16 | 17 | <%= option_button _("New Host"), new_host_path, :class => 'btn btn-success', :help_inline => _("Create and provision a new host") %> 18 | <%= option_button _("Compute Resources"), compute_resources_path, :class => 'btn btn-default', :help_inline => _("Add and manage compute resources (virtualization and cloud)") %> 19 | <%= option_button _("Edit Host Group"), edit_hostgroup_path(@provisioner.hostgroup), :class => 'btn btn-default', :help_inline => _("Review and edit the host group set up by the provisioning wizard") %> 20 | <%= option_button _("Provisioning Setup"), foreman_setup_provisioners_path, :class => 'btn btn-default', :help_inline => _("Return to the main provisioning setup page") %> 21 | 22 |
23 | -------------------------------------------------------------------------------- /test/factories/provisioners.rb: -------------------------------------------------------------------------------- 1 | FactoryBot.define do 2 | factory :setup_provisioner, :class => ForemanSetup::Provisioner do 3 | host do 4 | association :host, :managed, :domain => FactoryBot.create(:domain) 5 | end 6 | smart_proxy { association :smart_proxy, :url => "https://#{host.name}:8443" } 7 | 8 | # After step1, interface selection 9 | trait :step1 do 10 | provision_interface { 'eth0' } 11 | after(:create) do |prov, evaluator| 12 | fact = FactoryBot.create(:fact_name, :name => "ipaddress_#{prov.provision_interface}") 13 | FactoryBot.create(:fact_value, :fact_name => fact, :host => prov.host, :value => '192.168.1.20') 14 | 15 | fact = FactoryBot.create(:fact_name, :name => "network_#{prov.provision_interface}") 16 | FactoryBot.create(:fact_value, :fact_name => fact, :host => prov.host, :value => '192.168.1.0') 17 | 18 | fact = FactoryBot.create(:fact_name, :name => "netmask_#{prov.provision_interface}") 19 | FactoryBot.create(:fact_value, :fact_name => fact, :host => prov.host, :value => '255.255.255.0') 20 | 21 | fact = FactoryBot.create(:fact_name, :name => 'interfaces') 22 | FactoryBot.create(:fact_value, :fact_name => fact, :host => prov.host, :value => 'lo,eth0,eth1') 23 | end 24 | end 25 | 26 | # After step2_update, update with nested subnet data 27 | trait :step2 do 28 | step1 29 | hostgroup 30 | domain 31 | association :subnet, :factory => :subnet_ipv4 32 | after(:create) do |prov, evaluator| 33 | prov.subnet.domains << prov.domain 34 | end 35 | end 36 | end 37 | end 38 | -------------------------------------------------------------------------------- /lib/foreman_setup/engine.rb: -------------------------------------------------------------------------------- 1 | require 'foreman_setup' 2 | 3 | module ForemanSetup 4 | class Engine < ::Rails::Engine 5 | engine_name 'foreman_setup' 6 | 7 | config.autoload_paths += Dir["#{config.root}/app/controllers/concerns"] 8 | config.autoload_paths += Dir["#{config.root}/app/helpers/concerns"] 9 | config.autoload_paths += Dir["#{config.root}/app/models/concerns"] 10 | 11 | initializer "foreman_setup.load_app_instance_data" do |app| 12 | ForemanSetup::Engine.paths['db/migrate'].existent.each do |path| 13 | app.config.paths['db/migrate'] << path 14 | end 15 | end 16 | 17 | initializer 'foreman_setup.register_plugin', :before => :finisher_hook do |app| 18 | Foreman::Plugin.register :foreman_setup do 19 | requires_foreman '>= 3.2' 20 | 21 | menu :top_menu, :provisioners, :url_hash => {:controller=> :'foreman_setup/provisioners', :action=>:index}, 22 | :caption=> N_('Provisioning setup'), 23 | :parent => :infrastructure_menu, 24 | :first => true 25 | 26 | security_block :provisioning do 27 | permission :edit_provisioning, {:'foreman_setup/provisioners' => [:index, :new, :update, :create, :show, :destroy, :step1, 28 | :step2, :step2_update, :step3, :step4, :step4_update, :step5] }, :resource_type => "ForemanSetup::Provisioner" 29 | end 30 | role "Provisioning setup", [:edit_provisioning] 31 | end 32 | end 33 | 34 | initializer 'foreman_setup.register_gettext', :after => :load_config_initializers do |app| 35 | locale_dir = File.join(File.expand_path('../../..', __FILE__), 'locale') 36 | locale_domain = 'foreman_setup' 37 | Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir 38 | end 39 | end 40 | 41 | def table_name_prefix 42 | 'setup_' 43 | end 44 | 45 | def self.table_name_prefix 46 | 'setup_' 47 | end 48 | 49 | def use_relative_model_naming 50 | true 51 | end 52 | 53 | end 54 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/_step1.html.erb: -------------------------------------------------------------------------------- 1 | 2 | <%= form_for provisioner do |f| %> 3 | <%= base_errors_for provisioner %> 4 | <%= provisioner_wizard 1 %> 5 | 6 |

7 | <%= _("This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified.") %> 8 |

9 | 10 |

<%= _("Pre-requisites") %>

11 |
12 | <%= f.hidden_field :host_id %> 13 | <% if f.object.host.present? %> 14 | <%= icon_text 'ok', _("Found registered host %s") % f.object.host.name, :kind => 'pficon' %> 15 | <% else %> 16 | <%= icon_text 'error-circle-o', _("Missing registered host %s, please ensure it is checking in") % f.object.fqdn, :kind => 'pficon' %> 17 | <% end %> 18 |
19 |
20 | <%= f.hidden_field :smart_proxy_id %> 21 | <% if f.object.smart_proxy.present? %> 22 | <%= icon_text 'ok', _("Found registered smart proxy %s") % f.object.smart_proxy.name, :kind => 'pficon' %> 23 | <% else %> 24 | <%= icon_text 'error-circle-o', _("Missing registered smart proxy %s, please ensure it is registered") % f.object.fqdn, :kind => 'pficon' %> 25 | <% end %> 26 |
27 |
28 | <% if f.object.host.present? && f.object.interfaces.any? %> 29 | <%= icon_text 'ok', _("Host %s has at least one network interface") % f.object.host.name, :kind => 'pficon' %> 30 | <% else %> 31 | <%= icon_text 'error-circle-o', _("No network interfaces listed in $interfaces fact"), :kind => 'pficon' %> 32 | <% end %> 33 |
34 | 35 |

<%= _("Network selection") %>

36 |
37 | <% if f.object.host.present? && f.object.interfaces.any? %> 38 | <%= selectable_f f, :provision_interface, f.object.interfaces.map { |i| ["#{i[1][:cidr]} (#{i[0]})", i[0]] }, {}, :label => _("Provisioning network") %> 39 | <% else %> 40 | <%= _("Not available until pre-requisites satisified.") %> 41 | <% end %> 42 |
43 | 44 | <%= submit_or_cancel f, false, {:cancel_path => foreman_setup_provisioners_path, :disabled => !(f.object.host.present? && f.object.smart_proxy.present?)} %> 45 | <% end %> 46 | -------------------------------------------------------------------------------- /locale/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Makefile for PO merging and MO generation. More info in the README. 3 | # 4 | # make all-mo (default) - generate MO files 5 | # make check - check translations using translate-tool 6 | # make tx-update - download and merge translations from Transifex 7 | # make clean - clean everything 8 | # 9 | DOMAIN = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).name') 10 | VERSION = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).version') 11 | POTFILE = $(DOMAIN).pot 12 | MOFILE = $(DOMAIN).mo 13 | POFILES = $(shell find . -name '$(DOMAIN).po') 14 | MOFILES = $(patsubst %.po,%.mo,$(POFILES)) 15 | POXFILES = $(patsubst %.po,%.pox,$(POFILES)) 16 | EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES)) 17 | 18 | %.mo: %.po 19 | mkdir -p $(shell dirname $@)/LC_MESSAGES 20 | msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $< 21 | 22 | # Generate MO files from PO files 23 | all-mo: $(MOFILES) 24 | 25 | # Check for malformed strings 26 | %.pox: %.po 27 | msgfmt -c $< 28 | pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \ 29 | -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@ 30 | cat $@ 31 | ! grep -q msgid $@ 32 | 33 | %.edit.po: 34 | touch $@ 35 | 36 | check: $(POXFILES) 37 | 38 | # Unify duplicate translations 39 | uniq-po: 40 | for f in $(shell find ./ -name "*.po") ; do \ 41 | msguniq $$f -o $$f ; \ 42 | done 43 | 44 | tx-new: 45 | tx pull --minimum-perc 50 --all 46 | 47 | tx-pull: tx-new $(EDITFILES) 48 | tx pull -f 49 | for f in $(EDITFILES) ; do \ 50 | sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \ 51 | done 52 | 53 | tx-update: tx-pull 54 | @echo 55 | @echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation, then make -C locale mo-files to finish 56 | @echo 57 | 58 | mo-files: $(MOFILES) 59 | git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES 60 | [[ ! -f locale/action_names.rb ]] || git add locale/action_names.rb 61 | git commit -m "i18n - pulling from tx" 62 | @echo 63 | @echo Changes commited! 64 | @echo 65 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/_step4.html.erb: -------------------------------------------------------------------------------- 1 | <%= javascript_tag do %> 2 | function setup_media_change(ele) { 3 | if ($(ele).val() == 'spacewalk') { 4 | $('[id$="medium_path"]').prop('disabled', true) 5 | $('#spacewalk_hostname').prop('disabled', false) 6 | } else { 7 | $('#spacewalk_hostname').prop('disabled', true) 8 | $('[id$="medium_path"]').prop('disabled', false) 9 | } 10 | } 11 | 12 | function setup_media_create_change(ele) { 13 | $('[id$="medium_id"]').val('') 14 | } 15 | <% end %> 16 | 17 | <%= form_for provisioner, :url => step4_update_foreman_setup_provisioner_path, :method => 'PUT' do |f| %> 18 | <%= base_errors_for provisioner %> 19 | <%= provisioner_wizard 4 %> 20 | 21 |

22 | <%= _("Some information about the location of installation media for the operating system used for provisioning is now required.") %> 23 |

24 | 25 |

26 | <%= _("If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media.") %> 27 |

28 | 29 |

<%= _("Operating system") %>

30 |

<%= _("The following operating system will be configured for provisioning:") %>

31 | <%= content_tag(:div, :style => 'margin-left: 20px; margin-bottom: 30px;') { (icon(f.object.host.os, :size => "18x18") + " #{f.object.host.os}").html_safe } %> 32 | 33 |
<%= _("Use an existing installation medium") %>
34 | <%= f.fields_for :hostgroup do |hgf| %> 35 | <%= select_f hgf, :medium_id, Medium.all, :id, :name, {:include_blank => true}, {:label => _("Existing medium")} %> 36 | <% end %> 37 | 38 |
<%= _("Create new installation medium") %>
39 | <%= f.fields_for :create_medium, @medium do |mf| %> 40 | <%= text_f mf, :name, :onchange => 'setup_media_create_change(this)' %> 41 | <%= text_f mf, :path, :label => _("Path or URL") %> 42 | <% end %> 43 | 44 | <%= submit_or_cancel f, false, {:cancel_path => foreman_setup_provisioners_path, :disabled => !(f.object.host.present? && f.object.smart_proxy.present?)} %> 45 | <% end %> 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | 3 | Setting up Foreman for provisioning can be daunting at first, as there are 4 | lots of parameters to configure DHCP and DNS for the installer, plus for setup 5 | of subnets, domains, installation media etc for Foreman. 6 | 7 | # Installation 8 | 9 | Please see the Foreman wiki for appropriate instructions: 10 | 11 | * [Foreman: How to Install a Plugin](http://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Plugin) 12 | 13 | The gem name is "foreman_setup". Run `foreman-rake db:migrate` after 14 | installation. 15 | 16 | RPM users can install the "tfm-rubygem-foreman_setup" or 17 | "rubygem-foreman_setup" packages. 18 | 19 | ## Compatibility 20 | 21 | | Foreman Version | Plugin Version | 22 | | --------------- | --------------:| 23 | | <= 1.4 | ~> 1.0 | 24 | | >= 1.5 | ~> 2.0 | 25 | | >= 1.9 | ~> 3.0 | 26 | | >= 1.12 | ~> 4.0 | 27 | | >= 1.13 | ~> 5.0 | 28 | | >= 1.17 | ~> 6.0 | 29 | | >= 1.22 | ~> 7.0 | 30 | | >= 3.2 | ~> 8.0 | 31 | 32 | # Areas this should help 33 | 34 | * take input of subnet and domain information 35 | * output foreman-installer command with appropriate DHCP, DNS and TFTP parameters 36 | * add foreman-installer modules to the Foreman host with appropriate parameters 37 | * create a host group with appropriate parameters 38 | * create hosts (proxies/nodes) using created host groups 39 | * ensure provided templates and OSes are fully associated 40 | * default templates should be properly associated in core 41 | * when using Katello, its Foreman plugin helps associate 42 | * add appropriate installation media 43 | * add appropriate Spacewalk/redhat_register parameters 44 | 45 | # Copyright 46 | 47 | Copyright (c) 2013 Red Hat Inc. 48 | 49 | This program is free software: you can redistribute it and/or modify 50 | it under the terms of the GNU General Public License as published by 51 | the Free Software Foundation, either version 3 of the License, or 52 | (at your option) any later version. 53 | 54 | This program is distributed in the hope that it will be useful, 55 | but WITHOUT ANY WARRANTY; without even the implied warranty of 56 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 57 | GNU General Public License for more details. 58 | 59 | You should have received a copy of the GNU General Public License 60 | along with this program. If not, see . 61 | -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## v8.0.0 4 | * release for Foreman 3.2 or newer 5 | 6 | ## v7.0.0 7 | * release for Foreman 1.22 or newer 8 | 9 | ## v6.0.0 10 | * fix Foreman 1.17 compatibility with Rails 5 11 | 12 | ## v5.0.1 13 | * use case-insensitive OS family comparisons 14 | * change Katello installer commands 15 | 16 | ## v5.0.0 17 | * fix Foreman 1.13 compatibility with parameter filtering 18 | 19 | ## v4.0.0 20 | * fix Foreman 1.12 compatibility with icons, CSS, template rendering etc. 21 | * fix empty DHCP range in installer arguments if left blank 22 | * remove Spacewalk functionality 23 | 24 | ## v3.1.1 25 | * update DB migration limits for Rails 4.2 change 26 | * fix Rails 4.2 routing deprecation 27 | * fix Foreman 1.11 registration deprecation 28 | * fix tests against develop, catch test errors 29 | 30 | ## v3.1.0 31 | * add Catalan language, update translations 32 | * fix compatibility with Rails 4 for Foreman 1.11 33 | * add tests 34 | 35 | ## v3.0.2 36 | * fix missing hyphens in installer arguments (#11399) 37 | 38 | ## v3.0.1 39 | * remove dashboard button, use the menu instead 40 | * remove unused deface dependency 41 | * fix missing false.png image (#11115) 42 | 43 | ## v3.0.0 44 | * show katello-installer commands if Katello is loaded 45 | * fix Foreman 1.9 compatibility due to template changes 46 | * this version (3.x) drops support for Foreman 1.8 and earlier 47 | 48 | ## v2.1.1 49 | * fix kickstart template name for RHEL (#8452) 50 | 51 | ## v2.1.0 52 | * i18n support (French and Spanish complete) 53 | 54 | ## v2.0.4 55 | * use foreman_url from settings, not browser URL for installer base URL 56 | * associate finish templates 57 | * remove JavaScript assets (#12) 58 | 59 | ## v2.0.3 60 | * fix Facter 2 compatibility 61 | 62 | ## v2.0.2 63 | * remove obsolete menu extension, causing warnings 64 | 65 | ## v2.0.1 66 | * add support for precompiling JavaScript assets 67 | 68 | ## v2.0.0 69 | * add support for Foreman 1.5 auth system (#4538) 70 | * this version (2.x) drops support for Foreman 1.4 and earlier 71 | * update menu references for Foreman 1.4 (Jean-Baptiste Rouault) 72 | 73 | ## v1.0.4 74 | * further Foreman 1.4 fixes, template renames and CSS 75 | 76 | ## v1.0.3 77 | * fix Foreman 1.4 compatibility 78 | * add basic role and permission under Foreman 1.4 79 | 80 | ## v1.0.2 81 | * fix Ruby 1.8 compatibility (Yamakasi) 82 | 83 | ## v1.0.1 84 | * fix architecture assignment in host group 85 | * fix template search under PostgreSQL 86 | 87 | ## v1.0.0 88 | * initial release 89 | -------------------------------------------------------------------------------- /app/models/foreman_setup/provisioner.rb: -------------------------------------------------------------------------------- 1 | require 'ipaddr' 2 | 3 | module ForemanSetup 4 | class Provisioner < ApplicationRecord 5 | include ::Authorizable 6 | 7 | before_save :populate_hostgroup 8 | 9 | belongs_to_host 10 | belongs_to :domain 11 | belongs_to :hostgroup, :autosave => true 12 | belongs_to :smart_proxy 13 | belongs_to :subnet 14 | has_one :architecture, :through => :host 15 | has_one :medium, :through => :hostgroup 16 | has_one :operatingsystem, :through => :host 17 | 18 | accepts_nested_attributes_for :hostgroup 19 | # TODO: further validation on the subnet's (usually optional) attributes 20 | accepts_nested_attributes_for :subnet 21 | 22 | validates :host_id, :presence => true, :uniqueness => true 23 | validates :smart_proxy_id, :presence => true 24 | 25 | def to_s 26 | host.try(:to_s) 27 | end 28 | 29 | def fqdn 30 | Facter.value(:fqdn) 31 | end 32 | 33 | def interfaces 34 | facts = host.facts_hash 35 | (facts['interfaces'] || '').split(',').reject { |i| i == 'lo' }.inject({}) do |ifaces,i| 36 | ip = facts["ipaddress_#{i}"] 37 | network = facts["network_#{i}"] 38 | netmask = facts["netmask_#{i}"] 39 | if ip && network && netmask 40 | cidr = "#{network}/#{IPAddr.new(netmask).to_i.to_s(2).count("1")}" 41 | ifaces[i] = {:ip => ip, :mask => netmask, :network => network, :cidr => cidr} 42 | end 43 | ifaces 44 | end 45 | end 46 | 47 | def provision_interface_data 48 | interfaces[provision_interface] 49 | end 50 | 51 | def rdns_zone 52 | netmask_octets = subnet.mask.split('.').reverse 53 | subnet.network.split('.').reverse.drop_while { |i| netmask_octets.shift == '0' }.join('.') + '.in-addr.arpa' 54 | end 55 | 56 | def dns_forwarders 57 | File.open('/etc/resolv.conf', 'r').each_line.map do |r| 58 | $1 if r =~ /^nameserver\s+(\S+)/ 59 | end.compact 60 | end 61 | 62 | private 63 | 64 | # Ensures our nested hostgroup has as much data as possible 65 | def populate_hostgroup 66 | return unless hostgroup.present? 67 | 68 | hostgroup.architecture_id ||= architecture.id 69 | hostgroup.domain_id ||= domain.id 70 | hostgroup.operatingsystem_id ||= operatingsystem.id 71 | hostgroup.puppet_ca_proxy_id = smart_proxy.id if smart_proxy.features.include? Feature.find_by_name('Puppet CA') 72 | hostgroup.puppet_proxy_id = smart_proxy.id if smart_proxy.features.include? Feature.find_by_name('Puppet') 73 | hostgroup.subnet_id ||= subnet.id 74 | end 75 | 76 | end 77 | end 78 | -------------------------------------------------------------------------------- /app/views/foreman_setup/provisioners/_step3.html.erb: -------------------------------------------------------------------------------- 1 | 2 |
3 | <%= provisioner_wizard 3 %> 4 | 5 |

6 | <%= _("All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning.") %> 7 |

8 | 9 |

<%= _("Install provisioning with DHCP") %>

10 |
11 |
12 | foreman-installer \
13 |   --enable-foreman-proxy \
14 |   --foreman-proxy-tftp=true \
15 |   --foreman-proxy-tftp-servername=<%= provisioner.provision_interface_data[:ip] %> \
16 |   --foreman-proxy-dhcp=true \
17 |   --foreman-proxy-dhcp-interface=<%= provisioner.provision_interface %> \
18 |   --foreman-proxy-dhcp-gateway=<%= provisioner.subnet.gateway %> \
19 | <% if provisioner.subnet.from.present? && provisioner.subnet.to.present? %>
20 |   --foreman-proxy-dhcp-range="<%= provisioner.subnet.from %> <%= provisioner.subnet.to %>" \
21 | <% end %>
22 |   --foreman-proxy-dhcp-nameservers="<%= provisioner.subnet.dns_primary %><%= ("," + provisioner.subnet.dns_secondary) unless provisioner.subnet.dns_secondary.blank? %>" \
23 |   --foreman-proxy-dns=true \
24 |   --foreman-proxy-dns-interface=<%= provisioner.provision_interface %> \
25 |   --foreman-proxy-dns-zone=<%= provisioner.domain.name %> \
26 |   --foreman-proxy-dns-reverse=<%= provisioner.rdns_zone %> \
27 | <%= provisioner.dns_forwarders.map { |f| "  --foreman-proxy-dns-forwarders=#{f} \\" }.join("\n") %>
28 | <% if defined? Katello %>
29 |   --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
30 |   --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
31 | <% else %>
32 |   --foreman-proxy-foreman-base-url=<%= Setting[:foreman_url] %> \
33 |   --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
34 |   --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
35 | <% end %>
36 | 
37 |
38 | 39 |

<%= _("Install provisioning without DHCP") %>

40 |
41 |
42 | foreman-installer \
43 |   --enable-foreman-proxy \
44 |   --foreman-proxy-tftp=true \
45 |   --foreman-proxy-tftp-servername=<%= provisioner.provision_interface_data[:ip] %> \
46 |   --foreman-proxy-dns=true \
47 |   --foreman-proxy-dns-interface=<%= provisioner.provision_interface %> \
48 |   --foreman-proxy-dns-zone=<%= provisioner.domain.name %> \
49 |   --foreman-proxy-dns-reverse=<%= provisioner.rdns_zone %> \
50 | <%= provisioner.dns_forwarders.map { |f| "  --foreman-proxy-dns-forwarders=#{f} \\" }.join("\n") %>
51 | <% if defined? Katello %>
52 |   --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
53 |   --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
54 | <% else %>
55 |   --foreman-proxy-foreman-base-url=<%= Setting[:foreman_url] %> \
56 |   --foreman-proxy-oauth-consumer-key=<%= Setting[:oauth_consumer_key] %> \
57 |   --foreman-proxy-oauth-consumer-secret=<%= Setting[:oauth_consumer_secret] %>
58 | <% end %>
59 | 
60 |
61 | 62 | <%= 63 | content_tag(:div, :class => "form-actions") do 64 | content_tag(:div) do 65 | link_to(_("Next"), step4_foreman_setup_provisioner_path, :class => "btn btn-primary", :method => :post) 66 | end 67 | end 68 | %> 69 | 70 |
71 | -------------------------------------------------------------------------------- /locale/en/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | msgid "" 6 | msgstr "" 7 | "Project-Id-Version: foreman_setup 8.0.1\n" 8 | "Report-Msgid-Bugs-To: \n" 9 | "PO-Revision-Date: 2014-08-20 09:27+0100\n" 10 | "Last-Translator: Dominic Cleal \n" 11 | "Language-Team: Foreman Team \n" 12 | "Language: \n" 13 | "MIME-Version: 1.0\n" 14 | "Content-Type: text/plain; charset=UTF-8\n" 15 | "Content-Transfer-Encoding: 8bit\n" 16 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 | 18 | msgid "Activation key" 19 | msgstr "" 20 | 21 | msgid "Activation key configuration" 22 | msgstr "" 23 | 24 | msgid "Add and manage compute resources (virtualization and cloud)" 25 | msgstr "" 26 | 27 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 28 | msgstr "" 29 | 30 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 31 | msgstr "" 32 | 33 | msgid "Completion" 34 | msgstr "" 35 | 36 | msgid "Compute Resources" 37 | msgstr "" 38 | 39 | msgid "Create and provision a new host" 40 | msgstr "" 41 | 42 | msgid "Create new installation medium" 43 | msgstr "" 44 | 45 | msgid "Delete %s?" 46 | msgstr "" 47 | 48 | msgid "Domain" 49 | msgstr "" 50 | 51 | msgid "Domain|Name" 52 | msgstr "" 53 | 54 | msgid "Edit Host Group" 55 | msgstr "" 56 | 57 | msgid "Existing medium" 58 | msgstr "" 59 | 60 | msgid "Foreman installer" 61 | msgstr "" 62 | 63 | msgid "Found registered host %s" 64 | msgstr "" 65 | 66 | msgid "Found registered smart proxy %s" 67 | msgstr "" 68 | 69 | msgid "Host %s has at least one network interface" 70 | msgstr "" 71 | 72 | msgid "Hostname" 73 | msgstr "" 74 | 75 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 76 | msgstr "" 77 | 78 | msgid "Install provisioning with DHCP" 79 | msgstr "" 80 | 81 | msgid "Install provisioning without DHCP" 82 | msgstr "" 83 | 84 | msgid "Installation media" 85 | msgstr "" 86 | 87 | msgid "Missing registered host %s, please ensure it is checking in" 88 | msgstr "" 89 | 90 | msgid "Missing registered smart proxy %s, please ensure it is registered" 91 | msgstr "" 92 | 93 | msgid "Network config" 94 | msgstr "" 95 | 96 | msgid "Network selection" 97 | msgstr "" 98 | 99 | msgid "New Host" 100 | msgstr "" 101 | 102 | msgid "Next" 103 | msgstr "" 104 | 105 | msgid "Next steps" 106 | msgstr "" 107 | 108 | msgid "No network interfaces listed in $interfaces fact" 109 | msgstr "" 110 | 111 | msgid "Normal installation media" 112 | msgstr "" 113 | 114 | msgid "Not available until pre-requisites satisified." 115 | msgstr "" 116 | 117 | msgid "Operating system" 118 | msgstr "" 119 | 120 | msgid "Path or URL" 121 | msgstr "" 122 | 123 | msgid "Plugin for Foreman that helps set up provisioning." 124 | msgstr "" 125 | 126 | msgid "Pre-requisites" 127 | msgstr "" 128 | 129 | msgid "Provision from %s" 130 | msgstr "" 131 | 132 | msgid "Provisioning Setup" 133 | msgstr "" 134 | 135 | msgid "Provisioning host" 136 | msgstr "" 137 | 138 | msgid "Provisioning network" 139 | msgstr "" 140 | 141 | msgid "Provisioning setup" 142 | msgstr "" 143 | 144 | msgid "Provisioning setup complete" 145 | msgstr "" 146 | 147 | msgid "Red Hat Satellite 5 or Spacewalk" 148 | msgstr "" 149 | 150 | msgid "Return to the main provisioning setup page" 151 | msgstr "" 152 | 153 | msgid "Review and edit the host group set up by the provisioning wizard" 154 | msgstr "" 155 | 156 | msgid "Set up provisioning" 157 | msgstr "" 158 | 159 | msgid "Smart proxy" 160 | msgstr "" 161 | 162 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 163 | msgstr "" 164 | 165 | msgid "Spacewalk hostname is missing" 166 | msgstr "" 167 | 168 | msgid "Subnet" 169 | msgstr "" 170 | 171 | msgid "Successfully associated OS %s." 172 | msgstr "" 173 | 174 | msgid "Successfully updated subnet %s." 175 | msgstr "" 176 | 177 | msgid "The DNS domain name to provision hosts into" 178 | msgstr "" 179 | 180 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 181 | msgstr "" 182 | 183 | msgid "The following operating system will be configured for provisioning:" 184 | msgstr "" 185 | 186 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 187 | msgstr "" 188 | 189 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 190 | msgstr "" 191 | 192 | msgid "Type" 193 | msgstr "" 194 | 195 | msgid "Use an existing installation medium" 196 | msgstr "" 197 | 198 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 199 | msgstr "" 200 | -------------------------------------------------------------------------------- /locale/foreman_setup.pot: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | #, fuzzy 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: version 0.0.1\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2014-08-20 09:25+0100\n" 11 | "PO-Revision-Date: 2014-02-13 12:09+0000\n" 12 | "Last-Translator: Dominic Cleal \n" 13 | "Language-Team: Foreman Team \n" 14 | "Language: \n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 19 | 20 | msgid "Activation key" 21 | msgstr "" 22 | 23 | msgid "Activation key configuration" 24 | msgstr "" 25 | 26 | msgid "Add and manage compute resources (virtualization and cloud)" 27 | msgstr "" 28 | 29 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 30 | msgstr "" 31 | 32 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 33 | msgstr "" 34 | 35 | msgid "Completion" 36 | msgstr "" 37 | 38 | msgid "Compute Resources" 39 | msgstr "" 40 | 41 | msgid "Create and provision a new host" 42 | msgstr "" 43 | 44 | msgid "Create new installation medium" 45 | msgstr "" 46 | 47 | msgid "Delete %s?" 48 | msgstr "" 49 | 50 | msgid "Domain" 51 | msgstr "" 52 | 53 | msgid "Domain|Name" 54 | msgstr "" 55 | 56 | msgid "Edit Host Group" 57 | msgstr "" 58 | 59 | msgid "Existing medium" 60 | msgstr "" 61 | 62 | msgid "Foreman installer" 63 | msgstr "" 64 | 65 | msgid "Found registered host %s" 66 | msgstr "" 67 | 68 | msgid "Found registered smart proxy %s" 69 | msgstr "" 70 | 71 | msgid "Host %s has at least one network interface" 72 | msgstr "" 73 | 74 | msgid "Hostname" 75 | msgstr "" 76 | 77 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 78 | msgstr "" 79 | 80 | msgid "Install provisioning with DHCP" 81 | msgstr "" 82 | 83 | msgid "Install provisioning without DHCP" 84 | msgstr "" 85 | 86 | msgid "Installation media" 87 | msgstr "" 88 | 89 | msgid "Missing registered host %s, please ensure it is checking in" 90 | msgstr "" 91 | 92 | msgid "Missing registered smart proxy %s, please ensure it is registered" 93 | msgstr "" 94 | 95 | msgid "Network config" 96 | msgstr "" 97 | 98 | msgid "Network selection" 99 | msgstr "" 100 | 101 | msgid "New Host" 102 | msgstr "" 103 | 104 | msgid "Next" 105 | msgstr "" 106 | 107 | msgid "Next steps" 108 | msgstr "" 109 | 110 | msgid "No network interfaces listed in $interfaces fact" 111 | msgstr "" 112 | 113 | msgid "Normal installation media" 114 | msgstr "" 115 | 116 | msgid "Not available until pre-requisites satisified." 117 | msgstr "" 118 | 119 | msgid "Operating system" 120 | msgstr "" 121 | 122 | msgid "Path or URL" 123 | msgstr "" 124 | 125 | msgid "Plugin for Foreman that helps set up provisioning." 126 | msgstr "" 127 | 128 | msgid "Pre-requisites" 129 | msgstr "" 130 | 131 | msgid "Provision from %s" 132 | msgstr "" 133 | 134 | msgid "Provisioning Setup" 135 | msgstr "" 136 | 137 | msgid "Provisioning host" 138 | msgstr "" 139 | 140 | msgid "Provisioning network" 141 | msgstr "" 142 | 143 | msgid "Provisioning setup" 144 | msgstr "" 145 | 146 | msgid "Provisioning setup complete" 147 | msgstr "" 148 | 149 | msgid "Red Hat Satellite 5 or Spacewalk" 150 | msgstr "" 151 | 152 | msgid "Return to the main provisioning setup page" 153 | msgstr "" 154 | 155 | msgid "Review and edit the host group set up by the provisioning wizard" 156 | msgstr "" 157 | 158 | msgid "Set up provisioning" 159 | msgstr "" 160 | 161 | msgid "Smart proxy" 162 | msgstr "" 163 | 164 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 165 | msgstr "" 166 | 167 | msgid "Spacewalk hostname is missing" 168 | msgstr "" 169 | 170 | msgid "Subnet" 171 | msgstr "" 172 | 173 | msgid "Successfully associated OS %s." 174 | msgstr "" 175 | 176 | msgid "Successfully updated subnet %s." 177 | msgstr "" 178 | 179 | msgid "The DNS domain name to provision hosts into" 180 | msgstr "" 181 | 182 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 183 | msgstr "" 184 | 185 | msgid "The following operating system will be configured for provisioning:" 186 | msgstr "" 187 | 188 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 189 | msgstr "" 190 | 191 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 192 | msgstr "" 193 | 194 | msgid "Type" 195 | msgstr "" 196 | 197 | msgid "Use an existing installation medium" 198 | msgstr "" 199 | 200 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 201 | msgstr "" 202 | -------------------------------------------------------------------------------- /locale/ko/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: foreman_setup 8.0.1\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 11 | "Last-Translator: Dominic Cleal \n" 12 | "Language-Team: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\n" 13 | "MIME-Version: 1.0\n" 14 | "Content-Type: text/plain; charset=UTF-8\n" 15 | "Content-Transfer-Encoding: 8bit\n" 16 | "Language: ko\n" 17 | "Plural-Forms: nplurals=1; plural=0;\n" 18 | 19 | msgid "Activation key" 20 | msgstr "" 21 | 22 | msgid "Activation key configuration" 23 | msgstr "" 24 | 25 | msgid "Add and manage compute resources (virtualization and cloud)" 26 | msgstr "" 27 | 28 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 29 | msgstr "" 30 | 31 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 32 | msgstr "" 33 | 34 | msgid "Completion" 35 | msgstr "" 36 | 37 | msgid "Compute Resources" 38 | msgstr "컴퓨터 리소스 " 39 | 40 | msgid "Create and provision a new host" 41 | msgstr "" 42 | 43 | msgid "Create new installation medium" 44 | msgstr "" 45 | 46 | msgid "Delete %s?" 47 | msgstr "%s을(를) 삭제하시겠습니까?" 48 | 49 | msgid "Domain" 50 | msgstr "도메인 " 51 | 52 | msgid "Domain|Name" 53 | msgstr "이름 " 54 | 55 | msgid "Edit Host Group" 56 | msgstr "" 57 | 58 | msgid "Existing medium" 59 | msgstr "" 60 | 61 | msgid "Foreman installer" 62 | msgstr "" 63 | 64 | msgid "Found registered host %s" 65 | msgstr "" 66 | 67 | msgid "Found registered smart proxy %s" 68 | msgstr "" 69 | 70 | msgid "Host %s has at least one network interface" 71 | msgstr "" 72 | 73 | msgid "Hostname" 74 | msgstr "호스트 이름 " 75 | 76 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 77 | msgstr "" 78 | 79 | msgid "Install provisioning with DHCP" 80 | msgstr "" 81 | 82 | msgid "Install provisioning without DHCP" 83 | msgstr "" 84 | 85 | msgid "Installation media" 86 | msgstr "설치 미디어 " 87 | 88 | msgid "Missing registered host %s, please ensure it is checking in" 89 | msgstr "" 90 | 91 | msgid "Missing registered smart proxy %s, please ensure it is registered" 92 | msgstr "" 93 | 94 | msgid "Network config" 95 | msgstr "" 96 | 97 | msgid "Network selection" 98 | msgstr "" 99 | 100 | msgid "New Host" 101 | msgstr "새 호스트" 102 | 103 | msgid "Next" 104 | msgstr "다음" 105 | 106 | msgid "Next steps" 107 | msgstr "" 108 | 109 | msgid "No network interfaces listed in $interfaces fact" 110 | msgstr "" 111 | 112 | msgid "Normal installation media" 113 | msgstr "" 114 | 115 | msgid "Not available until pre-requisites satisified." 116 | msgstr "" 117 | 118 | msgid "Operating system" 119 | msgstr "운영 체제 " 120 | 121 | msgid "Path or URL" 122 | msgstr "" 123 | 124 | msgid "Plugin for Foreman that helps set up provisioning." 125 | msgstr "" 126 | 127 | msgid "Pre-requisites" 128 | msgstr "" 129 | 130 | msgid "Provision from %s" 131 | msgstr "" 132 | 133 | msgid "Provisioning Setup" 134 | msgstr "프로비저닝 설정 " 135 | 136 | msgid "Provisioning host" 137 | msgstr "" 138 | 139 | msgid "Provisioning network" 140 | msgstr "" 141 | 142 | msgid "Provisioning setup" 143 | msgstr "" 144 | 145 | msgid "Provisioning setup complete" 146 | msgstr "" 147 | 148 | msgid "Red Hat Satellite 5 or Spacewalk" 149 | msgstr "" 150 | 151 | msgid "Return to the main provisioning setup page" 152 | msgstr "" 153 | 154 | msgid "Review and edit the host group set up by the provisioning wizard" 155 | msgstr "" 156 | 157 | msgid "Set up provisioning" 158 | msgstr "" 159 | 160 | msgid "Smart proxy" 161 | msgstr "스마트 프록시 " 162 | 163 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 164 | msgstr "" 165 | 166 | msgid "Spacewalk hostname is missing" 167 | msgstr "" 168 | 169 | msgid "Subnet" 170 | msgstr "서브넷" 171 | 172 | msgid "Successfully associated OS %s." 173 | msgstr "" 174 | 175 | msgid "Successfully updated subnet %s." 176 | msgstr "" 177 | 178 | msgid "The DNS domain name to provision hosts into" 179 | msgstr "" 180 | 181 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 182 | msgstr "" 183 | 184 | msgid "The following operating system will be configured for provisioning:" 185 | msgstr "" 186 | 187 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 188 | msgstr "" 189 | 190 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 191 | msgstr "" 192 | 193 | msgid "Type" 194 | msgstr "유형" 195 | 196 | msgid "Use an existing installation medium" 197 | msgstr "" 198 | 199 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 200 | msgstr "" 201 | -------------------------------------------------------------------------------- /locale/zh_TW/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: foreman_setup 8.0.1\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 11 | "Last-Translator: Dominic Cleal \n" 12 | "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang" 13 | "uage/zh_TW/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: zh_TW\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | msgid "Activation key" 21 | msgstr "" 22 | 23 | msgid "Activation key configuration" 24 | msgstr "" 25 | 26 | msgid "Add and manage compute resources (virtualization and cloud)" 27 | msgstr "" 28 | 29 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 30 | msgstr "" 31 | 32 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 33 | msgstr "" 34 | 35 | msgid "Completion" 36 | msgstr "" 37 | 38 | msgid "Compute Resources" 39 | msgstr "運算資源" 40 | 41 | msgid "Create and provision a new host" 42 | msgstr "" 43 | 44 | msgid "Create new installation medium" 45 | msgstr "" 46 | 47 | msgid "Delete %s?" 48 | msgstr "是否刪除 %s?" 49 | 50 | msgid "Domain" 51 | msgstr "網域" 52 | 53 | msgid "Domain|Name" 54 | msgstr "名稱" 55 | 56 | msgid "Edit Host Group" 57 | msgstr "" 58 | 59 | msgid "Existing medium" 60 | msgstr "" 61 | 62 | msgid "Foreman installer" 63 | msgstr "" 64 | 65 | msgid "Found registered host %s" 66 | msgstr "" 67 | 68 | msgid "Found registered smart proxy %s" 69 | msgstr "" 70 | 71 | msgid "Host %s has at least one network interface" 72 | msgstr "" 73 | 74 | msgid "Hostname" 75 | msgstr "主機名稱" 76 | 77 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 78 | msgstr "" 79 | 80 | msgid "Install provisioning with DHCP" 81 | msgstr "" 82 | 83 | msgid "Install provisioning without DHCP" 84 | msgstr "" 85 | 86 | msgid "Installation media" 87 | msgstr "安裝媒介" 88 | 89 | msgid "Missing registered host %s, please ensure it is checking in" 90 | msgstr "" 91 | 92 | msgid "Missing registered smart proxy %s, please ensure it is registered" 93 | msgstr "" 94 | 95 | msgid "Network config" 96 | msgstr "" 97 | 98 | msgid "Network selection" 99 | msgstr "" 100 | 101 | msgid "New Host" 102 | msgstr "新增主機" 103 | 104 | msgid "Next" 105 | msgstr "下一個" 106 | 107 | msgid "Next steps" 108 | msgstr "" 109 | 110 | msgid "No network interfaces listed in $interfaces fact" 111 | msgstr "" 112 | 113 | msgid "Normal installation media" 114 | msgstr "" 115 | 116 | msgid "Not available until pre-requisites satisified." 117 | msgstr "" 118 | 119 | msgid "Operating system" 120 | msgstr "作業系統" 121 | 122 | msgid "Path or URL" 123 | msgstr "" 124 | 125 | msgid "Plugin for Foreman that helps set up provisioning." 126 | msgstr "" 127 | 128 | msgid "Pre-requisites" 129 | msgstr "" 130 | 131 | msgid "Provision from %s" 132 | msgstr "" 133 | 134 | msgid "Provisioning Setup" 135 | msgstr "佈建設定" 136 | 137 | msgid "Provisioning host" 138 | msgstr "" 139 | 140 | msgid "Provisioning network" 141 | msgstr "" 142 | 143 | msgid "Provisioning setup" 144 | msgstr "" 145 | 146 | msgid "Provisioning setup complete" 147 | msgstr "" 148 | 149 | msgid "Red Hat Satellite 5 or Spacewalk" 150 | msgstr "" 151 | 152 | msgid "Return to the main provisioning setup page" 153 | msgstr "" 154 | 155 | msgid "Review and edit the host group set up by the provisioning wizard" 156 | msgstr "" 157 | 158 | msgid "Set up provisioning" 159 | msgstr "" 160 | 161 | msgid "Smart proxy" 162 | msgstr "智慧協定" 163 | 164 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 165 | msgstr "" 166 | 167 | msgid "Spacewalk hostname is missing" 168 | msgstr "" 169 | 170 | msgid "Subnet" 171 | msgstr "子網路" 172 | 173 | msgid "Successfully associated OS %s." 174 | msgstr "" 175 | 176 | msgid "Successfully updated subnet %s." 177 | msgstr "" 178 | 179 | msgid "The DNS domain name to provision hosts into" 180 | msgstr "" 181 | 182 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 183 | msgstr "" 184 | 185 | msgid "The following operating system will be configured for provisioning:" 186 | msgstr "" 187 | 188 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 189 | msgstr "" 190 | 191 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 192 | msgstr "" 193 | 194 | msgid "Type" 195 | msgstr "類型" 196 | 197 | msgid "Use an existing installation medium" 198 | msgstr "" 199 | 200 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 201 | msgstr "" 202 | -------------------------------------------------------------------------------- /locale/it/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: foreman_setup 8.0.1\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 11 | "Last-Translator: Dominic Cleal \n" 12 | "Language-Team: Italian (http://www.transifex.com/foreman/foreman/language/it/)" 13 | "\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: it\n" 18 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 :" 19 | " 2;\n" 20 | 21 | msgid "Activation key" 22 | msgstr "" 23 | 24 | msgid "Activation key configuration" 25 | msgstr "" 26 | 27 | msgid "Add and manage compute resources (virtualization and cloud)" 28 | msgstr "" 29 | 30 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 31 | msgstr "" 32 | 33 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 34 | msgstr "" 35 | 36 | msgid "Completion" 37 | msgstr "" 38 | 39 | msgid "Compute Resources" 40 | msgstr "Risorse di calcolo" 41 | 42 | msgid "Create and provision a new host" 43 | msgstr "" 44 | 45 | msgid "Create new installation medium" 46 | msgstr "" 47 | 48 | msgid "Delete %s?" 49 | msgstr "Rimuovere %s" 50 | 51 | msgid "Domain" 52 | msgstr "Dominio" 53 | 54 | msgid "Domain|Name" 55 | msgstr "Domain|Nome" 56 | 57 | msgid "Edit Host Group" 58 | msgstr "" 59 | 60 | msgid "Existing medium" 61 | msgstr "" 62 | 63 | msgid "Foreman installer" 64 | msgstr "" 65 | 66 | msgid "Found registered host %s" 67 | msgstr "" 68 | 69 | msgid "Found registered smart proxy %s" 70 | msgstr "" 71 | 72 | msgid "Host %s has at least one network interface" 73 | msgstr "" 74 | 75 | msgid "Hostname" 76 | msgstr "Nome host" 77 | 78 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 79 | msgstr "" 80 | 81 | msgid "Install provisioning with DHCP" 82 | msgstr "" 83 | 84 | msgid "Install provisioning without DHCP" 85 | msgstr "" 86 | 87 | msgid "Installation media" 88 | msgstr "Dispositivo d'installazione" 89 | 90 | msgid "Missing registered host %s, please ensure it is checking in" 91 | msgstr "" 92 | 93 | msgid "Missing registered smart proxy %s, please ensure it is registered" 94 | msgstr "" 95 | 96 | msgid "Network config" 97 | msgstr "" 98 | 99 | msgid "Network selection" 100 | msgstr "" 101 | 102 | msgid "New Host" 103 | msgstr "Nuovo Host" 104 | 105 | msgid "Next" 106 | msgstr "Successivo" 107 | 108 | msgid "Next steps" 109 | msgstr "" 110 | 111 | msgid "No network interfaces listed in $interfaces fact" 112 | msgstr "" 113 | 114 | msgid "Normal installation media" 115 | msgstr "" 116 | 117 | msgid "Not available until pre-requisites satisified." 118 | msgstr "" 119 | 120 | msgid "Operating system" 121 | msgstr "Sistema operativo" 122 | 123 | msgid "Path or URL" 124 | msgstr "" 125 | 126 | msgid "Plugin for Foreman that helps set up provisioning." 127 | msgstr "" 128 | 129 | msgid "Pre-requisites" 130 | msgstr "" 131 | 132 | msgid "Provision from %s" 133 | msgstr "" 134 | 135 | msgid "Provisioning Setup" 136 | msgstr "Impostazione per il provisioning" 137 | 138 | msgid "Provisioning host" 139 | msgstr "" 140 | 141 | msgid "Provisioning network" 142 | msgstr "" 143 | 144 | msgid "Provisioning setup" 145 | msgstr "" 146 | 147 | msgid "Provisioning setup complete" 148 | msgstr "" 149 | 150 | msgid "Red Hat Satellite 5 or Spacewalk" 151 | msgstr "" 152 | 153 | msgid "Return to the main provisioning setup page" 154 | msgstr "" 155 | 156 | msgid "Review and edit the host group set up by the provisioning wizard" 157 | msgstr "" 158 | 159 | msgid "Set up provisioning" 160 | msgstr "" 161 | 162 | msgid "Smart proxy" 163 | msgstr "Smart proxy" 164 | 165 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 166 | msgstr "" 167 | 168 | msgid "Spacewalk hostname is missing" 169 | msgstr "" 170 | 171 | msgid "Subnet" 172 | msgstr "Sottorete" 173 | 174 | msgid "Successfully associated OS %s." 175 | msgstr "" 176 | 177 | msgid "Successfully updated subnet %s." 178 | msgstr "" 179 | 180 | msgid "The DNS domain name to provision hosts into" 181 | msgstr "" 182 | 183 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 184 | msgstr "" 185 | 186 | msgid "The following operating system will be configured for provisioning:" 187 | msgstr "" 188 | 189 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 190 | msgstr "" 191 | 192 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 193 | msgstr "" 194 | 195 | msgid "Type" 196 | msgstr "Tipo" 197 | 198 | msgid "Use an existing installation medium" 199 | msgstr "" 200 | 201 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 202 | msgstr "" 203 | -------------------------------------------------------------------------------- /locale/sv_SE/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # johnny.westerlund , 2014 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: foreman_setup 8.0.1\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 12 | "Last-Translator: johnny.westerlund , 2014\n" 13 | "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang" 14 | "uage/sv_SE/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: sv_SE\n" 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 | 21 | msgid "Activation key" 22 | msgstr "Aktiveringsnyckel" 23 | 24 | msgid "Activation key configuration" 25 | msgstr "Konfiguration för aktiveringsnyckel" 26 | 27 | msgid "Add and manage compute resources (virtualization and cloud)" 28 | msgstr "Addera och hantera beräkningsresurser (virtualisering och måln)" 29 | 30 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 31 | msgstr "Alla nödvändiga komponenter har konfigurerats för att möjliggöra provisionering. Du kan nu provisionera nya värdar genom att registrera dom från Värd-sidan, för att efter PXE-starta servern på det konfigurerade subnätet." 32 | 33 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 34 | msgstr "" 35 | 36 | msgid "Completion" 37 | msgstr "" 38 | 39 | msgid "Compute Resources" 40 | msgstr "Beräkningsresurser" 41 | 42 | msgid "Create and provision a new host" 43 | msgstr "" 44 | 45 | msgid "Create new installation medium" 46 | msgstr "" 47 | 48 | msgid "Delete %s?" 49 | msgstr "Radera %s" 50 | 51 | msgid "Domain" 52 | msgstr "Domän" 53 | 54 | msgid "Domain|Name" 55 | msgstr "Namn" 56 | 57 | msgid "Edit Host Group" 58 | msgstr "" 59 | 60 | msgid "Existing medium" 61 | msgstr "" 62 | 63 | msgid "Foreman installer" 64 | msgstr "" 65 | 66 | msgid "Found registered host %s" 67 | msgstr "" 68 | 69 | msgid "Found registered smart proxy %s" 70 | msgstr "" 71 | 72 | msgid "Host %s has at least one network interface" 73 | msgstr "" 74 | 75 | msgid "Hostname" 76 | msgstr "" 77 | 78 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 79 | msgstr "" 80 | 81 | msgid "Install provisioning with DHCP" 82 | msgstr "" 83 | 84 | msgid "Install provisioning without DHCP" 85 | msgstr "" 86 | 87 | msgid "Installation media" 88 | msgstr "Installationsmedia" 89 | 90 | msgid "Missing registered host %s, please ensure it is checking in" 91 | msgstr "" 92 | 93 | msgid "Missing registered smart proxy %s, please ensure it is registered" 94 | msgstr "" 95 | 96 | msgid "Network config" 97 | msgstr "" 98 | 99 | msgid "Network selection" 100 | msgstr "" 101 | 102 | msgid "New Host" 103 | msgstr "Ny Värd" 104 | 105 | msgid "Next" 106 | msgstr "" 107 | 108 | msgid "Next steps" 109 | msgstr "" 110 | 111 | msgid "No network interfaces listed in $interfaces fact" 112 | msgstr "" 113 | 114 | msgid "Normal installation media" 115 | msgstr "" 116 | 117 | msgid "Not available until pre-requisites satisified." 118 | msgstr "" 119 | 120 | msgid "Operating system" 121 | msgstr "Operativsystem" 122 | 123 | msgid "Path or URL" 124 | msgstr "" 125 | 126 | msgid "Plugin for Foreman that helps set up provisioning." 127 | msgstr "" 128 | 129 | msgid "Pre-requisites" 130 | msgstr "" 131 | 132 | msgid "Provision from %s" 133 | msgstr "" 134 | 135 | msgid "Provisioning Setup" 136 | msgstr "Provisioneringsuppläggning" 137 | 138 | msgid "Provisioning host" 139 | msgstr "" 140 | 141 | msgid "Provisioning network" 142 | msgstr "" 143 | 144 | msgid "Provisioning setup" 145 | msgstr "" 146 | 147 | msgid "Provisioning setup complete" 148 | msgstr "" 149 | 150 | msgid "Red Hat Satellite 5 or Spacewalk" 151 | msgstr "" 152 | 153 | msgid "Return to the main provisioning setup page" 154 | msgstr "" 155 | 156 | msgid "Review and edit the host group set up by the provisioning wizard" 157 | msgstr "" 158 | 159 | msgid "Set up provisioning" 160 | msgstr "" 161 | 162 | msgid "Smart proxy" 163 | msgstr "Smart proxy" 164 | 165 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 166 | msgstr "" 167 | 168 | msgid "Spacewalk hostname is missing" 169 | msgstr "" 170 | 171 | msgid "Subnet" 172 | msgstr "Subnät" 173 | 174 | msgid "Successfully associated OS %s." 175 | msgstr "" 176 | 177 | msgid "Successfully updated subnet %s." 178 | msgstr "" 179 | 180 | msgid "The DNS domain name to provision hosts into" 181 | msgstr "" 182 | 183 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 184 | msgstr "" 185 | 186 | msgid "The following operating system will be configured for provisioning:" 187 | msgstr "" 188 | 189 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 190 | msgstr "" 191 | 192 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 193 | msgstr "" 194 | 195 | msgid "Type" 196 | msgstr "Typ" 197 | 198 | msgid "Use an existing installation medium" 199 | msgstr "" 200 | 201 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 202 | msgstr "" 203 | -------------------------------------------------------------------------------- /test/functional/foreman_setup/provisioners_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_plugin_helper' 2 | 3 | class ForemanSetup::ProvisionersControllerTest < ActionController::TestCase 4 | test '#index without provisioner' do 5 | get :index, session: set_session_user 6 | assert_redirected_to new_foreman_setup_provisioner_path 7 | end 8 | 9 | test '#index with provisioner' do 10 | FactoryBot.create :setup_provisioner 11 | get :index, session: set_session_user 12 | assert_response :success 13 | assert_template 'foreman_setup/provisioners/index' 14 | end 15 | 16 | context 'pre-creation' do 17 | setup do 18 | @host = FactoryBot.create(:host, :domain => FactoryBot.create(:domain)) 19 | Facter.expects(:value).with(:fqdn).returns(@host.name).at_least_once 20 | @proxy = FactoryBot.create(:smart_proxy, :url => "https://#{@host.name}:8443") 21 | end 22 | 23 | test '#new' do 24 | get :new, session: set_session_user 25 | assert_response :success 26 | assert_equal @host, assigns(:host) 27 | assert_equal @proxy, assigns(:proxy) 28 | assert_template 'foreman_setup/provisioners/_step1' 29 | end 30 | 31 | test '#create success' do 32 | post :create, params: { 'foreman_setup_provisioner' => {:host_id => @host.id, :smart_proxy_id => @proxy.id, :provision_interface => 'eth0'} }, session: set_session_user 33 | 34 | prov = ForemanSetup::Provisioner.find_by_host_id(@host.id) 35 | assert prov 36 | as_admin do 37 | assert_equal @host, prov.host 38 | assert_equal @proxy, prov.smart_proxy 39 | assert_equal 'eth0', prov.provision_interface 40 | end 41 | 42 | assert_redirected_to step2_foreman_setup_provisioner_path(prov) 43 | end 44 | 45 | test '#create failure' do 46 | post :create, session: set_session_user 47 | assert_equal @host, assigns(:host) 48 | assert_equal @proxy, assigns(:proxy) 49 | assert_template 'foreman_setup/provisioners/_step1' 50 | end 51 | end 52 | 53 | test '#step2 with new subnet' do 54 | prov = FactoryBot.create(:setup_provisioner, :step1) 55 | get :step2, params: { :id => prov.id }, session: set_session_user 56 | assert_response :success 57 | assert_template 'foreman_setup/provisioners/_step2' 58 | 59 | assert assigns(:provisioner).subnet.new_record? 60 | assert_equal '192.168.1.0', assigns(:provisioner).subnet.network 61 | assert_equal '255.255.255.0', assigns(:provisioner).subnet.mask 62 | assert_equal '192.168.1.20', assigns(:provisioner).subnet.dns_primary 63 | 64 | assert_equal prov.host.domain, assigns(:provisioner).domain 65 | end 66 | 67 | test '#step2_update' do 68 | prov = FactoryBot.create(:setup_provisioner, :step1) 69 | Facter.expects(:value).with(:fqdn).returns(prov.host.name).at_least_once 70 | 71 | put :step2_update, params: { :id => prov.id, 'foreman_setup_provisioner' => {:subnet_attributes => {'name' => 'test', :network => '192.168.1.0', :mask => '255.255.255.0'}, :domain_name => prov.host.domain.name} }, session: set_session_user 72 | assert_redirected_to step3_foreman_setup_provisioner_path(prov) 73 | 74 | as_admin do 75 | prov.reload 76 | 77 | # Check new hg was created 78 | assert Hostgroup.find_by_name("Provision from #{prov.host.name}") 79 | assert prov.hostgroup 80 | 81 | # Check nested subnet was created and saved 82 | subnet = Subnet.find_by_network('192.168.1.0') 83 | assert subnet 84 | assert_equal 'test', subnet.name 85 | assert prov.subnet 86 | 87 | # Check domain was saved 88 | assert_equal prov.host.domain, prov.domain 89 | 90 | # Check domain/subnet association 91 | assert_includes prov.domain.subnets, subnet 92 | end 93 | end 94 | 95 | test '#step3' do 96 | prov = FactoryBot.create(:setup_provisioner, :step2) 97 | get :step3, params: { :id => prov.id }, session: set_session_user 98 | assert_response :success 99 | assert_template 'foreman_setup/provisioners/_step3' 100 | end 101 | 102 | test '#step4' do 103 | prov = FactoryBot.create(:setup_provisioner, :step2) 104 | 105 | SmartProxy.any_instance.expects(:refresh) 106 | prov.smart_proxy.features = Feature.where(:name => ['DNS', 'DHCP', 'TFTP']) 107 | prov.smart_proxy.save! 108 | 109 | ProvisioningTemplate.expects(:build_pxe_default).returns(200, 'Sucess') 110 | 111 | get :step4, params: { :id => prov.id }, session: set_session_user 112 | assert_response :success 113 | assert_template 'foreman_setup/provisioners/_step4' 114 | assert assigns(:medium) 115 | 116 | as_admin do 117 | prov.reload 118 | 119 | # Check proxy feature-based assignments worked 120 | assert_equal prov.smart_proxy.id, prov.subnet.dns_id 121 | # assert_equal prov.smart_proxy.id, prov.domain.dns_id # BUG, not saved 122 | assert_equal prov.smart_proxy.id, prov.subnet.dhcp_id 123 | assert_equal prov.smart_proxy.id, prov.subnet.tftp_id 124 | end 125 | end 126 | 127 | test '#step4_update' do 128 | prov = FactoryBot.create(:setup_provisioner, :step2) 129 | 130 | attrs = { 131 | :hostgroup_attributes => {}, 132 | :create_medium => {:name => 'test', :path => 'http://mirror.example.com'}, 133 | } 134 | put :step4_update, params: { :id => prov.id, 'foreman_setup_provisioner' => attrs }, session: set_session_user 135 | assert_redirected_to step5_foreman_setup_provisioner_path(prov) 136 | 137 | as_admin do 138 | prov.reload 139 | 140 | assert prov.hostgroup.medium 141 | assert_equal 'test', prov.hostgroup.medium.name 142 | assert_equal 'http://mirror.example.com', prov.hostgroup.medium.path 143 | 144 | assert prov.hostgroup.ptable 145 | 146 | # TODO: assert that the OS and templates are all correctly associated 147 | end 148 | end 149 | 150 | test '#step5' do 151 | prov = FactoryBot.create(:setup_provisioner, :step2) 152 | get :step5, params: { :id => prov.id }, session: set_session_user 153 | assert_response :success 154 | assert_template 'foreman_setup/provisioners/_step5' 155 | end 156 | end 157 | -------------------------------------------------------------------------------- /locale/zh_CN/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Xingchao Yu , 2017 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: foreman_setup 8.0.1\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 12 | "Last-Translator: Xingchao Yu , 2017\n" 13 | "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu" 14 | "age/zh_CN/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: zh_CN\n" 19 | "Plural-Forms: nplurals=1; plural=0;\n" 20 | 21 | msgid "Activation key" 22 | msgstr "激活码" 23 | 24 | msgid "Activation key configuration" 25 | msgstr "激活码配置" 26 | 27 | msgid "Add and manage compute resources (virtualization and cloud)" 28 | msgstr "添加和管理计算资源(虚拟化和云)" 29 | 30 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 31 | msgstr "所有必要的组件均已设置为置备支持。现在,您可以通过从 Hosts 页注册新主机来调配新主机,然后在前面设置的子网中 PXE 引导服务器。" 32 | 33 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 34 | msgstr "已收集所有必要的网络信息,现在再次使用必要的参数运行 Foreman 安装程序来配置置备。" 35 | 36 | msgid "Completion" 37 | msgstr "完成" 38 | 39 | msgid "Compute Resources" 40 | msgstr "计算资源" 41 | 42 | msgid "Create and provision a new host" 43 | msgstr "创建并置备一个新主机" 44 | 45 | msgid "Create new installation medium" 46 | msgstr "创建新安装介质" 47 | 48 | msgid "Delete %s?" 49 | msgstr "刪除 %s?" 50 | 51 | msgid "Domain" 52 | msgstr "域" 53 | 54 | msgid "Domain|Name" 55 | msgstr "名称" 56 | 57 | msgid "Edit Host Group" 58 | msgstr "编辑主机组" 59 | 60 | msgid "Existing medium" 61 | msgstr "现有介质" 62 | 63 | msgid "Foreman installer" 64 | msgstr "Foreman 安装程序" 65 | 66 | msgid "Found registered host %s" 67 | msgstr "找到注册的主机 %s" 68 | 69 | msgid "Found registered smart proxy %s" 70 | msgstr "找到注册的智能代理 %s" 71 | 72 | msgid "Host %s has at least one network interface" 73 | msgstr "主机 %s 至少有一个网络接口" 74 | 75 | msgid "Hostname" 76 | msgstr "主机名" 77 | 78 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 79 | msgstr "如果已经设置了安装介质,则可以在下面选择它,向导将完成所需的关联。如果还没有设置,使用下面的字段或 Foreman 中的安装介质页面来添加新介质。" 80 | 81 | msgid "Install provisioning with DHCP" 82 | msgstr "使用 DHCP 进行安装置备" 83 | 84 | msgid "Install provisioning without DHCP" 85 | msgstr "不使用 DHCP 进行安装置备" 86 | 87 | msgid "Installation media" 88 | msgstr "安裝媒介" 89 | 90 | msgid "Missing registered host %s, please ensure it is checking in" 91 | msgstr "缺少注册主机 %s,请确保正在签入" 92 | 93 | msgid "Missing registered smart proxy %s, please ensure it is registered" 94 | msgstr "缺少注册的智能代理 %s,请确保它已注册" 95 | 96 | msgid "Network config" 97 | msgstr "网络配置" 98 | 99 | msgid "Network selection" 100 | msgstr "网络选择" 101 | 102 | msgid "New Host" 103 | msgstr "新主机" 104 | 105 | msgid "Next" 106 | msgstr "下一个" 107 | 108 | msgid "Next steps" 109 | msgstr "下一步" 110 | 111 | msgid "No network interfaces listed in $interfaces fact" 112 | msgstr "$interfaces 事实中没有列出的网络接口" 113 | 114 | msgid "Normal installation media" 115 | msgstr "普通安装介质" 116 | 117 | msgid "Not available until pre-requisites satisified." 118 | msgstr "在先决条件满足前不可用。" 119 | 120 | msgid "Operating system" 121 | msgstr "操作系统" 122 | 123 | msgid "Path or URL" 124 | msgstr "路径或 URL" 125 | 126 | msgid "Plugin for Foreman that helps set up provisioning." 127 | msgstr "Foreman 插件帮助设置置备。" 128 | 129 | msgid "Pre-requisites" 130 | msgstr "先决条件" 131 | 132 | msgid "Provision from %s" 133 | msgstr "从 %s 置备" 134 | 135 | msgid "Provisioning Setup" 136 | msgstr "置备设置" 137 | 138 | msgid "Provisioning host" 139 | msgstr "置备主机" 140 | 141 | msgid "Provisioning network" 142 | msgstr "置备网络" 143 | 144 | msgid "Provisioning setup" 145 | msgstr "置备设置" 146 | 147 | msgid "Provisioning setup complete" 148 | msgstr "置备设置完成" 149 | 150 | msgid "Red Hat Satellite 5 or Spacewalk" 151 | msgstr "Red Hat Satellite 5 或 Spacewalk" 152 | 153 | msgid "Return to the main provisioning setup page" 154 | msgstr "返回到主置备设置页面" 155 | 156 | msgid "Review and edit the host group set up by the provisioning wizard" 157 | msgstr "检查并编辑由置备向导设置的主机组" 158 | 159 | msgid "Set up provisioning" 160 | msgstr "设置置备" 161 | 162 | msgid "Smart proxy" 163 | msgstr "智能代理" 164 | 165 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 166 | msgstr "现在,需要提供有关用于置备的操作系统安装介质位置的一些信息。" 167 | 168 | msgid "Spacewalk hostname is missing" 169 | msgstr "缺少 spacewalk 主机名" 170 | 171 | msgid "Subnet" 172 | msgstr "子网" 173 | 174 | msgid "Successfully associated OS %s." 175 | msgstr "成功关联操作系统 %s。" 176 | 177 | msgid "Successfully updated subnet %s." 178 | msgstr "成功更新子网 %s。" 179 | 180 | msgid "The DNS domain name to provision hosts into" 181 | msgstr "用于将主机置备到的 DNS 域名" 182 | 183 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 184 | msgstr "设置的配置都可在 Infrastructure 菜单下访问,如 Infrastructure > Subnets,且可以在 Web 界面中更改。您可以通过 Infrastructure> Provisioning Setup 返回到此设置过程来更改设置或添加新调配功能。" 185 | 186 | msgid "The following operating system will be configured for provisioning:" 187 | msgstr "配置以下操作系统用于置备:" 188 | 189 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 190 | msgstr "此向导将协助为完整的主机调配设置 Foreman。开始之前,将验证一些要求。" 191 | 192 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 193 | msgstr "若要调配主机,需要一些配置值才能使调配子网与 Foreman 服务器连接。" 194 | 195 | msgid "Type" 196 | msgstr "类型" 197 | 198 | msgid "Use an existing installation medium" 199 | msgstr "使用现有安装介质" 200 | 201 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 202 | msgstr "Spacewalk、Red Hat Network 或 Red Hat Satellite 5 的用户应输入下面的相应的激活码,否则留空。" 203 | -------------------------------------------------------------------------------- /locale/pt_BR/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Luiz Henrique Vasconcelos , 2016 7 | # Luiz Henrique Vasconcelos , 2015 8 | # Odilon Junior , 2015 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: foreman_setup 8.0.1\n" 12 | "Report-Msgid-Bugs-To: \n" 13 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 14 | "Last-Translator: Luiz Henrique Vasconcelos , 20" 15 | "16\n" 16 | "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l" 17 | "anguage/pt_BR/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: pt_BR\n" 22 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 100000" 23 | "0 == 0 ? 1 : 2;\n" 24 | 25 | msgid "Activation key" 26 | msgstr "Chave de ativação" 27 | 28 | msgid "Activation key configuration" 29 | msgstr "Configuração da chave de ativação" 30 | 31 | msgid "Add and manage compute resources (virtualization and cloud)" 32 | msgstr "" 33 | 34 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 35 | msgstr "" 36 | 37 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 38 | msgstr "" 39 | 40 | msgid "Completion" 41 | msgstr "Conclusão" 42 | 43 | msgid "Compute Resources" 44 | msgstr "Recursos de computação" 45 | 46 | msgid "Create and provision a new host" 47 | msgstr "Criar e fornecer um novo anfitrião" 48 | 49 | msgid "Create new installation medium" 50 | msgstr "Criar novo meio de instalação" 51 | 52 | msgid "Delete %s?" 53 | msgstr "Excluir %s?" 54 | 55 | msgid "Domain" 56 | msgstr "Domínio" 57 | 58 | msgid "Domain|Name" 59 | msgstr "Domain|Nome" 60 | 61 | msgid "Edit Host Group" 62 | msgstr "Edit Host Group" 63 | 64 | msgid "Existing medium" 65 | msgstr "Meio existente" 66 | 67 | msgid "Foreman installer" 68 | msgstr "" 69 | 70 | msgid "Found registered host %s" 71 | msgstr "" 72 | 73 | msgid "Found registered smart proxy %s" 74 | msgstr "" 75 | 76 | msgid "Host %s has at least one network interface" 77 | msgstr "" 78 | 79 | msgid "Hostname" 80 | msgstr "Nome da máquina" 81 | 82 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 83 | msgstr "" 84 | 85 | msgid "Install provisioning with DHCP" 86 | msgstr "" 87 | 88 | msgid "Install provisioning without DHCP" 89 | msgstr "" 90 | 91 | msgid "Installation media" 92 | msgstr "Mídia de instalação" 93 | 94 | msgid "Missing registered host %s, please ensure it is checking in" 95 | msgstr "" 96 | 97 | msgid "Missing registered smart proxy %s, please ensure it is registered" 98 | msgstr "" 99 | 100 | msgid "Network config" 101 | msgstr "Configuração de rede" 102 | 103 | msgid "Network selection" 104 | msgstr "Seleção da rede" 105 | 106 | msgid "New Host" 107 | msgstr "Novo Anfitrião" 108 | 109 | msgid "Next" 110 | msgstr "Próximo" 111 | 112 | msgid "Next steps" 113 | msgstr "Próximos passos" 114 | 115 | msgid "No network interfaces listed in $interfaces fact" 116 | msgstr "Nenhuma interface de rede listada em $interfaces fato" 117 | 118 | msgid "Normal installation media" 119 | msgstr "Meios normais de instalação" 120 | 121 | msgid "Not available until pre-requisites satisified." 122 | msgstr "Não disponível até que os pré-requisitos sejam satisificados." 123 | 124 | msgid "Operating system" 125 | msgstr "Sistema operacional" 126 | 127 | msgid "Path or URL" 128 | msgstr "Caminho ou URL" 129 | 130 | msgid "Plugin for Foreman that helps set up provisioning." 131 | msgstr "Plugin para Foreman que ajuda a montar o provisionamento." 132 | 133 | msgid "Pre-requisites" 134 | msgstr "Pré-requisitos" 135 | 136 | msgid "Provision from %s" 137 | msgstr "" 138 | 139 | msgid "Provisioning Setup" 140 | msgstr "Configuração de Provisionamento" 141 | 142 | msgid "Provisioning host" 143 | msgstr "Anfitrião de provisionamento" 144 | 145 | msgid "Provisioning network" 146 | msgstr "Rede de provisionamento" 147 | 148 | msgid "Provisioning setup" 149 | msgstr "Configuração do provisionamento" 150 | 151 | msgid "Provisioning setup complete" 152 | msgstr "Configuração do provisionamento completa" 153 | 154 | msgid "Red Hat Satellite 5 or Spacewalk" 155 | msgstr "Red Hat Satellite 5 ou Spacewalk" 156 | 157 | msgid "Return to the main provisioning setup page" 158 | msgstr "Voltar para a página principal de configuração do provisionamento" 159 | 160 | msgid "Review and edit the host group set up by the provisioning wizard" 161 | msgstr "" 162 | 163 | msgid "Set up provisioning" 164 | msgstr "Estabelecer o provisionamento" 165 | 166 | msgid "Smart proxy" 167 | msgstr "Proxy inteligente" 168 | 169 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 170 | msgstr "" 171 | 172 | msgid "Spacewalk hostname is missing" 173 | msgstr "" 174 | 175 | msgid "Subnet" 176 | msgstr "Suberede" 177 | 178 | msgid "Successfully associated OS %s." 179 | msgstr "" 180 | 181 | msgid "Successfully updated subnet %s." 182 | msgstr "" 183 | 184 | msgid "The DNS domain name to provision hosts into" 185 | msgstr "" 186 | 187 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 188 | msgstr "" 189 | 190 | msgid "The following operating system will be configured for provisioning:" 191 | msgstr "" 192 | 193 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 194 | msgstr "" 195 | 196 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 197 | msgstr "" 198 | 199 | msgid "Type" 200 | msgstr "Tipo" 201 | 202 | msgid "Use an existing installation medium" 203 | msgstr "Usar um meio de instalação existente" 204 | 205 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 206 | msgstr "Os usuários do Spacewalk, Red Hat Network ou Red Hat Satellite 5 devem digitar uma chave de ativação apropriada abaixo, caso contrário, deixem em branco." 207 | -------------------------------------------------------------------------------- /locale/ja/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # 山田 修司 🍣 Shuji Yamada , 2015 7 | # 山田 修司 🍣 Shuji Yamada , 2015 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: foreman_setup 8.0.1\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 13 | "Last-Translator: 山田 修司 🍣 Shuji Yamada , 2015\n" 14 | "Language-Team: Japanese (http://www.transifex.com/foreman/foreman/language/ja/" 15 | ")\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: ja\n" 20 | "Plural-Forms: nplurals=1; plural=0;\n" 21 | 22 | msgid "Activation key" 23 | msgstr "アクティベーションキー" 24 | 25 | msgid "Activation key configuration" 26 | msgstr "アクティベーションキーの設定" 27 | 28 | msgid "Add and manage compute resources (virtualization and cloud)" 29 | msgstr "コンピュートリソースの追加および管理 (ハッシュおよびクラウド)" 30 | 31 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 32 | msgstr "プロビジョニングサポートに必要なすべてのコンポーネントが設定されました。ホストページから登録して新規ホストのプロビジョニングを行い、以前に設定したサブネットの PXE ブートを行うことができます。" 33 | 34 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 35 | msgstr "必要なネットワーク情報がすべて収集され、プロビジョニング設定に必要な引数を指定して Foreman インストーラーを再実行できるようになりました。" 36 | 37 | msgid "Completion" 38 | msgstr "完了" 39 | 40 | msgid "Compute Resources" 41 | msgstr "コンピュートリソース" 42 | 43 | msgid "Create and provision a new host" 44 | msgstr "新規ホストの作成とプロビジョニング" 45 | 46 | msgid "Create new installation medium" 47 | msgstr "インストールメディアの新規作成" 48 | 49 | msgid "Delete %s?" 50 | msgstr "%s を削除しますか?" 51 | 52 | msgid "Domain" 53 | msgstr "ドメイン" 54 | 55 | msgid "Domain|Name" 56 | msgstr "名前" 57 | 58 | msgid "Edit Host Group" 59 | msgstr "ホストグループの編集" 60 | 61 | msgid "Existing medium" 62 | msgstr "既存のメディア" 63 | 64 | msgid "Foreman installer" 65 | msgstr "Foreman インストーラー" 66 | 67 | msgid "Found registered host %s" 68 | msgstr "登録済みのホスト%s が見つかりました" 69 | 70 | msgid "Found registered smart proxy %s" 71 | msgstr "登録済みの Smart Proxy が見つかりました" 72 | 73 | msgid "Host %s has at least one network interface" 74 | msgstr "ホスト %s には、少なくとも 1 つのネットワークインターフェースがあります。" 75 | 76 | msgid "Hostname" 77 | msgstr "ホスト名" 78 | 79 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 80 | msgstr "インストールメディアがすでに設定されている場合は、以下に選択でき、ウィザードが必要な関連付けを完了します。それ以外の場合は、Foreman のフィールドを使用するか、Foreman の インストールメディア ページで新規メディアを追加します。" 81 | 82 | msgid "Install provisioning with DHCP" 83 | msgstr "DHCP を使用したプロビジョニングのインストール" 84 | 85 | msgid "Install provisioning without DHCP" 86 | msgstr "DHCP を使用しないプロビジョニングのインストール" 87 | 88 | msgid "Installation media" 89 | msgstr "インストールメディア" 90 | 91 | msgid "Missing registered host %s, please ensure it is checking in" 92 | msgstr "登録済みホスト %s がありません。チェックインされていることを確認してください。" 93 | 94 | msgid "Missing registered smart proxy %s, please ensure it is registered" 95 | msgstr "登録済みの Smart Proxy %s がありません。登録されていることを確認してください。" 96 | 97 | msgid "Network config" 98 | msgstr "ネットワーク設定" 99 | 100 | msgid "Network selection" 101 | msgstr "ネットワーク選択" 102 | 103 | msgid "New Host" 104 | msgstr "新規ホスト" 105 | 106 | msgid "Next" 107 | msgstr "次へ" 108 | 109 | msgid "Next steps" 110 | msgstr "次のステップ" 111 | 112 | msgid "No network interfaces listed in $interfaces fact" 113 | msgstr "$interfaces ファクトに表示されているネットワークインターフェースがありません" 114 | 115 | msgid "Normal installation media" 116 | msgstr "通常のインストールメディア" 117 | 118 | msgid "Not available until pre-requisites satisified." 119 | msgstr "前提条件が満たされるまでは利用できません。" 120 | 121 | msgid "Operating system" 122 | msgstr "オペレーティングシステム" 123 | 124 | msgid "Path or URL" 125 | msgstr "パスまたは URL" 126 | 127 | msgid "Plugin for Foreman that helps set up provisioning." 128 | msgstr "プロビジョニングの設定に使用できる Foreman のプラグイン。" 129 | 130 | msgid "Pre-requisites" 131 | msgstr "前提条件" 132 | 133 | msgid "Provision from %s" 134 | msgstr "%s からプロビジョニング" 135 | 136 | msgid "Provisioning Setup" 137 | msgstr "プロビジョニング設定" 138 | 139 | msgid "Provisioning host" 140 | msgstr "プロビジョニングホスト" 141 | 142 | msgid "Provisioning network" 143 | msgstr "プロビジョニングネットワーク" 144 | 145 | msgid "Provisioning setup" 146 | msgstr "プロビジョニング設定" 147 | 148 | msgid "Provisioning setup complete" 149 | msgstr "プロビジョニング設定の完了" 150 | 151 | msgid "Red Hat Satellite 5 or Spacewalk" 152 | msgstr "Red Hat Satellite 5 または Spacewalk" 153 | 154 | msgid "Return to the main provisioning setup page" 155 | msgstr "メインのプロビジョニング設定ページに戻ります。" 156 | 157 | msgid "Review and edit the host group set up by the provisioning wizard" 158 | msgstr "プロビジョニングウィザードで設定したホストグループの確認および編集" 159 | 160 | msgid "Set up provisioning" 161 | msgstr "プロビジョニングの設定" 162 | 163 | msgid "Smart proxy" 164 | msgstr "Smart Proxy" 165 | 166 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 167 | msgstr "プロビジョニングに使用するオペレーティングシステムのインストールメディアの場所に関する情報が必要になりました。" 168 | 169 | msgid "Spacewalk hostname is missing" 170 | msgstr "spacewalk のホスト名がありません" 171 | 172 | msgid "Subnet" 173 | msgstr "サブネット" 174 | 175 | msgid "Successfully associated OS %s." 176 | msgstr "OS %s が正しく関連付けられました。" 177 | 178 | msgid "Successfully updated subnet %s." 179 | msgstr "サブネット %s を正常に更新しました。" 180 | 181 | msgid "The DNS domain name to provision hosts into" 182 | msgstr "ホストをプロビジョニングする DNS ドメイン名" 183 | 184 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 185 | msgstr "設定オプションはすべてインフラストラクチャーメニュー (インフラストラクチャー > サブネットなど) からアクセスでき、Web インターフェースで変更できます。この設定プロセスには、インフラストラクチャー > プロビジョニング設定 を選択して戻り、設定を変更するか、新規のプロビジョニング機能を追加できます。" 186 | 187 | msgid "The following operating system will be configured for provisioning:" 188 | msgstr "以下のオペレーティングシステムがプロビジョニング用に設定されます。" 189 | 190 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 191 | msgstr "このウィザードは、Foreman での完全なホストプロビジョニングの設定に役立ちます。開始する前に、いくつかの要件が検証されます。" 192 | 193 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 194 | msgstr "ホストをプロビジョニングするには、Foreman サーバーに接続されているプロビジョニングサブネットに対する設定値が必要になります。" 195 | 196 | msgid "Type" 197 | msgstr "タイプ" 198 | 199 | msgid "Use an existing installation medium" 200 | msgstr "既存のインストールメディアを使用する" 201 | 202 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 203 | msgstr "Spacewalk、Red Hat Network、または Red Hat Satellite 5 を使用する場合には、適切なアクティベーションキーを入力する必要があります。それ以外の場合は、空白のままにします。" 204 | -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- 1 | # Offense count: 1 2 | # Cop supports --auto-correct. 3 | Layout/ArrayAlignment: 4 | Enabled: false 5 | 6 | # Offense count: 3 7 | # Cop supports --auto-correct. 8 | # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. 9 | # SupportedHashRocketStyles: key, separator, table 10 | # SupportedColonStyles: key, separator, table 11 | # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit 12 | Layout/HashAlignment: 13 | Enabled: false 14 | 15 | # Offense count: 5 16 | # Cop supports --auto-correct. 17 | # Configuration parameters: EnforcedStyle, IndentationWidth. 18 | # SupportedStyles: with_first_parameter, with_fixed_indentation 19 | Layout/ParameterAlignment: 20 | Enabled: false 21 | 22 | # Offense count: 1 23 | # Cop supports --auto-correct. 24 | # Configuration parameters: EnforcedStyle. 25 | # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only 26 | Layout/EmptyLinesAroundClassBody: 27 | Enabled: false 28 | 29 | # Offense count: 1 30 | # Cop supports --auto-correct. 31 | # Configuration parameters: EnforcedStyle. 32 | # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines 33 | Layout/EmptyLinesAroundModuleBody: 34 | Enabled: false 35 | 36 | # Offense count: 1 37 | # Cop supports --auto-correct. 38 | # Configuration parameters: EnforcedStyle, IndentationWidth. 39 | # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses 40 | Layout/FirstArgumentIndentation: 41 | Enabled: false 42 | 43 | # Offense count: 2 44 | # Cop supports --auto-correct. 45 | # Configuration parameters: IndentationWidth. 46 | # SupportedStyles: special_inside_parentheses, consistent, align_brackets 47 | Layout/FirstArrayElementIndentation: 48 | EnforcedStyle: consistent 49 | 50 | # Offense count: 1 51 | # Cop supports --auto-correct. 52 | Layout/SpaceAfterComma: 53 | Enabled: false 54 | 55 | # Offense count: 3 56 | # Cop supports --auto-correct. 57 | # Configuration parameters: AllowForAlignment. 58 | Layout/SpaceAroundOperators: 59 | Enabled: false 60 | 61 | # Offense count: 21 62 | # Cop supports --auto-correct. 63 | # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. 64 | # SupportedStyles: space, no_space, compact 65 | # SupportedStylesForEmptyBraces: space, no_space 66 | Layout/SpaceInsideHashLiteralBraces: 67 | Enabled: false 68 | 69 | # Offense count: 1 70 | # Cop supports --auto-correct. 71 | Layout/TrailingWhitespace: 72 | Enabled: false 73 | 74 | # Offense count: 1 75 | Lint/ShadowingOuterLocalVariable: 76 | Enabled: false 77 | 78 | # Offense count: 5 79 | # Cop supports --auto-correct. 80 | # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. 81 | Lint/UnusedBlockArgument: 82 | Enabled: false 83 | 84 | # Offense count: 1 85 | # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. 86 | # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS 87 | Naming/FileName: 88 | Enabled: false 89 | 90 | # Offense count: 1 91 | # Cop supports --auto-correct. 92 | # Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent. 93 | Rails/Blank: 94 | Enabled: false 95 | 96 | # Offense count: 1 97 | # Configuration parameters: Include. 98 | # Include: db/migrate/*.rb 99 | Rails/CreateTableWithTimestamps: 100 | Enabled: false 101 | 102 | # Offense count: 1 103 | # Configuration parameters: EnforcedStyle. 104 | # SupportedStyles: strict, flexible 105 | Rails/Date: 106 | Enabled: false 107 | 108 | # Offense count: 14 109 | # Cop supports --auto-correct. 110 | # Configuration parameters: Whitelist. 111 | # Whitelist: find_by_sql 112 | Rails/DynamicFindBy: 113 | Enabled: false 114 | 115 | # Offense count: 1 116 | # Configuration parameters: Blacklist. 117 | # Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters 118 | Rails/SkipsModelValidations: 119 | Enabled: false 120 | 121 | # Offense count: 1 122 | # Cop supports --auto-correct. 123 | # Configuration parameters: EnforcedStyle. 124 | # SupportedStyles: always, conditionals 125 | Style/AndOr: 126 | Enabled: false 127 | 128 | # Offense count: 1 129 | # Cop supports --auto-correct. 130 | # Configuration parameters: AutoCorrect, EnforcedStyle. 131 | # SupportedStyles: nested, compact 132 | Style/ClassAndModuleChildren: 133 | Enabled: false 134 | 135 | # Offense count: 1 136 | # Cop supports --auto-correct. 137 | Style/EachWithObject: 138 | Enabled: false 139 | 140 | # Offense count: 1 141 | # Cop supports --auto-correct. 142 | # Configuration parameters: EnforcedStyle. 143 | # SupportedStyles: compact, expanded 144 | Style/EmptyMethod: 145 | Enabled: false 146 | 147 | # Offense count: 2 148 | # Cop supports --auto-correct. 149 | Style/ExpandPathArguments: 150 | Enabled: false 151 | 152 | # Offense count: 1 153 | # Configuration parameters: MinBodyLength. 154 | Style/GuardClause: 155 | Enabled: false 156 | 157 | Style/HashEachMethods: 158 | Enabled: false 159 | 160 | Style/HashTransformKeys: 161 | Enabled: false 162 | 163 | Style/HashTransformValues: 164 | Enabled: false 165 | 166 | # Offense count: 4 167 | # Cop supports --auto-correct. 168 | Style/IfUnlessModifier: 169 | Enabled: false 170 | 171 | # Offense count: 1 172 | # Cop supports --auto-correct. 173 | Style/MutableConstant: 174 | Enabled: false 175 | 176 | # Offense count: 1 177 | # Cop supports --auto-correct. 178 | Style/PerlBackrefs: 179 | Enabled: false 180 | 181 | # Offense count: 1 182 | # Cop supports --auto-correct. 183 | # Configuration parameters: EnforcedStyle. 184 | # SupportedStyles: implicit, explicit 185 | Style/RescueStandardError: 186 | Enabled: false 187 | 188 | # Offense count: 29 189 | # Cop supports --auto-correct. 190 | # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. 191 | # SupportedStyles: single_quotes, double_quotes 192 | Style/StringLiterals: 193 | Enabled: false 194 | 195 | # Offense count: 1 196 | # Cop supports --auto-correct. 197 | # Configuration parameters: EnforcedStyle. 198 | # SupportedStyles: single_quotes, double_quotes 199 | Style/StringLiteralsInInterpolation: 200 | Enabled: false 201 | 202 | # Offense count: 4 203 | # Cop supports --auto-correct. 204 | # Configuration parameters: MinSize. 205 | # SupportedStyles: percent, brackets 206 | Style/SymbolArray: 207 | EnforcedStyle: brackets 208 | 209 | # Offense count: 1 210 | # Cop supports --auto-correct. 211 | Style/SymbolLiteral: 212 | Enabled: false 213 | 214 | # Offense count: 2 215 | # Cop supports --auto-correct. 216 | # Configuration parameters: EnforcedStyleForMultiline. 217 | # SupportedStylesForMultiline: comma, consistent_comma, no_comma 218 | Style/TrailingCommaInArrayLiteral: 219 | Enabled: false 220 | 221 | # Offense count: 1 222 | # Cop supports --auto-correct. 223 | # Configuration parameters: EnforcedStyleForMultiline. 224 | # SupportedStylesForMultiline: comma, consistent_comma, no_comma 225 | Style/TrailingCommaInHashLiteral: 226 | Enabled: false 227 | 228 | # Offense count: 1 229 | # Cop supports --auto-correct. 230 | # Configuration parameters: MinSize, WordRegex. 231 | # SupportedStyles: percent, brackets 232 | Style/WordArray: 233 | EnforcedStyle: brackets 234 | -------------------------------------------------------------------------------- /locale/en_GB/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Andi Chandler , 2015 7 | # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: foreman_setup 8.0.1\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 13 | "Last-Translator: Andi Chandler , 2015\n" 14 | "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore" 15 | "man/language/en_GB/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: en_GB\n" 20 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 21 | 22 | msgid "Activation key" 23 | msgstr "Activation key" 24 | 25 | msgid "Activation key configuration" 26 | msgstr "Activation key configuration" 27 | 28 | msgid "Add and manage compute resources (virtualization and cloud)" 29 | msgstr "Add and manage compute resources (virtualisation and cloud)" 30 | 31 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 32 | msgstr "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 33 | 34 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 35 | msgstr "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 36 | 37 | msgid "Completion" 38 | msgstr "Completion" 39 | 40 | msgid "Compute Resources" 41 | msgstr "Compute Resources" 42 | 43 | msgid "Create and provision a new host" 44 | msgstr "Create and provision a new host" 45 | 46 | msgid "Create new installation medium" 47 | msgstr "Create new installation medium" 48 | 49 | msgid "Delete %s?" 50 | msgstr "Delete %s?" 51 | 52 | msgid "Domain" 53 | msgstr "Domain" 54 | 55 | msgid "Domain|Name" 56 | msgstr "DNS domain" 57 | 58 | msgid "Edit Host Group" 59 | msgstr "Edit Host Group" 60 | 61 | msgid "Existing medium" 62 | msgstr "Existing medium" 63 | 64 | msgid "Foreman installer" 65 | msgstr "Foreman installer" 66 | 67 | msgid "Found registered host %s" 68 | msgstr "Found registered host %s" 69 | 70 | msgid "Found registered smart proxy %s" 71 | msgstr "Found registered smart proxy %s" 72 | 73 | msgid "Host %s has at least one network interface" 74 | msgstr "Host %s has at least one network interface" 75 | 76 | msgid "Hostname" 77 | msgstr "Hostname" 78 | 79 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 80 | msgstr "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 81 | 82 | msgid "Install provisioning with DHCP" 83 | msgstr "Install provisioning with DHCP" 84 | 85 | msgid "Install provisioning without DHCP" 86 | msgstr "Install provisioning without DHCP" 87 | 88 | msgid "Installation media" 89 | msgstr "Installation media" 90 | 91 | msgid "Missing registered host %s, please ensure it is checking in" 92 | msgstr "Missing registered host %s, please ensure it is checking in" 93 | 94 | msgid "Missing registered smart proxy %s, please ensure it is registered" 95 | msgstr "Missing registered smart proxy %s, please ensure it is registered" 96 | 97 | msgid "Network config" 98 | msgstr "Network config" 99 | 100 | msgid "Network selection" 101 | msgstr "Network selection" 102 | 103 | msgid "New Host" 104 | msgstr "New Host" 105 | 106 | msgid "Next" 107 | msgstr "Next" 108 | 109 | msgid "Next steps" 110 | msgstr "Next steps" 111 | 112 | msgid "No network interfaces listed in $interfaces fact" 113 | msgstr "No network interfaces listed in $interfaces fact" 114 | 115 | msgid "Normal installation media" 116 | msgstr "Normal installation media" 117 | 118 | msgid "Not available until pre-requisites satisified." 119 | msgstr "Not available until pre-requisites satisified." 120 | 121 | msgid "Operating system" 122 | msgstr "Operating system" 123 | 124 | msgid "Path or URL" 125 | msgstr "Path or URL" 126 | 127 | msgid "Plugin for Foreman that helps set up provisioning." 128 | msgstr "Plugin for Foreman that helps set up provisioning." 129 | 130 | msgid "Pre-requisites" 131 | msgstr "Pre-requisites" 132 | 133 | msgid "Provision from %s" 134 | msgstr "Provision from %s" 135 | 136 | msgid "Provisioning Setup" 137 | msgstr "Provisioning Setup" 138 | 139 | msgid "Provisioning host" 140 | msgstr "Provisioning host" 141 | 142 | msgid "Provisioning network" 143 | msgstr "Provisioning network" 144 | 145 | msgid "Provisioning setup" 146 | msgstr "Provisioning setup" 147 | 148 | msgid "Provisioning setup complete" 149 | msgstr "Provisioning setup complete" 150 | 151 | msgid "Red Hat Satellite 5 or Spacewalk" 152 | msgstr "Red Hat Satellite 5 or Spacewalk" 153 | 154 | msgid "Return to the main provisioning setup page" 155 | msgstr "Return to the main provisioning setup page" 156 | 157 | msgid "Review and edit the host group set up by the provisioning wizard" 158 | msgstr "Review and edit the host group set up by the provisioning wizard" 159 | 160 | msgid "Set up provisioning" 161 | msgstr "Set up provisioning" 162 | 163 | msgid "Smart proxy" 164 | msgstr "Smart proxy" 165 | 166 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 167 | msgstr "Some information about the location of installation media for the operating system used for provisioning is now required." 168 | 169 | msgid "Spacewalk hostname is missing" 170 | msgstr "Spacewalk hostname is missing" 171 | 172 | msgid "Subnet" 173 | msgstr "Subnet" 174 | 175 | msgid "Successfully associated OS %s." 176 | msgstr "Successfully associated OS %s." 177 | 178 | msgid "Successfully updated subnet %s." 179 | msgstr "Successfully updated subnet %s." 180 | 181 | msgid "The DNS domain name to provision hosts into" 182 | msgstr "The DNS domain name to provision hosts into" 183 | 184 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 185 | msgstr "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 186 | 187 | msgid "The following operating system will be configured for provisioning:" 188 | msgstr "The following operating system will be configured for provisioning:" 189 | 190 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 191 | msgstr "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 192 | 193 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 194 | msgstr "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 195 | 196 | msgid "Type" 197 | msgstr "Type" 198 | 199 | msgid "Use an existing installation medium" 200 | msgstr "Use an existing installation medium" 201 | 202 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 203 | msgstr "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 204 | -------------------------------------------------------------------------------- /locale/ru/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Vladimir Pavlov , 2015 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: foreman_setup 8.0.1\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 12 | "Last-Translator: Vladimir Pavlov , 2015\n" 13 | "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)" 14 | "\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: ru\n" 19 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" 20 | "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1" 21 | "1 && n%100<=14)? 2 : 3);\n" 22 | 23 | msgid "Activation key" 24 | msgstr "Ключ активации" 25 | 26 | msgid "Activation key configuration" 27 | msgstr "Настройки ключа активации" 28 | 29 | msgid "Add and manage compute resources (virtualization and cloud)" 30 | msgstr "Просмотр и управление вычислительными ресурсами (виртуализация и облака)" 31 | 32 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 33 | msgstr "Вы необходимые компоненты были установлены для поддержки подготовки. Теперь Вы можете подготавливать новые узлы, регистрируя их на странице Узлы, затем просто загрузите сервер по сети, в подсети настроенной ранее." 34 | 35 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 36 | msgstr "Вся необходимая информация о сети была собрана, запустите установку Foreman еще раз, с параметрами для настройки подготовки." 37 | 38 | msgid "Completion" 39 | msgstr "Завершение" 40 | 41 | msgid "Compute Resources" 42 | msgstr "Вычислительные ресурсы" 43 | 44 | msgid "Create and provision a new host" 45 | msgstr "Создать и подготовить новый узел" 46 | 47 | msgid "Create new installation medium" 48 | msgstr "Создать новый установочный носитель" 49 | 50 | msgid "Delete %s?" 51 | msgstr "Удалить %s?" 52 | 53 | msgid "Domain" 54 | msgstr "Домен" 55 | 56 | msgid "Domain|Name" 57 | msgstr "Имя" 58 | 59 | msgid "Edit Host Group" 60 | msgstr "Редактировать группу узлов" 61 | 62 | msgid "Existing medium" 63 | msgstr "Существующий носитель" 64 | 65 | msgid "Foreman installer" 66 | msgstr "Установщик Foreman" 67 | 68 | msgid "Found registered host %s" 69 | msgstr "Найден зарегистрированный узел %s" 70 | 71 | msgid "Found registered smart proxy %s" 72 | msgstr "Найден зарегистрированный капсуль %s" 73 | 74 | msgid "Host %s has at least one network interface" 75 | msgstr "Узел %s имеет как минимум один сетевой интерфейс" 76 | 77 | msgid "Hostname" 78 | msgstr "Имя узла" 79 | 80 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 81 | msgstr "Если установочный носитель уже был установлен, он может быть выбран ниже и мастер добавить необходимые связи. Иначе, используйте поля ниже или страницу Установочный носитель в Foreman, для добавления нового носителя." 82 | 83 | msgid "Install provisioning with DHCP" 84 | msgstr "Установка подготовки с DHCP" 85 | 86 | msgid "Install provisioning without DHCP" 87 | msgstr "Установка подготовки без DHCP" 88 | 89 | msgid "Installation media" 90 | msgstr "Установочный носитель" 91 | 92 | msgid "Missing registered host %s, please ensure it is checking in" 93 | msgstr "Пропущен зарегистрированный узел %s, убедитесь в его регистрации" 94 | 95 | msgid "Missing registered smart proxy %s, please ensure it is registered" 96 | msgstr "Пропущен зарегистрированный капсуль %s, убедитесь в его регистрации" 97 | 98 | msgid "Network config" 99 | msgstr "Настройка сети" 100 | 101 | msgid "Network selection" 102 | msgstr "Выбор сети" 103 | 104 | msgid "New Host" 105 | msgstr "Новый узел" 106 | 107 | msgid "Next" 108 | msgstr "Далее" 109 | 110 | msgid "Next steps" 111 | msgstr "Следующий шаг" 112 | 113 | msgid "No network interfaces listed in $interfaces fact" 114 | msgstr "Нет сетевых интерфейсов указанных в фактах $interfaces" 115 | 116 | msgid "Normal installation media" 117 | msgstr "Обычный установочный носитель" 118 | 119 | msgid "Not available until pre-requisites satisified." 120 | msgstr "Не доступно пока предпосылки не отработаны успешно." 121 | 122 | msgid "Operating system" 123 | msgstr "Операционная система" 124 | 125 | msgid "Path or URL" 126 | msgstr "Путь или URL" 127 | 128 | msgid "Plugin for Foreman that helps set up provisioning." 129 | msgstr "Дополнение для Foreman, которое помогает установить подготовку." 130 | 131 | msgid "Pre-requisites" 132 | msgstr "Предпосылки" 133 | 134 | msgid "Provision from %s" 135 | msgstr "Подготовка из %s" 136 | 137 | msgid "Provisioning Setup" 138 | msgstr "Подготовка узлов" 139 | 140 | msgid "Provisioning host" 141 | msgstr "Подготовка узла" 142 | 143 | msgid "Provisioning network" 144 | msgstr "Подготовка сети" 145 | 146 | msgid "Provisioning setup" 147 | msgstr "Подготовка установки" 148 | 149 | msgid "Provisioning setup complete" 150 | msgstr "Подготовка установки завершена" 151 | 152 | msgid "Red Hat Satellite 5 or Spacewalk" 153 | msgstr "Red Hat Satellite 5 или Spacewalk" 154 | 155 | msgid "Return to the main provisioning setup page" 156 | msgstr "Вернуться на главную страницу подготовки установки" 157 | 158 | msgid "Review and edit the host group set up by the provisioning wizard" 159 | msgstr "Просмотр и редактирование набора групп узлов через мастер подготовки" 160 | 161 | msgid "Set up provisioning" 162 | msgstr "Установка подготовки" 163 | 164 | msgid "Smart proxy" 165 | msgstr "Смарт-прокси" 166 | 167 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 168 | msgstr "Теперь требуется некоторая информация о местоположении установочного носителя для операционной системы для подготовки." 169 | 170 | msgid "Spacewalk hostname is missing" 171 | msgstr "Имя узла Spacewalk отсутствует" 172 | 173 | msgid "Subnet" 174 | msgstr "Подсеть" 175 | 176 | msgid "Successfully associated OS %s." 177 | msgstr "Успешно связана ОС %s." 178 | 179 | msgid "Successfully updated subnet %s." 180 | msgstr "Подсеть %S успешно обновлена." 181 | 182 | msgid "The DNS domain name to provision hosts into" 183 | msgstr "Имя домена DNS для подготовки узлов в" 184 | 185 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 186 | msgstr "Конфигурация установки доступна в меню Инфраструктура, т.е. Инфраструктура > Подсети, и может быть изменена из веб-интерфейса. Вы можете вернуться к этому установочному процессу через Infrastructure > Provisioning Setup для изменения настроек или добавления новых возможностей подготовки." 187 | 188 | msgid "The following operating system will be configured for provisioning:" 189 | msgstr "Следующие операционные системы были настроены для подготовки:" 190 | 191 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 192 | msgstr "Этот мастер поможет Вам установить Foreman для полной подготовки узлов. Перед началом будут проверены некоторые требования." 193 | 194 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 195 | msgstr "Для подготовки узлов требуются некоторые настраиваемые значения для подсети подготовки, подключенной к Foreman." 196 | 197 | msgid "Type" 198 | msgstr "Тип" 199 | 200 | msgid "Use an existing installation medium" 201 | msgstr "Использовать существующий установочный носитель" 202 | 203 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 204 | msgstr "Пользователи Spacewalk, Red Hat Network или Red Hat Satellite 5 должны ввести подтвержденный ключ активации ниже, иначе оставьте пустым." 205 | -------------------------------------------------------------------------------- /locale/ka/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: foreman_setup 8.0.1\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 11 | "Last-Translator: Dominic Cleal \n" 12 | "Language-Team: Georgian (http://www.transifex.com/foreman/foreman/language/ka/" 13 | ")\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ka\n" 18 | "Plural-Forms: nplurals=2; plural=(n!=1);\n" 19 | 20 | msgid "Activation key" 21 | msgstr "აქტივაციის გასაღები" 22 | 23 | msgid "Activation key configuration" 24 | msgstr "აქტივაციის გასაღების კონფიგურაცია" 25 | 26 | msgid "Add and manage compute resources (virtualization and cloud)" 27 | msgstr "გამოთვლითი რესურსების დამატება და მართვა (ვირტუალიზაცია და ღრუბლოვანი)" 28 | 29 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 30 | msgstr "ყველა საჭირო კომპონენტი შეიქმნა მხარდაჭერის უზრუნველსაყოფად. ახლა შეგიძლიათ ახალი ჰოსტების მიწოდება Hosts გვერდიდან დარეგისტრირებით, შემდეგ PXE-ჩატვირთეთ სერვერი ადრე დაყენებულ ქვექსელზე." 31 | 32 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 33 | msgstr "ქსელის ყველა საჭირო ინფორმაცია შეგროვდა, ახლა ისევ გაუშვით Foreman ინსტალერი საჭირო არგუმენტებით უზრუნველყოფის კონფიგურაციისთვის." 34 | 35 | msgid "Completion" 36 | msgstr "დასრულება" 37 | 38 | msgid "Compute Resources" 39 | msgstr "გამოთვლითი რესურსები" 40 | 41 | msgid "Create and provision a new host" 42 | msgstr "ახალი ჰოსტის შექმნა და სამუშაოდ მომზადება" 43 | 44 | msgid "Create new installation medium" 45 | msgstr "ახალი დასაყენებელი დისკის შექმნა" 46 | 47 | msgid "Delete %s?" 48 | msgstr "წავშალო \"%s\"?" 49 | 50 | msgid "Domain" 51 | msgstr "დომენი" 52 | 53 | msgid "Domain|Name" 54 | msgstr "დომენი|სახელი" 55 | 56 | msgid "Edit Host Group" 57 | msgstr "ჰოსტების ჯგუფის ჩასწორება" 58 | 59 | msgid "Existing medium" 60 | msgstr "არსებული სივრცე" 61 | 62 | msgid "Foreman installer" 63 | msgstr "Foreman-ის დაყენების პროგრამა" 64 | 65 | msgid "Found registered host %s" 66 | msgstr "ნაპოვნია რეგისტრირებული ჰოსტი: %s" 67 | 68 | msgid "Found registered smart proxy %s" 69 | msgstr "ნაპოვნია რეგისტრირებული ჭკვიანი პროქსი: %s" 70 | 71 | msgid "Host %s has at least one network interface" 72 | msgstr "ჰოსტს (%s) სულ ცოტა ერთი ქსელის ინტერფეისი გააჩნია" 73 | 74 | msgid "Hostname" 75 | msgstr "ჰოსტის სახელი" 76 | 77 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 78 | msgstr "თუ საინსტალაციო მედია უკვე დაყენებულია, მისი არჩევა შესაძლებელია ქვემოთ და ოსტატი დაასრულებს აუცილებელ ასოციაციებს. წინააღმდეგ შემთხვევაში გამოიყენეთ ქვემოთ მოცემული ველები ან ინსტალაციის მედია გვერდი Foreman-ში ახალი მედიის დასამატებლად." 79 | 80 | msgid "Install provisioning with DHCP" 81 | msgstr "სამუშაოდ მომზადება DHCP-ით" 82 | 83 | msgid "Install provisioning without DHCP" 84 | msgstr "სამუშაოდ მომზადება DHCP-ის გარეშე" 85 | 86 | msgid "Installation media" 87 | msgstr "დასაყენებელი სივრცე" 88 | 89 | msgid "Missing registered host %s, please ensure it is checking in" 90 | msgstr "აკლია რეგისტრირებული ჰოსტი %s, გთხოვთ, დარწმუნდეთ, რომ ის შემოწმებულია" 91 | 92 | msgid "Missing registered smart proxy %s, please ensure it is registered" 93 | msgstr "აკლია რეგისტრირებული ჭკვიანი პროქსი %s, გთხოვთ, დარწმუნდეთ, რომ ის რეგისტრირებულია" 94 | 95 | msgid "Network config" 96 | msgstr "ქსელის მორგება" 97 | 98 | msgid "Network selection" 99 | msgstr "ქსელის არჩევანი" 100 | 101 | msgid "New Host" 102 | msgstr "ახალი ჰოსტი" 103 | 104 | msgid "Next" 105 | msgstr "შემდეგი" 106 | 107 | msgid "Next steps" 108 | msgstr "შემდეგი ნაბიჯები" 109 | 110 | msgid "No network interfaces listed in $interfaces fact" 111 | msgstr "$interfaces-ის ფაქტში ქსელის ინტერფეისები ნაპოვნი არაა" 112 | 113 | msgid "Normal installation media" 114 | msgstr "ნორმალური დასაყენებელი სივრცე" 115 | 116 | msgid "Not available until pre-requisites satisified." 117 | msgstr "მიუწვდომელია, სანამ არ ყველა მოთხოვნას არ დააკმაყოფილებთ." 118 | 119 | msgid "Operating system" 120 | msgstr "ოპერაციული სისტემა" 121 | 122 | msgid "Path or URL" 123 | msgstr "ბილიკი ან ბმული" 124 | 125 | msgid "Plugin for Foreman that helps set up provisioning." 126 | msgstr "მოდული Foreman-ისთვის, რომელიც გეხმარებათ მანქანების სამუშაოდ მომზადებაში." 127 | 128 | msgid "Pre-requisites" 129 | msgstr "წინასწარი მოთხოვნები" 130 | 131 | msgid "Provision from %s" 132 | msgstr "მუშაობისთვის მომზადება %s-დან" 133 | 134 | msgid "Provisioning Setup" 135 | msgstr "მუშაობისთვის მომზადების მორგება" 136 | 137 | msgid "Provisioning host" 138 | msgstr "მუშაობისთვის მომზადების ჰოსტი" 139 | 140 | msgid "Provisioning network" 141 | msgstr "მუშაობისთვის მომზადების ქსელი" 142 | 143 | msgid "Provisioning setup" 144 | msgstr "მუშაობისთვის მომზადების მორგება" 145 | 146 | msgid "Provisioning setup complete" 147 | msgstr "მუშაობისთვის მომზადების მორგება დასრულებულია" 148 | 149 | msgid "Red Hat Satellite 5 or Spacewalk" 150 | msgstr "Red Hat Satellite 5 ან Spacewalk" 151 | 152 | msgid "Return to the main provisioning setup page" 153 | msgstr "სამუშაოდ მომზადების მორგების მთავარ გვერდზე დაბრუნება" 154 | 155 | msgid "Review and edit the host group set up by the provisioning wizard" 156 | msgstr "გადახედეთ და ჩაასწორეთ სამუშაოდ მომმზადებლის მიერ აწყობილი ჰოსტების ჯგუფი" 157 | 158 | msgid "Set up provisioning" 159 | msgstr "მუშაობისთვის მომზადების მორგება" 160 | 161 | msgid "Smart proxy" 162 | msgstr "ჭკვიანი პროქსი" 163 | 164 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 165 | msgstr "საჭიროა გარკვეული ინფორმაცია მუშაობის მომზადებისას გამოყენებული ოპერაციული სისტემის დასაყენებელი დისკის შესახებ." 166 | 167 | msgid "Spacewalk hostname is missing" 168 | msgstr "Spacewalk-ის ჰოსტის სახელი მითითებული არაა" 169 | 170 | msgid "Subnet" 171 | msgstr "ქვექსელი" 172 | 173 | msgid "Successfully associated OS %s." 174 | msgstr "ოს-ი %s წარმატებით იქნა ასოცირებული." 175 | 176 | msgid "Successfully updated subnet %s." 177 | msgstr "ქვექსელი წარმატებით განახლდა: %s." 178 | 179 | msgid "The DNS domain name to provision hosts into" 180 | msgstr "DNS დომენური სახელი ჰოსტების სამუშაოდ მომზადებისთვის" 181 | 182 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 183 | msgstr "კონფიგურაციის დაყენება ხელმისაწვდომია ინფრასტრუქტურის მენიუდან, მაგ. ინფრასტრუქტურა > ქვექსელები და შეიძლება შეიცვალოს ვებ ინტერფეისით. თქვენ შეგიძლიათ დაუბრუნდეთ ამ დაყენების პროცესს ინფრასტრუქტურა > სამუშაოდ მომზადების მორგება მეშვეობით, რათა შეცვალოთ პარამეტრები ან დაამატოთ ახალი შესაძლებლობები." 184 | 185 | msgid "The following operating system will be configured for provisioning:" 186 | msgstr "ოპერაციული სისტემა, რომელიც მორგებული იქნება სამუშაოდ მომზადებისთვის:" 187 | 188 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 189 | msgstr "ვიზარდი ჰოსტების სამუშაოდ სრულად მოსამზადებლად Foreman-ის მორგებაში დაგეხმარებათ. სანამ დავიწყებთ, რამდენიმე მოთხოვნის დაკმაყოფილებაა საჭირო." 190 | 191 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 192 | msgstr "ჰოსტების სამუშაოდ მოსამზადებლად Foreman-ის სერვერზე მიმაგრებული მომზადების ქვექსელის ზოგიერთი პარამეტრის მნიშვნელობაა საჭირო." 193 | 194 | msgid "Type" 195 | msgstr "ტიპი" 196 | 197 | msgid "Use an existing installation medium" 198 | msgstr "დაყენების უკვე არსებული დისკის გამოყენება" 199 | 200 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 201 | msgstr "Spacewalk-ის, Red Hat Network-ის ან Red Hat Satellite 5-ის მომხმარებლებმა უნდა შეიყვანონ შესაბამისი აქტივაციის გასაღები ქვემოთ, წინააღმდეგ შემთხვევაში დატოვეთ ცარიელი." 202 | -------------------------------------------------------------------------------- /locale/es/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Sergio Ocón-Cárdenas , 2014 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: foreman_setup 8.0.1\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 12 | "Last-Translator: Sergio Ocón-Cárdenas , 2014\n" 13 | "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)" 14 | "\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: es\n" 19 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 :" 20 | " 2;\n" 21 | 22 | msgid "Activation key" 23 | msgstr "Clave de activación" 24 | 25 | msgid "Activation key configuration" 26 | msgstr "Configuración de la clave de activación" 27 | 28 | msgid "Add and manage compute resources (virtualization and cloud)" 29 | msgstr "Añadir y gestionar recursos informáticos (virtualización y nube)" 30 | 31 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 32 | msgstr "Todos los componentes necesarios han sido configurados para soportar el aprovisionamiento. Ahora puede aprovisionar nuevos hosts registrándolos desde la página Hosts y, a continuación, arrancar mediante PXE el servidor en la subred configurada anteriormente." 33 | 34 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 35 | msgstr "Se ha recopilado toda la información de red necesaria, ahora ejecute de nuevo el instalador de Foreman con los argumentos necesarios para configurar el aprovisionamiento." 36 | 37 | msgid "Completion" 38 | msgstr "Finalización" 39 | 40 | msgid "Compute Resources" 41 | msgstr "Recursos de cómputo" 42 | 43 | msgid "Create and provision a new host" 44 | msgstr "Crear y aprovisionar un nuevo host" 45 | 46 | msgid "Create new installation medium" 47 | msgstr "Crear un nuevo soporte de instalación" 48 | 49 | msgid "Delete %s?" 50 | msgstr "Borrar %s?" 51 | 52 | msgid "Domain" 53 | msgstr "Dominio" 54 | 55 | msgid "Domain|Name" 56 | msgstr "Nombre" 57 | 58 | msgid "Edit Host Group" 59 | msgstr "Editar grupo de hosts" 60 | 61 | msgid "Existing medium" 62 | msgstr "Medio existente" 63 | 64 | msgid "Foreman installer" 65 | msgstr "Capataz instalador" 66 | 67 | msgid "Found registered host %s" 68 | msgstr "Host registrado encontrado %s" 69 | 70 | msgid "Found registered smart proxy %s" 71 | msgstr "Se ha encontrado un proxy inteligente registrado %s" 72 | 73 | msgid "Host %s has at least one network interface" 74 | msgstr "El host %s tiene al menos una interfaz de red" 75 | 76 | msgid "Hostname" 77 | msgstr "Nombre de host" 78 | 79 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 80 | msgstr "Si ya se han configurado los medios de instalación, se pueden seleccionar a continuación y el asistente completará las asociaciones necesarias. De lo contrario, utilice los campos siguientes o la página de medios de instalación en Foreman para añadir nuevos medios." 81 | 82 | msgid "Install provisioning with DHCP" 83 | msgstr "Instalar el aprovisionamiento con DHCP" 84 | 85 | msgid "Install provisioning without DHCP" 86 | msgstr "Instalar el aprovisionamiento sin DHCP" 87 | 88 | msgid "Installation media" 89 | msgstr "Medio de Instalación" 90 | 91 | msgid "Missing registered host %s, please ensure it is checking in" 92 | msgstr "Falta el host registrado %s, por favor, asegúrese de que se está registrando" 93 | 94 | msgid "Missing registered smart proxy %s, please ensure it is registered" 95 | msgstr "Falta el proxy inteligente registrado %s, por favor, asegúrese de que está registrado" 96 | 97 | msgid "Network config" 98 | msgstr "Configuración de red" 99 | 100 | msgid "Network selection" 101 | msgstr "Selección de red" 102 | 103 | msgid "New Host" 104 | msgstr "Nuevo anfitrión" 105 | 106 | msgid "Next" 107 | msgstr "Siguiente" 108 | 109 | msgid "Next steps" 110 | msgstr "Próximos pasos" 111 | 112 | msgid "No network interfaces listed in $interfaces fact" 113 | msgstr "No hay interfaces de red en $interfaces fact" 114 | 115 | msgid "Normal installation media" 116 | msgstr "Medios de instalación normales" 117 | 118 | msgid "Not available until pre-requisites satisified." 119 | msgstr "No disponible hasta que se cumplan los requisitos previos." 120 | 121 | msgid "Operating system" 122 | msgstr "Sistema operativo" 123 | 124 | msgid "Path or URL" 125 | msgstr "Ruta o URL" 126 | 127 | msgid "Plugin for Foreman that helps set up provisioning." 128 | msgstr "Plugin para Foreman que ayuda a configurar el aprovisionamiento." 129 | 130 | msgid "Pre-requisites" 131 | msgstr "Requisitos previos" 132 | 133 | msgid "Provision from %s" 134 | msgstr "Provisión de %s" 135 | 136 | msgid "Provisioning Setup" 137 | msgstr "Configuración de aprovisionamiento" 138 | 139 | msgid "Provisioning host" 140 | msgstr "Host de aprovisionamiento" 141 | 142 | msgid "Provisioning network" 143 | msgstr "Red de aprovisionamiento" 144 | 145 | msgid "Provisioning setup" 146 | msgstr "Configuración del aprovisionamiento" 147 | 148 | msgid "Provisioning setup complete" 149 | msgstr "Configuración de aprovisionamiento completada" 150 | 151 | msgid "Red Hat Satellite 5 or Spacewalk" 152 | msgstr "Red Hat Satélite 5 o Spacewalk" 153 | 154 | msgid "Return to the main provisioning setup page" 155 | msgstr "Volver a la página principal de configuración de la provisión" 156 | 157 | msgid "Review and edit the host group set up by the provisioning wizard" 158 | msgstr "Revisar y editar el grupo de hosts configurado por el asistente de aprovisionamiento" 159 | 160 | msgid "Set up provisioning" 161 | msgstr "Configurar el aprovisionamiento" 162 | 163 | msgid "Smart proxy" 164 | msgstr "Proxy Inteligente" 165 | 166 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 167 | msgstr "Ahora se necesita información sobre la ubicación de los medios de instalación del sistema operativo utilizado para el aprovisionamiento." 168 | 169 | msgid "Spacewalk hostname is missing" 170 | msgstr "Falta el nombre de host de Spacewalk" 171 | 172 | msgid "Subnet" 173 | msgstr "Subred" 174 | 175 | msgid "Successfully associated OS %s." 176 | msgstr "Asociado con éxito OS %s." 177 | 178 | msgid "Successfully updated subnet %s." 179 | msgstr "Se ha actualizado correctamente la subred %s." 180 | 181 | msgid "The DNS domain name to provision hosts into" 182 | msgstr "El nombre de dominio DNS para aprovisionar hosts en" 183 | 184 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 185 | msgstr "Se puede acceder a toda la configuración desde el menú Infraestructura, por ejemplo, Infraestructura > Subredes, y se puede modificar en la interfaz web. Puede volver a este proceso de configuración a través de Infrastructure > Provisioning Setup para cambiar la configuración o añadir nuevas capacidades de aprovisionamiento." 186 | 187 | msgid "The following operating system will be configured for provisioning:" 188 | msgstr "Se configurará el siguiente sistema operativo para el aprovisionamiento:" 189 | 190 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 191 | msgstr "Este asistente le ayudará a configurar Foreman para el aprovisionamiento completo de hosts. Antes de empezar, se verificarán algunos requisitos." 192 | 193 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 194 | msgstr "Para aprovisionar hosts, se necesitan algunos valores de configuración para la subred de aprovisionamiento adjunta al servidor Foreman." 195 | 196 | msgid "Type" 197 | msgstr "Tipo" 198 | 199 | msgid "Use an existing installation medium" 200 | msgstr "Utilizar un soporte de instalación existente" 201 | 202 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 203 | msgstr "Los usuarios de Spacewalk, Red Hat Network o Red Hat Satellite 5 deben introducir una clave de activación apropiada a continuación; de lo contrario, déjela en blanco." 204 | -------------------------------------------------------------------------------- /locale/de/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Christina Gurski , 2015 7 | # Ettore Atalan , 2014 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: foreman_setup 8.0.1\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 13 | "Last-Translator: Christina Gurski , 2015\n" 14 | "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: de\n" 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 | 21 | msgid "Activation key" 22 | msgstr "Aktivierungsschlüssel" 23 | 24 | msgid "Activation key configuration" 25 | msgstr "Aktivierungsschlüsselkonfiguration" 26 | 27 | msgid "Add and manage compute resources (virtualization and cloud)" 28 | msgstr "Rechnerressourcen hinzufügen und verwalten (Virtualisierung und Cloud)" 29 | 30 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 31 | msgstr "Sämtliche benötigten Komponenten wurden für die Bereitstellungsunterstützung aufgesetzt. Sie können nun neue Hosts bereitstellen, indem Sie diese von der Hosts-Seite aus registrieren und danach den Server auf dem zuvor aufgesetzten Subnetz PXE-booten,." 32 | 33 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 34 | msgstr "Alle erforderlichen Netzwerkinformationen wurden erfasst. Führen Sie das Foreman-Installationsprogramm erneut mit den erforderlichen Argumenten aus, um die Bereitstellung zu konfigurieren." 35 | 36 | msgid "Completion" 37 | msgstr "Fertigstellung" 38 | 39 | msgid "Compute Resources" 40 | msgstr "Rechnerresource" 41 | 42 | msgid "Create and provision a new host" 43 | msgstr "Neuen Host erstellen und bereitstellen" 44 | 45 | msgid "Create new installation medium" 46 | msgstr "Neues Installationsmedium erstellen" 47 | 48 | msgid "Delete %s?" 49 | msgstr "%s löschen?" 50 | 51 | msgid "Domain" 52 | msgstr "Domäne" 53 | 54 | msgid "Domain|Name" 55 | msgstr "Name" 56 | 57 | msgid "Edit Host Group" 58 | msgstr "Hostgruppe bearbeiten" 59 | 60 | msgid "Existing medium" 61 | msgstr "Vorhandenes Medium" 62 | 63 | msgid "Foreman installer" 64 | msgstr "Foreman-Installationsprogramm" 65 | 66 | msgid "Found registered host %s" 67 | msgstr "Registrierter Host %s gefunden" 68 | 69 | msgid "Found registered smart proxy %s" 70 | msgstr "Registrierter Smart-Proxy %s gefunden" 71 | 72 | msgid "Host %s has at least one network interface" 73 | msgstr "Host %s verfügt über mindestens eine Netzwerkschnitstelle" 74 | 75 | msgid "Hostname" 76 | msgstr "Hostname" 77 | 78 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 79 | msgstr "Wurde ein Installationsmedium bereits aufgesetzt, kann es unten ausgewählt werden, und der Assistent erledigt die erforderlichen Zuweisungen. Verwenden Sie andernfalls die Felder unten oder die Seite \"Installationsmedien\" in Foreman, um neue Medien hinzuzufügen." 80 | 81 | msgid "Install provisioning with DHCP" 82 | msgstr "Bereitstellung mit DHCP installieren" 83 | 84 | msgid "Install provisioning without DHCP" 85 | msgstr "Bereitstellung ohne DHCP installieren" 86 | 87 | msgid "Installation media" 88 | msgstr "Installationsmedien" 89 | 90 | msgid "Missing registered host %s, please ensure it is checking in" 91 | msgstr "Registrierter Host %s nicht gefunden. Bitte stellen Sie sicher, dass der Host sich anmeldet" 92 | 93 | msgid "Missing registered smart proxy %s, please ensure it is registered" 94 | msgstr "Registrierter Smart Proxy %s nicht gefunden, bitte sicherstellen, dass Smart Proxy registriert ist" 95 | 96 | msgid "Network config" 97 | msgstr "Netzwerkkonfiguration" 98 | 99 | msgid "Network selection" 100 | msgstr "Netzwerkauswahl" 101 | 102 | msgid "New Host" 103 | msgstr "Neuer Host" 104 | 105 | msgid "Next" 106 | msgstr "Weiter" 107 | 108 | msgid "Next steps" 109 | msgstr "Nächste Schritte" 110 | 111 | msgid "No network interfaces listed in $interfaces fact" 112 | msgstr "Keine Netzwerkschnittstellen im Fact $interfaces angegeben" 113 | 114 | msgid "Normal installation media" 115 | msgstr "Normales Installationsmedium" 116 | 117 | msgid "Not available until pre-requisites satisified." 118 | msgstr "Nicht verfügbar, bis die Vorbedingungen erfüllt sind." 119 | 120 | msgid "Operating system" 121 | msgstr "Betriebssystem" 122 | 123 | msgid "Path or URL" 124 | msgstr "Pfad oder URL" 125 | 126 | msgid "Plugin for Foreman that helps set up provisioning." 127 | msgstr "Plugin für Foreman zur Unterstützung beim Aufsetzen der Bereitstellung " 128 | 129 | msgid "Pre-requisites" 130 | msgstr "Vorbedingungen" 131 | 132 | msgid "Provision from %s" 133 | msgstr "Bereitstellen von %s" 134 | 135 | msgid "Provisioning Setup" 136 | msgstr "Bereitstellungs-Setup" 137 | 138 | msgid "Provisioning host" 139 | msgstr "Bereitstellungshost" 140 | 141 | msgid "Provisioning network" 142 | msgstr "Bereitstellungs-Netzwerk" 143 | 144 | msgid "Provisioning setup" 145 | msgstr "Bereitstellungs-Setup" 146 | 147 | msgid "Provisioning setup complete" 148 | msgstr "Bereitstellungs-Setup abgeschlossen" 149 | 150 | msgid "Red Hat Satellite 5 or Spacewalk" 151 | msgstr "Red Hat Satellite 5 oder Spacewalk" 152 | 153 | msgid "Return to the main provisioning setup page" 154 | msgstr "Zur Hauptseite des Bereitstellungs-Setups zurückkehren" 155 | 156 | msgid "Review and edit the host group set up by the provisioning wizard" 157 | msgstr "Durch den Bereitstellungs-Assistenten aufgesetzte Hostgruppen prüfen und bearbeiten" 158 | 159 | msgid "Set up provisioning" 160 | msgstr "Bereitstellung aufsetzen" 161 | 162 | msgid "Smart proxy" 163 | msgstr "Smart Proxy" 164 | 165 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 166 | msgstr "Nun sind einige Informationen zum Standort der Installationsmedien für das Betriebssystem erforderlich, die für die Bereitstellung verwendet werden." 167 | 168 | msgid "Spacewalk hostname is missing" 169 | msgstr "Spacewalk-Hostname fehlt" 170 | 171 | msgid "Subnet" 172 | msgstr "Subnetz" 173 | 174 | msgid "Successfully associated OS %s." 175 | msgstr "OS %s erfolgreich verbunden" 176 | 177 | msgid "Successfully updated subnet %s." 178 | msgstr "Subnetz %s erfolgreich aktualisiert." 179 | 180 | msgid "The DNS domain name to provision hosts into" 181 | msgstr "Der DNS-Domänenname, in dem Hosts bereitgestellt werden" 182 | 183 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 184 | msgstr "Der Zugriff auf das gesamte Konfigurations-Setup ist im Menü \"Infrastruktur\", z.B. Infrastruktur > Subnetze, möglich und kann im Webinterface geändert werden. Über Infrastruktur > Bereitstellungs-Setup können Sie zu diesem Setup-Prozess zurückkehren, um die Einstellungen zu ändern oder neue Bereitstellungs-Ressourcen hinzuzufügen." 185 | 186 | msgid "The following operating system will be configured for provisioning:" 187 | msgstr "Folgendes Betriebssystem wird für die Bereitstellung konfiguriert:" 188 | 189 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 190 | msgstr "Dieser Assistent unterstützt Sie bei der Einrichtung von Foreman zur vollständigen Hostbereitstellung. Bevor wir beginnen, sind einige Anforderungen zu verifizieren." 191 | 192 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 193 | msgstr "Um Hosts bereitzustellen, werden einige Konfigurationswerte für die Bereitstellung des mit dem Foreman-Server verbundenen Subnetzes benötigt." 194 | 195 | msgid "Type" 196 | msgstr "Typ" 197 | 198 | msgid "Use an existing installation medium" 199 | msgstr "Vorhandenes Installationsmedium verwenden" 200 | 201 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 202 | msgstr "User, die Spacewalk, Red Hat Network, oder Red Hat Satellite 5 verwenden, sollten unten einen zugehörigen Aktivierungsschlüssel eingeben. Andernfalls bitte freilassen." 203 | -------------------------------------------------------------------------------- /locale/fr/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Claer , 2014,2016 7 | # Pierre-Emmanuel Dutang , 2014 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: foreman_setup 8.0.1\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 13 | "Last-Translator: Claer , 2014,2016\n" 14 | "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: fr\n" 19 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 100000" 20 | "0 == 0 ? 1 : 2;\n" 21 | 22 | msgid "Activation key" 23 | msgstr "Clé d'activation" 24 | 25 | msgid "Activation key configuration" 26 | msgstr "Contenu Clé d'activation" 27 | 28 | msgid "Add and manage compute resources (virtualization and cloud)" 29 | msgstr "Ajouter et gérer des ressources informatiques (virtualisation et cloud)" 30 | 31 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 32 | msgstr "Tous les composants nécessaires ont été configurés pour le support du provisionnement. Vous pouvez maintenant provisionner de nouveaux hôtes en les enregistrant à partir de la page Hôtes, puis démarrer le serveur par PXE sur le sous-réseau configuré précédemment." 33 | 34 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 35 | msgstr "Toutes les informations réseau nécessaires ont été collectées, exécutez à nouveau le programme d'installation de Foreman avec les arguments nécessaires pour configurer le provisionnement." 36 | 37 | msgid "Completion" 38 | msgstr "Achèvement" 39 | 40 | msgid "Compute Resources" 41 | msgstr "Ressources Compute" 42 | 43 | msgid "Create and provision a new host" 44 | msgstr "Créer et approvisionner un nouvel hôte" 45 | 46 | msgid "Create new installation medium" 47 | msgstr "Créer un support d'installation" 48 | 49 | msgid "Delete %s?" 50 | msgstr "Supprimer %s?" 51 | 52 | msgid "Domain" 53 | msgstr "Domaine" 54 | 55 | msgid "Domain|Name" 56 | msgstr "Nom" 57 | 58 | msgid "Edit Host Group" 59 | msgstr "Modifier Groupe Hôte" 60 | 61 | msgid "Existing medium" 62 | msgstr "Moyen existant" 63 | 64 | msgid "Foreman installer" 65 | msgstr "Contremaître installateur" 66 | 67 | msgid "Found registered host %s" 68 | msgstr "Trouvé l'hôte enregistré %s" 69 | 70 | msgid "Found registered smart proxy %s" 71 | msgstr "Trouvé smart proxy enregistré %s" 72 | 73 | msgid "Host %s has at least one network interface" 74 | msgstr "L'hôte %s possède au moins une interface réseau" 75 | 76 | msgid "Hostname" 77 | msgstr "Nom d'hôte" 78 | 79 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 80 | msgstr "Si le support d'installation a déjà été configuré, il peut être sélectionné ci-dessous et l'assistant effectuera les associations nécessaires. Sinon, utilisez les champs ci-dessous ou la page Supports d'installation de Foreman pour ajouter de nouveaux supports." 81 | 82 | msgid "Install provisioning with DHCP" 83 | msgstr "Installation du provisionnement avec DHCP" 84 | 85 | msgid "Install provisioning without DHCP" 86 | msgstr "Installer le provisionnement sans DHCP" 87 | 88 | msgid "Installation media" 89 | msgstr "Média d'installation" 90 | 91 | msgid "Missing registered host %s, please ensure it is checking in" 92 | msgstr "Il manque l'hôte enregistré %s, veuillez vous assurer qu'il est enregistré" 93 | 94 | msgid "Missing registered smart proxy %s, please ensure it is registered" 95 | msgstr "Il manque le proxy intelligent enregistré %s, veuillez vous assurer qu'il est enregistré" 96 | 97 | msgid "Network config" 98 | msgstr "Configuration du réseau" 99 | 100 | msgid "Network selection" 101 | msgstr "Sélection du réseau" 102 | 103 | msgid "New Host" 104 | msgstr "Nouveaux hôtes" 105 | 106 | msgid "Next" 107 | msgstr "Suivant" 108 | 109 | msgid "Next steps" 110 | msgstr "Prochaines étapes" 111 | 112 | msgid "No network interfaces listed in $interfaces fact" 113 | msgstr "Aucune interface réseau répertoriée dans $interfaces fact" 114 | 115 | msgid "Normal installation media" 116 | msgstr "Média d'installation" 117 | 118 | msgid "Not available until pre-requisites satisified." 119 | msgstr "Non disponible tant que les pré-requis ne sont pas satisfaits." 120 | 121 | msgid "Operating system" 122 | msgstr "Système d'exploitation" 123 | 124 | msgid "Path or URL" 125 | msgstr "Chemin ou URL" 126 | 127 | msgid "Plugin for Foreman that helps set up provisioning." 128 | msgstr "Plugin pour Foreman qui aide à mettre en place le provisionnement." 129 | 130 | msgid "Pre-requisites" 131 | msgstr "Pré-requis" 132 | 133 | msgid "Provision from %s" 134 | msgstr "Provisionner %s" 135 | 136 | msgid "Provisioning Setup" 137 | msgstr "Configuration du provisioning" 138 | 139 | msgid "Provisioning host" 140 | msgstr "Provisioning uniquement" 141 | 142 | msgid "Provisioning network" 143 | msgstr "Provisioning uniquement" 144 | 145 | msgid "Provisioning setup" 146 | msgstr "Configuration du provisioning" 147 | 148 | msgid "Provisioning setup complete" 149 | msgstr "Configuration du provisioning" 150 | 151 | msgid "Red Hat Satellite 5 or Spacewalk" 152 | msgstr "Red Hat Satellite 5 ou Spacewalk" 153 | 154 | msgid "Return to the main provisioning setup page" 155 | msgstr "Retour à la page principale de configuration du provisionnement" 156 | 157 | msgid "Review and edit the host group set up by the provisioning wizard" 158 | msgstr "Revoir et modifier le groupe d'hôtes mis en place par l'assistant de provisionnement" 159 | 160 | msgid "Set up provisioning" 161 | msgstr "Provisioning automatique" 162 | 163 | msgid "Smart proxy" 164 | msgstr "Smart proxy" 165 | 166 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 167 | msgstr "Certaines informations sur l'emplacement du support d'installation du système d'exploitation utilisé pour le provisionnement sont maintenant requises." 168 | 169 | msgid "Spacewalk hostname is missing" 170 | msgstr "Le nom d'hôte de Spacewalk est manquant" 171 | 172 | msgid "Subnet" 173 | msgstr "Sous-réseau" 174 | 175 | msgid "Successfully associated OS %s." 176 | msgstr "A réussi à associer OS %s." 177 | 178 | msgid "Successfully updated subnet %s." 179 | msgstr "Mise à jour du sous-réseau %s réussie." 180 | 181 | msgid "The DNS domain name to provision hosts into" 182 | msgstr "Le nom de domaine DNS pour provisionner les hôtes" 183 | 184 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 185 | msgstr "La configuration mise en place est accessible dans le menu Infrastructure, par exemple Infrastructure > Subnets, et peut être modifiée dans l'interface Web. Vous pouvez revenir à ce processus de configuration via Infrastructure > Provisioning Setup pour modifier les paramètres ou ajouter de nouvelles capacités de provisionnement." 186 | 187 | msgid "The following operating system will be configured for provisioning:" 188 | msgstr "Le système d'exploitation suivant sera configuré pour le provisionnement :" 189 | 190 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 191 | msgstr "Cet assistant vous aidera à configurer Foreman pour le provisionnement complet des hôtes. Avant de commencer, quelques exigences seront vérifiées." 192 | 193 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 194 | msgstr "Pour provisionner les hôtes, certaines valeurs de configuration sont nécessaires pour le sous-réseau de provisionnement attaché au serveur Foreman." 195 | 196 | msgid "Type" 197 | msgstr "Type" 198 | 199 | msgid "Use an existing installation medium" 200 | msgstr "Utiliser un support d'installation existant" 201 | 202 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 203 | msgstr "Les utilisateurs de Spacewalk, Red Hat Network ou Red Hat Satellite 5 doivent saisir une clé d'activation appropriée ci-dessous, sinon ne rien saisir." 204 | -------------------------------------------------------------------------------- /locale/ca/foreman_setup.po: -------------------------------------------------------------------------------- 1 | # foreman_setup 2 | # 3 | # This file is distributed under the same license as foreman_setup. 4 | # 5 | # Translators: 6 | # Robert Antoni Buj i Gelonch , 2017 7 | # Robert Antoni Buj i Gelonch , 2015 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: foreman_setup 8.0.1\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "PO-Revision-Date: 2014-08-20 08:30+0000\n" 13 | "Last-Translator: Robert Antoni Buj i Gelonch , 2017\n" 14 | "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)" 15 | "\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: ca\n" 20 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 21 | 22 | msgid "Activation key" 23 | msgstr "Clau d'activació" 24 | 25 | msgid "Activation key configuration" 26 | msgstr "Configuració de la clau d'activació" 27 | 28 | msgid "Add and manage compute resources (virtualization and cloud)" 29 | msgstr "Afegeix i configurar els recursos computacionals (virtualització i núvol)" 30 | 31 | msgid "All of the necessary components have been set up for provisioning support. You can now provision new hosts by registering them from the Hosts page, then PXE-boot the server on the subnet set up earlier." 32 | msgstr "Tots els components necessaris han estat preparats per a la compatibilitat amb l'aprovisionament. Ara podeu aprovisionar els amfitrions nous tot registrant-los a la pàgina «Amfitrions», després arranqueu el servidor per PXE en la subxarxa per configurar-ho més ràpid." 33 | 34 | msgid "All of the necessary network information has been collected, now run the Foreman installer again with the necessary arguments to configure provisioning." 35 | msgstr "Tota la informació de xarxa necessària ha estat recopilada, ara torneu a executar l'instal·lador de Foreman amb els arguments necessaris per a configurar l'aprovisionament." 36 | 37 | msgid "Completion" 38 | msgstr "Finalització" 39 | 40 | msgid "Compute Resources" 41 | msgstr "Recursos computacionals" 42 | 43 | msgid "Create and provision a new host" 44 | msgstr "Crea i aprovisiona un amfitrió nou" 45 | 46 | msgid "Create new installation medium" 47 | msgstr "Crea un mitjà d'instal·lació nou" 48 | 49 | msgid "Delete %s?" 50 | msgstr "Voleu suprimir %s?" 51 | 52 | msgid "Domain" 53 | msgstr "Domini" 54 | 55 | msgid "Domain|Name" 56 | msgstr "Nom" 57 | 58 | msgid "Edit Host Group" 59 | msgstr "Edita el grup d'amfitrions" 60 | 61 | msgid "Existing medium" 62 | msgstr "Mitjà existent" 63 | 64 | msgid "Foreman installer" 65 | msgstr "Instal·lador de Foreman" 66 | 67 | msgid "Found registered host %s" 68 | msgstr "S'ha trobat l'amfitrió registrat %s" 69 | 70 | msgid "Found registered smart proxy %s" 71 | msgstr "S'ha trobat el servidor intermediari intel·ligent registrat %s" 72 | 73 | msgid "Host %s has at least one network interface" 74 | msgstr "L'amfitrió %s com a mínim té una interfície de xarxa" 75 | 76 | msgid "Hostname" 77 | msgstr "Nom d'amfitrió" 78 | 79 | msgid "If installation media has already been set up, it can be selected below and the wizard will complete the necessary associations. Otherwise use the fields below, or the Installation Media page in Foreman to add new media." 80 | msgstr "Si s'ha establert el mitjà d'instal·lació, aquest es pot seleccionar a continuació, i l'assistent completarà les associacions necessàries. En cas contrari, utilitzeu els camps de sota, o la pàgina «Mitjà d'instal·lació» a Foreman per afegir mitjans nous." 81 | 82 | msgid "Install provisioning with DHCP" 83 | msgstr "Instal·la l'aprovisionament amb DHCP" 84 | 85 | msgid "Install provisioning without DHCP" 86 | msgstr "Instal·la l'aprovisionament sense DHCP" 87 | 88 | msgid "Installation media" 89 | msgstr "Mitjans d'instal·lació" 90 | 91 | msgid "Missing registered host %s, please ensure it is checking in" 92 | msgstr "Falta l'amfitrió registrat %s, si us plau, assegureu-vos que hi estigui fent comprovacions" 93 | 94 | msgid "Missing registered smart proxy %s, please ensure it is registered" 95 | msgstr "Falta el servidor intermediari intel·ligent registrat %s, si us plau, assegureu-vos que estigui registrat" 96 | 97 | msgid "Network config" 98 | msgstr "Configuració de xarxa" 99 | 100 | msgid "Network selection" 101 | msgstr "Selecció de la xarxa" 102 | 103 | msgid "New Host" 104 | msgstr "Amfitrió nou" 105 | 106 | msgid "Next" 107 | msgstr "Següent" 108 | 109 | msgid "Next steps" 110 | msgstr "Passos següents" 111 | 112 | msgid "No network interfaces listed in $interfaces fact" 113 | msgstr "No hi ha cap interfície de xarxa llistada a l'objecte d'interès $interfaces" 114 | 115 | msgid "Normal installation media" 116 | msgstr "Mitjà normal d'instal·lació" 117 | 118 | msgid "Not available until pre-requisites satisified." 119 | msgstr "No està disponible fins que no se satisfacin els prerequisits." 120 | 121 | msgid "Operating system" 122 | msgstr "Sistema operatiu" 123 | 124 | msgid "Path or URL" 125 | msgstr "Camí o URL" 126 | 127 | msgid "Plugin for Foreman that helps set up provisioning." 128 | msgstr "El connector per a Foreman que ajuda a configurar l'aprovisionament." 129 | 130 | msgid "Pre-requisites" 131 | msgstr "Prerequisits" 132 | 133 | msgid "Provision from %s" 134 | msgstr "Aprovisionament des de %s" 135 | 136 | msgid "Provisioning Setup" 137 | msgstr "Preparació d'aprovisionament" 138 | 139 | msgid "Provisioning host" 140 | msgstr "Amfitrió d'aprovisionament" 141 | 142 | msgid "Provisioning network" 143 | msgstr "Xarxa d'aprovisionament" 144 | 145 | msgid "Provisioning setup" 146 | msgstr "Preparació d'aprovisionament" 147 | 148 | msgid "Provisioning setup complete" 149 | msgstr "S'ha completat la preparació d'aprovisionament" 150 | 151 | msgid "Red Hat Satellite 5 or Spacewalk" 152 | msgstr "Red Hat Satellite 5 o Spacewalk" 153 | 154 | msgid "Return to the main provisioning setup page" 155 | msgstr "Torna a la pàgina principal de la preparació d'aprovisionament" 156 | 157 | msgid "Review and edit the host group set up by the provisioning wizard" 158 | msgstr "Reviseu i editeu el grup d'amfitrions que s'ha configurat amb l'assistent d'aprovisionament" 159 | 160 | msgid "Set up provisioning" 161 | msgstr "Configura l'aprovisionament" 162 | 163 | msgid "Smart proxy" 164 | msgstr "Servidor intermediari intel·ligent" 165 | 166 | msgid "Some information about the location of installation media for the operating system used for provisioning is now required." 167 | msgstr "Ara es requereix una part de la informació sobre la ubicació dels mitjans d'instal·lació per al sistema operatiu que s'utilitza per a l'aprovisionament." 168 | 169 | msgid "Spacewalk hostname is missing" 170 | msgstr "Falta en nom d'amfitrió de Spacewalk" 171 | 172 | msgid "Subnet" 173 | msgstr "Subxarxa" 174 | 175 | msgid "Successfully associated OS %s." 176 | msgstr "S'ha associat correctament el SO %s." 177 | 178 | msgid "Successfully updated subnet %s." 179 | msgstr "S'ha actualitzat correctament la subxarxa %s." 180 | 181 | msgid "The DNS domain name to provision hosts into" 182 | msgstr "El nom de domini DNS per aprovisionar-hi els amfitrions" 183 | 184 | msgid "The configuration set up is all accessible under the Infrastructure menu, e.g. Infrastructure > Subnets, and can be changed in the web interface. You can return to this set up process through Infrastructure > Provisioning Setup to change settings or add new provisioning capabilities." 185 | msgstr "La configuració preparada està accessible sota el menú d'Infraestructura, és a dir, Infraestructura > Subxarxes, i es pot canviar en la interfície web. Podeu tornar a aquest procés de configuració a través d'Infraestructura > Configuració d'aprovisionament, per canviar la configuració o per afegir-hi noves capacitats d'aprovisionament." 186 | 187 | msgid "The following operating system will be configured for provisioning:" 188 | msgstr "El següent sistema operatiu serà configurat per a l'aprovisionament:" 189 | 190 | msgid "This wizard will help set up Foreman for full host provisioning. Before we begin, a few requirements will be verified." 191 | msgstr "Aquest assistent us ajudarà a configurar Foreman per a l'aprovisionament complet dels amfitrions. Abans de començar, es verificaran alguns requisits." 192 | 193 | msgid "To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server." 194 | msgstr "Per aprovisionar els amfitrions, es requereix una part dels valors de la configuració, per a l'aprovisionament de la subxarxa adjuntada al servidor de Foreman." 195 | 196 | msgid "Type" 197 | msgstr "Tipus" 198 | 199 | msgid "Use an existing installation medium" 200 | msgstr "Utilitza un mitjà existent d'instal·lació" 201 | 202 | msgid "Users of Spacewalk, Red Hat Network, or Red Hat Satellite 5 should enter an appropriate activation key below, otherwise leave blank." 203 | msgstr "Els usuaris de Spacewalk, Red Hat Network o Red Hat Satellite 5, han d'introduir una clau d'activació apropiada a continuació, en cas contrari deixeu-ho en blanc." 204 | -------------------------------------------------------------------------------- /app/controllers/foreman_setup/provisioners_controller.rb: -------------------------------------------------------------------------------- 1 | require 'facter' 2 | 3 | module ForemanSetup 4 | class ProvisionersController < ::ApplicationController 5 | include Foreman::Controller::ProvisioningTemplates 6 | include Foreman::Controller::Parameters::Medium 7 | include Foreman::Controller::Parameters::Subnet 8 | include Foreman::Renderer 9 | 10 | before_action :find_myself, :only => [:new, :create] 11 | before_action :find_resource, :except => [:index, :new, :create] 12 | 13 | def index 14 | @provisioners = Provisioner.all.paginate :page => params[:page] 15 | redirect_to new_foreman_setup_provisioner_path unless @provisioners.any? 16 | end 17 | 18 | def destroy 19 | @provisioner = Provisioner.find(params[:id]) 20 | if @provisioner.destroy 21 | process_success :success_redirect => foreman_setup_provisioners_path 22 | else 23 | process_error 24 | end 25 | end 26 | 27 | def new 28 | @provisioner = Provisioner.new(:host => @host, :smart_proxy => @proxy) 29 | end 30 | 31 | def create 32 | @provisioner = Provisioner.new(provisioner_params) 33 | if @provisioner.save 34 | redirect_to step2_foreman_setup_provisioner_path(@provisioner) 35 | else 36 | @provisioner.host = @host 37 | @provisioner.smart_proxy = @proxy 38 | process_error :render => 'foreman_setup/provisioners/new', :object => @provisioner 39 | end 40 | end 41 | 42 | # Basic model created, now fill in nested subnet/domain info using selected interface 43 | def step2 44 | network = @provisioner.provision_interface_data 45 | @provisioner.subnet ||= Subnet.find_by_network(network[:network]) 46 | @provisioner.subnet ||= Subnet.new(network.slice(:network, :mask).merge( 47 | :dns_primary => @provisioner.provision_interface_data[:ip] 48 | )) 49 | 50 | @provisioner.domain ||= @provisioner.host.domain 51 | @provisioner.domain ||= Domain.new(:name => 'example.com') 52 | end 53 | 54 | def step2_update 55 | @provisioner.hostgroup ||= Hostgroup.where(:name => _("Provision from %s") % @provisioner.fqdn).first_or_create 56 | @provisioner.subnet ||= Subnet.find_by_id(params['foreman_setup_provisioner']['subnet_attributes']['id']) 57 | domain_name = provisioner_params['domain_name'] 58 | @provisioner.domain = Domain.find_by_name(domain_name) 59 | @provisioner.domain ||= Domain.new(:name => domain_name) 60 | 61 | if @provisioner.update(provisioner_params) 62 | @provisioner.subnet.domains << @provisioner.domain unless @provisioner.subnet.domains.include? @provisioner.domain 63 | process_success :success_msg => _("Successfully updated subnet %s.") % @provisioner.subnet.name, :success_redirect => step3_foreman_setup_provisioner_path 64 | else 65 | process_error :render => 'foreman_setup/provisioners/step2', :object => @provisioner, :redirect => step2_foreman_setup_provisioner_path 66 | end 67 | end 68 | 69 | # foreman-installer info screen 70 | def step3 71 | end 72 | 73 | # Installer completed, start associating data, begin install media setup 74 | def step4 75 | # Refresh proxy features (1.4 versus 1.3 techniques) 76 | proxy = @provisioner.smart_proxy 77 | proxy.respond_to?(:refresh) ? proxy.refresh : proxy.ping 78 | proxy.save! 79 | 80 | # Associate as much as possible 81 | if proxy.features.include? Feature.find_by_name('DNS') 82 | @provisioner.domain.dns_id ||= proxy.id 83 | @provisioner.subnet.dns_id ||= proxy.id 84 | end 85 | if proxy.features.include? Feature.find_by_name('DHCP') 86 | @provisioner.subnet.dhcp_id ||= proxy.id 87 | end 88 | if proxy.features.include? Feature.find_by_name('TFTP') 89 | @provisioner.subnet.tftp_id ||= proxy.id 90 | end 91 | @provisioner.save! 92 | 93 | # Helpful fix to work around #3210 94 | url = Setting.find_by_name('foreman_url') 95 | url.value ||= Facter.value(:fqdn) 96 | url.save! 97 | 98 | # Build default PXE menu 99 | status, msg = ProvisioningTemplate.build_pxe_default 100 | warning msg unless status == 200 101 | 102 | @provisioner.hostgroup.medium ||= @provisioner.host.os.media.first 103 | @medium = Medium.new(provisioner_params.try(:[], 'medium_attributes')) 104 | end 105 | 106 | def step4_update 107 | medium_id = params['foreman_setup_provisioner']['hostgroup_attributes'].try(:[], 'medium_id') 108 | if medium_id.to_i.positive? 109 | @medium = Medium.find(medium_id) || raise('unable to find medium') 110 | else 111 | @provisioner.hostgroup.medium_id = nil 112 | @medium = Medium.new(provisioner_params['create_medium'].slice(:name, :path)) 113 | end 114 | 115 | # Associate medium with the host OS 116 | @medium.os_family ||= @provisioner.host.os.type 117 | @medium.operatingsystems << @provisioner.host.os unless @medium.operatingsystems.include? @provisioner.host.os 118 | unless @medium.save 119 | process_error :render => 'foreman_setup/provisioners/step4', :object => @provisioner, :redirect => step4_foreman_setup_provisioner_path 120 | return 121 | end 122 | 123 | # Associate templates with OS and vice-versa 124 | if @provisioner.host.os.family&.casecmp('Redhat')&.zero? 125 | tmpl_name = 'Kickstart' 126 | provision_tmpl_name = @provisioner.host.os.name.casecmp('Redhat').zero? ? 'Kickstart RHEL' : tmpl_name 127 | ipxe_tmpl_name = 'Kickstart' 128 | finish_tmpl_name = 'Kickstart default finish' 129 | ptable_name = 'Kickstart default' 130 | elsif @provisioner.host.os.family == 'Debian' 131 | tmpl_name = provision_tmpl_name = 'Preseed' 132 | finish_tmpl_name = 'Preseed default finish' 133 | ptable_name = 'Preseed default' 134 | end 135 | 136 | {'provision' => provision_tmpl_name, 'PXELinux' => tmpl_name, 'iPXE' => ipxe_tmpl_name, 'finish' => finish_tmpl_name}.each do |kind_name, tmpl_name| 137 | next if tmpl_name.blank? 138 | 139 | kind = TemplateKind.find_by_name(kind_name) 140 | tmpls = ProvisioningTemplate.where('name LIKE ?', "#{tmpl_name}%").where(:template_kind_id => kind.id) 141 | tmpls.any? || raise("cannot find template for #{@provisioner.host.os}") 142 | 143 | # prefer foreman_bootdisk templates 144 | tmpl = tmpls.where("name LIKE '%sboot disk%s'").first || tmpls.first 145 | 146 | tmpl.operatingsystems << @provisioner.host.os unless tmpl.operatingsystems.include? @provisioner.host.os 147 | tmpl.save! 148 | 149 | unless @provisioner.host.os.os_default_templates.where(:template_kind_id => kind.id).any? 150 | @provisioner.host.os.os_default_templates.build(:template_kind_id => kind.id, :provisioning_template_id => tmpl.id) 151 | end 152 | end 153 | 154 | @provisioner.host.os.architectures << @provisioner.host.architecture unless @provisioner.host.os.architectures.include? @provisioner.host.architecture 155 | @provisioner.host.os.save! 156 | 157 | ptable = Ptable.where('name LIKE ?', "#{ptable_name}%").first || raise("cannot find ptable for #{@provisioner.host.os}") 158 | ptable.operatingsystems << @provisioner.host.os unless ptable.operatingsystems.include? @provisioner.host.os 159 | ptable.save! 160 | 161 | @provisioner.hostgroup.medium_id = @medium.id 162 | @provisioner.hostgroup.ptable_id ||= ptable.id 163 | @provisioner.hostgroup.save! 164 | 165 | process_success :success_msg => _("Successfully associated OS %s.") % @provisioner.host.os.to_s, :success_redirect => step5_foreman_setup_provisioner_path 166 | end 167 | 168 | private 169 | 170 | # foreman_setup manages only itself at the moment, so ensure we always have a reference to 171 | # the Host and SmartProxy on this server 172 | def find_myself 173 | fqdn = Facter.value(:fqdn) 174 | @host = Host.find_by_name(fqdn) 175 | @proxy = SmartProxy.all.find { |p| URI.parse(p.url).host == fqdn } 176 | end 177 | 178 | def find_resource 179 | @provisioner = Provisioner.authorized(:edit_provisioning).find(params[:id]) or raise('unknown id') 180 | end 181 | 182 | def provisioner_params 183 | @provisioner_params ||= 184 | begin 185 | medium_attrs = self.class.medium_params_filter.filter(parameter_filter_context) 186 | subnet_attrs = self.class.subnet_params_filter.filter(parameter_filter_context) 187 | 188 | params.permit(:'foreman_setup_provisioner' => [ 189 | :domain_name, 190 | :host, 191 | :host_id, 192 | :provision_interface, 193 | :smart_proxy, 194 | :smart_proxy_id, 195 | :subnet, 196 | :create_medium => medium_attrs, 197 | :hostgroup_attributes => [:id], 198 | :medium_attributes => medium_attrs, 199 | :subnet_attributes => subnet_attrs, 200 | ])['foreman_setup_provisioner'] 201 | end 202 | end 203 | end 204 | end 205 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | --------------------------------------------------------------------------------