foreman_puppet 0.1.0 → 1.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman_puppet/extensions/api_base_controller.rb +28 -0
  3. data/app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb +1 -1
  4. data/app/controllers/foreman_puppet/api/v2/config_groups_controller.rb +5 -1
  5. data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +1 -2
  6. data/app/controllers/foreman_puppet/api/v2/host_classes_controller.rb +5 -1
  7. data/app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb +5 -1
  8. data/app/controllers/foreman_puppet/api/v2/override_values_controller.rb +1 -2
  9. data/app/controllers/foreman_puppet/api/v2/{base_controller.rb → puppet_base_controller.rb} +2 -3
  10. data/app/controllers/foreman_puppet/api/v2/{lookups_common_controller.rb → puppet_lookups_common_controller.rb} +6 -2
  11. data/app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb +5 -1
  12. data/app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb +1 -2
  13. data/app/controllers/foreman_puppet/puppetclasses_controller.rb +9 -2
  14. data/app/graphgl/concerns/foreman_puppet/mutations/hosts/create_extensions.rb +29 -0
  15. data/app/graphgl/concerns/foreman_puppet/types/host_extensions.rb +13 -0
  16. data/app/graphgl/concerns/foreman_puppet/types/hostgroup_extensions.rb +13 -0
  17. data/app/graphgl/concerns/foreman_puppet/types/location_extensions.rb +14 -0
  18. data/app/graphgl/concerns/foreman_puppet/types/organization_extensions.rb +14 -0
  19. data/app/graphgl/foreman_puppet/types/environment.rb +20 -0
  20. data/app/graphgl/foreman_puppet/types/puppetclass.rb +20 -0
  21. data/app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb +1 -1
  22. data/app/helpers/foreman_puppet/puppetclasses_helper.rb +2 -2
  23. data/app/models/concerns/foreman_puppet/extensions/host.rb +6 -4
  24. data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +6 -2
  25. data/app/models/concerns/foreman_puppet/extensions/operatingsystem.rb +1 -1
  26. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +16 -10
  27. data/app/models/concerns/foreman_puppet/extensions/taxonomy.rb +1 -1
  28. data/app/models/foreman_puppet/environment.rb +2 -0
  29. data/app/models/foreman_puppet/host_puppet_facet.rb +1 -1
  30. data/app/models/foreman_puppet/hostgroup_puppet_facet.rb +1 -1
  31. data/app/models/{concerns/foreman_puppet/host_common.rb → foreman_puppet/puppet_facet_common.rb} +1 -1
  32. data/app/models/foreman_puppet/puppetclass.rb +2 -0
  33. data/app/{views/api/v2/template_combinations/base.json.erb → prepend_views/api/v2/template_combinations/base.json.rabl} +0 -0
  34. data/app/services/foreman_puppet/puppet_class_importer.rb +3 -4
  35. data/app/views/foreman_puppet/config_groups/index.html.erb +2 -2
  36. data/app/views/foreman_puppet/config_groups/welcome.html.erb +12 -11
  37. data/app/views/foreman_puppet/environments/welcome.html.erb +3 -15
  38. data/app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb +10 -8
  39. data/config/initializers/api_reroute.rb +13 -0
  40. data/db/migrate/20200803113903_migrate_host_type_in_host_config_groups.foreman_puppet.rb +16 -10
  41. data/lib/foreman_puppet.rb +1 -1
  42. data/lib/foreman_puppet/engine.rb +48 -16
  43. data/lib/foreman_puppet/register.rb +5 -0
  44. data/lib/foreman_puppet/version.rb +1 -1
  45. data/locale/en/foreman_puppet.edit.po +927 -0
  46. data/locale/en/foreman_puppet.po.time_stamp +0 -0
  47. data/locale/en/foreman_puppet.pox +0 -0
  48. data/locale/messages.mo +0 -0
  49. data/test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb +7 -3
  50. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +17 -15
  51. data/test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb +2 -1
  52. data/test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb +1 -1
  53. data/test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb +3 -0
  54. data/test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb +7 -1
  55. data/test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb +2 -2
  56. data/test/controllers/foreman_puppet/config_groups_controller_test.rb +7 -3
  57. data/test/controllers/foreman_puppet/environments_controller_test.rb +1 -1
  58. data/test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb +2 -2
  59. data/test/controllers/foreman_puppet/puppetclasses_controller_test.rb +5 -6
  60. data/test/factories/host_puppet_enhancements.rb +6 -6
  61. data/test/graphql/mutations/hosts/create_mutation_test.rb +66 -0
  62. data/test/graphql/queries/environment_query_test.rb +54 -0
  63. data/test/graphql/queries/environments_query_test.rb +43 -0
  64. data/test/{qraphql → graphql}/queries/host_puppet_query_test.rb +3 -8
  65. data/test/{qraphql → graphql}/queries/hostgroup_puppet_query_test.rb +1 -6
  66. data/test/graphql/queries/location_query_test.rb +52 -0
  67. data/test/graphql/queries/organization_query_test.rb +52 -0
  68. data/test/graphql/queries/puppetclass_query_test.rb +68 -0
  69. data/test/graphql/queries/puppetclasses_query_test.rb +43 -0
  70. data/test/integration/foreman_puppet/environment_js_test.rb +4 -1
  71. data/test/integration/foreman_puppet/host_js_test.rb +1 -1
  72. data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -0
  73. data/test/models/foreman_puppet/config_group_class_test.rb +3 -1
  74. data/test/models/foreman_puppet/environment_test.rb +2 -0
  75. data/test/models/foreman_puppet/host_test.rb +3 -2
  76. data/test/models/foreman_puppet/hostgroup_puppet_facet_test.rb +2 -3
  77. data/test/models/foreman_puppet/provisioning_template_test.rb +23 -23
  78. data/test/models/foreman_puppet/smart_proxy_test.rb +1 -1
  79. data/test/models/foreman_puppet/user_test.rb +13 -5
  80. data/test/services/foreman_puppet/host_info_providers/puppet_info_test.rb +0 -36
  81. data/test/unit/foreman_puppet/puppet_class_importer_test.rb +3 -1
  82. data/webpack/index.js +3 -4
  83. data/webpack/src/Components/Environments/Welcome.js +37 -0
  84. metadata +78 -50
@@ -6,7 +6,7 @@ module ForemanPuppet
6
6
  included do
7
7
  has_many :environments, through: :taxable_taxonomies, source: :taxable, source_type: 'ForemanPuppet::Environment'
8
8
 
9
- has_many :puppetclasses, through: :environments
9
+ has_many :puppetclasses, through: :environments, class_name: 'ForemanPuppet::Puppetclass'
10
10
  end
11
11
 
12
12
  def dup
@@ -2,6 +2,8 @@ module ForemanPuppet
2
2
  class Environment < ApplicationRecord
3
3
  self.table_name = 'environments'
4
4
 
5
+ graphql_type 'ForemanPuppet::Types::Environment'
6
+
5
7
  audited
6
8
  extend FriendlyId
7
9
  friendly_id :name, reserved_words: []
@@ -4,7 +4,7 @@ module ForemanPuppet
4
4
  audited associated_with: :host
5
5
 
6
6
  include Facets::Base
7
- include ForemanPuppet::HostCommon
7
+ include ForemanPuppet::PuppetFacetCommon
8
8
 
9
9
  has_many :host_classes, dependent: :destroy, class_name: 'ForemanPuppet::HostClass'
10
10
  has_many :puppetclasses, through: :host_classes
@@ -61,7 +61,7 @@ module ForemanPuppet
61
61
  audited associated_with: :hostgroup
62
62
  self.table_name = 'hostgroup_puppet_facets'
63
63
 
64
- include ForemanPuppet::HostCommon
64
+ include ForemanPuppet::PuppetFacetCommon
65
65
  include Facets::HostgroupFacet
66
66
 
67
67
  has_many :hostgroup_classes, dependent: :destroy
@@ -1,7 +1,7 @@
1
1
  module ForemanPuppet
2
2
  # Common methods between host and hostgroup
3
3
  # mostly for template rendering consistency
4
- module HostCommon
4
+ module PuppetFacetCommon
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  included do
@@ -2,6 +2,8 @@ module ForemanPuppet
2
2
  class Puppetclass < ApplicationRecord
3
3
  self.table_name = 'puppetclasses'
4
4
 
5
+ graphql_type 'ForemanPuppet::Types::Puppetclass'
6
+
5
7
  audited
6
8
  include Authorizable
7
9
  include ScopedSearchExtensions
@@ -162,7 +162,7 @@ module ForemanPuppet
162
162
  end
163
163
 
164
164
  def db_environments
165
- @db_environments ||= (Environment.pluck('environments.name') - ignored_environments)
165
+ @db_environments ||= (Environment.pluck(:name) - ignored_environments)
166
166
  end
167
167
 
168
168
  def actual_environments
@@ -313,10 +313,9 @@ module ForemanPuppet
313
313
  Host.where(environment_id: env).update_all(environment_id: nil)
314
314
  Hostgroup.where(environment_id: env).update_all(environment_id: nil)
315
315
  # rubocop:enable Rails/SkipsModelValidations
316
-
317
- # we can't guaranty that the env would be removed as it might have hosts attached to it.
318
- env.destroy if klasses.include? '_destroy_'
319
316
  end
317
+ # we can't guaranty that the env would be removed as it might have hosts attached to it.
318
+ env.destroy if klasses.include? '_destroy_'
320
319
  # remove all klasses that have no environment now
321
320
  classes.not_in_any_environment.destroy_all
322
321
  end
@@ -17,12 +17,12 @@
17
17
  <tbody>
18
18
  <% @config_groups.each do |config_group| %>
19
19
  <tr>
20
- <td class="ellipsis"><%= link_to_if_authorized config_group.name, hash_for_edit_config_group_path(config_group).merge(:auth_object => config_group, :authorizer => authorizer) %></td>
20
+ <td class="ellipsis"><%= link_to_if_authorized config_group.name, hash_for_edit_config_group_path(config_group).merge(engine: foreman_puppet, :auth_object => config_group, :authorizer => authorizer) %></td>
21
21
  <td><%= link_to config_group.puppetclasses.size, puppetclasses_path(:search => %Q{config_group = "#{config_group}"}) %></td>
22
22
  <td><%= link_to config_group.hosts_count, main_app.hosts_path(:search => %Q{config_group = "#{config_group}"}) %></td>
23
23
  <td><%= link_to config_group.hostgroups_count, main_app.hostgroups_path(:search => %Q{config_group = "#{config_group}"}) %></td>
24
24
  <td><%= action_buttons(
25
- display_delete_if_authorized(hash_for_config_group_path(config_group).merge(:auth_object => config_group, :authorizer => authorizer), :data => { :confirm => _('Delete %s?') % config_group.name }))%>
25
+ display_delete_if_authorized(hash_for_config_group_path(config_group).merge(engine: foreman_puppet, :auth_object => config_group, :authorizer => authorizer), :data => { :confirm => _('Delete %s?') % config_group.name }))%>
26
26
  </td>
27
27
  </tr>
28
28
  <% end %>
@@ -1,12 +1,13 @@
1
1
  <% title _("Config Groups") %>
2
- <div class="blank-slate-pf">
3
- <div class="blank-slate-pf-icon">
4
- <%= icon_text("object-group", "", kind: "fa") %>
5
- </div>
6
- <h1><%= _('Config Groups') %></h1>
7
- <p><%= _("A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step.") %></p>
8
- <p><%= link_to _('Learn more about this in the documentation.'), documentation_url("using-config-groups")%></p>
9
- <div class="blank-slate-pf-main-action">
10
- <%= new_link(_("Create Config Group"), { engine: foreman_puppet }, { class: 'btn-lg' }) %>
11
- </div>
12
- </div>
2
+
3
+ <%= webpacked_plugins_js_for :foreman_puppet %>
4
+ <% description = _("A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step.")%>
5
+ <% action = { :title => _("Create Config Group"), :url => new_config_group_path } if authorized_for(:action => :new)%>
6
+ <%= react_component('EmptyState', {
7
+ :icon => 'object-group',
8
+ :iconType => 'fa',
9
+ :header => _('Config Groups'),
10
+ :description => description,
11
+ :documentation => { :url => documentation_url("using-config-groups") },
12
+ :action => action
13
+ }) %>
@@ -1,16 +1,4 @@
1
1
  <% content_for(:title, _("Puppet environments")) %>
2
- <div class="blank-slate-pf">
3
- <div class="blank-slate-pf-icon">
4
- <%= icon_text("th", '', kind: "fa") %>
5
- </div>
6
- <h1><%= _('Environments') %></h1>
7
- <p><%= _("If you are planning to use Foreman as an external node classifier you should provide information about one or more environments. This information is commonly imported from a pre-existing Puppet configuration by the use of the %{link_start}Puppet classes and environment importer%{link_end}.").html_safe % { link_start: tag(:a, href: documentation_url("4.2.2Classes"), rel: 'external'), link_end: '</a>'.html_safe } %>
8
- </p>
9
- <p><%= link_to(_('Learn more about this in the documentation.'), documentation_url("4.2.1Environments")) %></p>
10
- <div class="blank-slate-pf-main-action">
11
- <%= new_link(_('Create Puppet Environment'), { engine: foreman_puppet }, { class: "btn-lg" }) %>
12
- </div>
13
- <div class="blank-slate-pf-secondary-action">
14
- <%= import_proxy_select(hash_for_import_environments_environments_path.merge(engine: foreman_puppet)) %>
15
- </div>
16
- </div>
2
+
3
+ <%= webpacked_plugins_js_for :foreman_puppet %>
4
+ <%= react_component('WelcomeEnv', {canCreate: authorized_for(action: :new)}) %>
@@ -1,9 +1,11 @@
1
1
  <% title _("Smart Class Parameters") %>
2
- <div class="blank-slate-pf">
3
- <div class="blank-slate-pf-icon">
4
- <%= icon_text("info-circle", "", :kind => "fa") %>
5
- </div>
6
- <h1><%= _('Smart Class Parameters') %></h1>
7
- <p><%= _("Parameterized class support permits detecting, importing, and supplying parameters directly to classes which support it, via the ENC and depending on a set of rules (Smart Matchers).") %></p>
8
- <p><%= link_to _('Learn more about this in the documentation.'), documentation_url("4.2.5ParameterizedClasses")%></p>
9
- </div>
2
+
3
+ <%= webpacked_plugins_js_for :foreman_puppet %>
4
+ <% description = _("Parameterized class support permits detecting, importing, and supplying parameters directly to classes which support it, via the ENC and depending on a set of rules (Smart Matchers).")%>
5
+ <%= react_component('EmptyState', {
6
+ :icon => 'info-circle',
7
+ :iconType => 'fa',
8
+ :header => _('Smart Class Parameters'),
9
+ :description => description,
10
+ :documentation => { :url => documentation_url("4.2.5ParameterizedClasses") },
11
+ }) %>
@@ -0,0 +1,13 @@
1
+ Foreman::Application.routes.prepend do
2
+ namespace :api, defaults: { format: 'json' } do
3
+ scope '(:apiv)', module: :v2, defaults: { apiv: 'v2' }, apiv: /v2/, constraints: ApiConstraints.new(version: 2, default: true) do
4
+ resources :puppetclasses, controller: '/foreman_puppet/api/v2/puppetclasses', except: %i[new edit]
5
+ resources :environments, controller: '/foreman_puppet/api/v2/environments', except: %i[new edit]
6
+ resources :hosts, controller: '/foreman_puppet/api/v2/hosts', only: []
7
+ resources :hostgroups, controller: '/foreman_puppet/api/v2/hostgroups', only: %i[]
8
+ resources :config_groups, controller: '/foreman_puppet/api/v2/config_groups', except: %i[new edit]
9
+ resources :smart_class_parameters, controller: '/foreman_puppet/api/v2/smart_class_parameters', except: %i[new edit]
10
+ resources :override_values, controller: '/foreman_puppet/api/v2/override_values', except: %i[new edit]
11
+ end
12
+ end
13
+ end
@@ -1,29 +1,35 @@
1
1
  class MigrateHostTypeInHostConfigGroups < ActiveRecord::Migration[6.0]
2
+ class FakeHostConfigGroup < ::ApplicationRecord
3
+ self.table_name = 'host_config_groups'
4
+ end
5
+
2
6
  def up
3
- host_config_group_ids = HostConfigGroup.where(host_type: %w[Host::Base Host::Managed]).pluck(:host_id).uniq
7
+ host_config_group_ids = FakeHostConfigGroup.where(host_type: %w[Host::Base Host::Managed]).pluck(:host_id).uniq
4
8
  host_config_group_ids.each do |host_id|
5
9
  host_facet_id = ForemanPuppet::HostPuppetFacet.where(host_id: host_id).pick(:id)
6
- HostConfigGroup.where(host_type: %w[Host::Base Host::Managed], host_id: host_id).update_all(host_type: 'ForemanPuppet::HostPuppetFacet', host_id: host_facet_id)
10
+ FakeHostConfigGroup.where(host_type: %w[Host::Base Host::Managed], host_id: host_id)
11
+ .update_all(host_type: 'ForemanPuppet::HostPuppetFacet', host_id: host_facet_id)
7
12
  end
8
- hostgroup_config_group_ids = HostConfigGroup.where(host_type: 'Hostgroup').pluck(:host_id).uniq
13
+ hostgroup_config_group_ids = FakeHostConfigGroup.where(host_type: 'Hostgroup').pluck(:host_id).uniq
9
14
  hostgroup_config_group_ids.each do |hostgroup_id|
10
15
  hostgroup_facet_id = ForemanPuppet::HostgroupPuppetFacet.where(hostgroup_id: hostgroup_id).pick(:id)
11
- HostConfigGroup.where(host_type: 'Hostgroup', host_id: hostgroup_id).update_all(host_type: 'ForemanPuppet::HostgroupPuppetFacet', host_id: hostgroup_facet_id)
16
+ FakeHostConfigGroup.where(host_type: 'Hostgroup', host_id: hostgroup_id)
17
+ .update_all(host_type: 'ForemanPuppet::HostgroupPuppetFacet', host_id: hostgroup_facet_id)
12
18
  end
13
19
  end
14
20
 
15
21
  def down
16
- host_config_group_ids = HostConfigGroup.where(host_type: 'ForemanPuppet::HostPuppetFacet').pluck(:host_id).uniq
22
+ host_config_group_ids = FakeHostConfigGroup.where(host_type: 'ForemanPuppet::HostPuppetFacet').pluck(:host_id).uniq
17
23
  host_facet_ids = ForemanPuppet::HostPuppetFacet.where(id: host_config_group_ids).pluck(:id, :host_id).to_h
18
24
  host_config_group_ids.each do |host_puppet_facet_id|
19
- HostConfigGroup.where(host_type: 'ForemanPuppet::HostPuppetFacet', host_id: host_puppet_facet_id)
20
- .update_all(host_type: 'Host::Managed', host_id: host_facet_ids[host_puppet_facet_id])
25
+ FakeHostConfigGroup.where(host_type: 'ForemanPuppet::HostPuppetFacet', host_id: host_puppet_facet_id)
26
+ .update_all(host_type: 'Host::Managed', host_id: host_facet_ids[host_puppet_facet_id])
21
27
  end
22
- hostgroup_config_group_ids = HostConfigGroup.where(host_type: 'ForemanPuppet::HostgroupPuppetFacet').pluck(:host_id).uniq
28
+ hostgroup_config_group_ids = FakeHostConfigGroup.where(host_type: 'ForemanPuppet::HostgroupPuppetFacet').pluck(:host_id).uniq
23
29
  hostgroup_facet_ids = ForemanPuppet::HostgroupPuppetFacet.where(id: hostgroup_config_group_ids).pluck(:id, :hostgroup_id).to_h
24
30
  hostgroup_config_group_ids.each do |hostgroup_facet_id|
25
- HostConfigGroup.where(host_type: 'ForemanPuppet::HostgroupPuppetFacet', host_id: hostgroup_facet_id)
26
- .update_all(host_type: 'Hostgroup', host_id: hostgroup_facet_ids[hostgroup_facet_id])
31
+ FakeHostConfigGroup.where(host_type: 'ForemanPuppet::HostgroupPuppetFacet', host_id: hostgroup_facet_id)
32
+ .update_all(host_type: 'Hostgroup', host_id: hostgroup_facet_ids[hostgroup_facet_id])
27
33
  end
28
34
  end
29
35
  end
@@ -2,7 +2,7 @@ module ForemanPuppet
2
2
  FOREMAN_EXTRACTION_VERSION = '3.0'.freeze
3
3
 
4
4
  def self.extracted_from_core?
5
- ENV['PUPPET_EXTRACTED'] == '1' ||
5
+ ENV['PUPPET_EXTRACTED'].to_s == '1' ||
6
6
  Gem::Dependency.new('', ">= #{FOREMAN_EXTRACTION_VERSION}").match?('', SETTINGS[:version].notag)
7
7
  end
8
8
  end
@@ -1,5 +1,24 @@
1
1
  module ForemanPuppet
2
2
  class Engine < ::Rails::Engine
3
+ config.before_configuration do
4
+ unless ForemanPuppet.extracted_from_core?
5
+ require 'graphql'
6
+
7
+ module BaseObjectClassMethodPath
8
+ def field(*args, **kwargs, &block)
9
+ return if args.first == :environment && args.second.to_s == 'Types::Environment'
10
+ return if args.first == :environments && args.second.node_type.to_s == 'Types::Environment'
11
+ return if args.first == :puppetclass && args.second.to_s == 'Types::Puppetclass'
12
+ return if args.first == :puppetclasses && args.second.node_type.to_s == 'Types::Puppetclass'
13
+
14
+ super
15
+ end
16
+ end
17
+
18
+ GraphQL::Types::Relay::BaseObject.extend(BaseObjectClassMethodPath)
19
+ end
20
+ end
21
+
3
22
  engine_name 'foreman_puppet'
4
23
  isolate_namespace ForemanPuppet
5
24
 
@@ -25,39 +44,44 @@ module ForemanPuppet
25
44
 
26
45
  initializer 'foreman_puppet.patch_parameters' do
27
46
  # Parameters should go ASAP as they need to be applied before they are included in core controller
28
- Foreman::Controller::Parameters::Host.include ForemanPuppet::Extensions::ParametersHost
29
- Foreman::Controller::Parameters::Hostgroup.include ForemanPuppet::Extensions::ParametersHostgroup
30
47
  Foreman::Controller::Parameters::TemplateCombination.include ForemanPuppet::Extensions::ParametersTemplateCombination
31
48
  end
32
49
 
33
50
  # Include concerns in this config.to_prepare block
51
+ # rubocop:disable Metrics/BlockLength
34
52
  config.to_prepare do
35
53
  # Facets extenstion is applied too early - before the Hostgroup is complete
36
54
  # We redefine thing, so we need to wait until complete definition of Hostgroup
37
55
  # thus separate patching instead of using facet patching
38
- Hostgroup.include ForemanPuppet::Extensions::Hostgroup
56
+ ::Hostgroup.include ForemanPuppet::Extensions::Hostgroup
39
57
 
40
58
  # include_in_clone that is used in core Facets::ManagedHostExtensions doesn't support nested objects
41
59
  # we need to run our include_in_clone after, so the puppet without nested objects doesnt override the one including them
42
- Host::Managed.include ForemanPuppet::Extensions::Host
60
+ ::Host::Managed.include ForemanPuppet::Extensions::Host
43
61
 
44
- LookupValue.include ForemanPuppet::PuppetLookupValueExtensions
45
- Operatingsystem.include ForemanPuppet::Extensions::Operatingsystem
46
- Nic::Managed.include ForemanPuppet::Extensions::NicManaged
47
- Report.include ForemanPuppet::Extensions::Report
48
- Taxonomy.include ForemanPuppet::Extensions::Taxonomy
49
- User.include ForemanPuppet::Extensions::User
50
- TemplateCombination.include ForemanPuppet::Extensions::TemplateCombination
51
- ProvisioningTemplate.include ForemanPuppet::Extensions::ProvisioningTemplate
62
+ ::LookupValue.include ForemanPuppet::PuppetLookupValueExtensions
63
+ ::Operatingsystem.include ForemanPuppet::Extensions::Operatingsystem
64
+ ::Nic::Managed.include ForemanPuppet::Extensions::NicManaged
65
+ ::Report.include ForemanPuppet::Extensions::Report
66
+ ::Location.include ForemanPuppet::Extensions::Taxonomy
67
+ ::Organization.include ForemanPuppet::Extensions::Taxonomy
68
+ ::User.include ForemanPuppet::Extensions::User
69
+ ::TemplateCombination.include ForemanPuppet::Extensions::TemplateCombination
70
+ ::ProvisioningTemplate.include ForemanPuppet::Extensions::ProvisioningTemplate
52
71
 
72
+ ::Api::V2::BaseController.include ForemanPuppet::Extensions::ApiBaseController
53
73
  ::Api::V2::HostsController.include ForemanPuppet::Extensions::ApiV2HostsController
54
74
  ::Api::V2::HostgroupsController.include ForemanPuppet::Extensions::ApiHostgroupsController
55
75
  ::Api::V2::TemplateCombinationsController.include ForemanPuppet::Extensions::ApiTemplateCombinationsController
56
- OperatingsystemsController.prepend ForemanPuppet::Extensions::OperatingsystemsController
57
- HostsController.include ForemanPuppet::Extensions::HostsControllerExtensions
58
- HostgroupsController.include ForemanPuppet::Extensions::HostgroupsControllerExtensions
76
+ ::Api::V2::HostsController.include ForemanPuppet::Extensions::ParametersHost
77
+ ::Api::V2::HostgroupsController.include ForemanPuppet::Extensions::ParametersHostgroup
78
+ ::OperatingsystemsController.prepend ForemanPuppet::Extensions::OperatingsystemsController
79
+ ::HostsController.include ForemanPuppet::Extensions::HostsControllerExtensions
80
+ ::HostsController.include ForemanPuppet::Extensions::ParametersHost
81
+ ::HostgroupsController.include ForemanPuppet::Extensions::HostgroupsControllerExtensions
82
+ ::HostgroupsController.include ForemanPuppet::Extensions::ParametersHostgroup
59
83
 
60
- SmartProxiesHelper::TABBED_FEATURES << 'Puppet'
84
+ ::SmartProxiesHelper::TABBED_FEATURES << 'Puppet'
61
85
 
62
86
  unless ForemanPuppet.extracted_from_core?
63
87
  ::HostInfo.local_entries.delete('HostInfoProviders::PuppetInfo'.safe_constantize)
@@ -67,9 +91,17 @@ module ForemanPuppet
67
91
  end
68
92
  Foreman.input_types_registry.register(ForemanPuppet::InputType::PuppetParameterInput)
69
93
  ::ProxyStatus.status_registry.add(ForemanPuppet::ProxyStatus::Puppet)
94
+
95
+ # GraphQL
96
+ ::Types::Host.include(ForemanPuppet::Types::HostExtensions)
97
+ ::Types::Hostgroup.include(ForemanPuppet::Types::HostgroupExtensions)
98
+ ::Types::Location.include(ForemanPuppet::Types::LocationExtensions)
99
+ ::Types::Organization.include(ForemanPuppet::Types::OrganizationExtensions)
100
+ ::Mutations::Hosts::Create.include(ForemanPuppet::Mutations::Hosts::CreateExtensions)
70
101
  rescue StandardError => e
71
102
  Rails.logger.warn "ForemanPuppet: skipping engine hook (#{e})\n#{e.backtrace.join("\n")}"
72
103
  end
104
+ # rubocop:enable Metrics/BlockLength
73
105
 
74
106
  rake_tasks do
75
107
  Rake::Task['db:seed'].enhance do
@@ -194,6 +194,11 @@ Foreman::Plugin.register :foreman_puppet do
194
194
  end
195
195
  end
196
196
 
197
+ register_graphql_query_field :environment, 'ForemanPuppet::Types::Environment', :record_field
198
+ register_graphql_query_field :environments, 'ForemanPuppet::Types::Environment', :collection_field
199
+ register_graphql_query_field :puppetclass, 'ForemanPuppet::Types::Puppetclass', :record_field
200
+ register_graphql_query_field :puppetclasses, 'ForemanPuppet::Types::Puppetclass', :collection_field
201
+
197
202
  extend_template_helpers(ForemanPuppet::TemplateRendererScope)
198
203
 
199
204
  # extend host(group) form with puppet ENC Tab
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '1.0.0.rc.1'.freeze
3
3
  end
@@ -0,0 +1,927 @@
1
+ # foreman_puppet_enc
2
+ #
3
+ # This file is distributed under the same license as foreman_puppet_enc.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: foreman_puppet 0.0.2\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2021-02-03 18:00+0100\n"
10
+ "PO-Revision-Date: 2014-08-20 08:54+0100\n"
11
+ "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
12
+ "Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
13
+ "Language: \n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:14
20
+ msgid "Import puppet classes from puppet proxy"
21
+ msgstr ""
22
+
23
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:15 ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:16
24
+ msgid "Import puppet classes from puppet proxy for an environment"
25
+ msgstr ""
26
+
27
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:21
28
+ msgid "Optional comma-delimited stringcontaining either 'new', 'updated', or 'obsolete'that is used to limit the imported Puppet classes"
29
+ msgstr ""
30
+
31
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:49
32
+ msgid "Failed to update the environments and Puppet classes from the on-disk puppet installation: %s"
33
+ msgstr ""
34
+
35
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:77 ../app/controllers/concerns/foreman_puppet/environments_import.rb:21
36
+ msgid "No changes to your environments detected"
37
+ msgstr ""
38
+
39
+ #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:104 ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:117
40
+ msgid "No proxy found to import classes from, ensure that the smart proxy has the Puppet feature enabled."
41
+ msgstr ""
42
+
43
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:15
44
+ msgid "Ignored environment names resulting in booleans found. Please quote strings like true/false and yes/no in config/ignored_environments.yml"
45
+ msgstr ""
46
+
47
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:32
48
+ msgid "Successfully updated environments and Puppet classes from the on-disk Puppet installation"
49
+ msgstr ""
50
+
51
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:34
52
+ msgid "Failed to update environments and Puppet classes from the on-disk Puppet installation: %s"
53
+ msgstr ""
54
+
55
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:46
56
+ msgid "No smart proxy was found to import environments from, ensure that at least one smart proxy is registered with the 'puppet' feature"
57
+ msgstr ""
58
+
59
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:53
60
+ msgid "Ignored environments: %s"
61
+ msgstr ""
62
+
63
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:55
64
+ msgid "Ignored classes in the environments: %s"
65
+ msgstr ""
66
+
67
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:11
68
+ msgid "List all host groups for a Puppet class"
69
+ msgstr ""
70
+
71
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:14
72
+ msgid "ID of Puppetclass"
73
+ msgstr ""
74
+
75
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:19
76
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/environment_id"
77
+ msgstr ""
78
+
79
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:20
80
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/puppetclass_ids"
81
+ msgstr ""
82
+
83
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:21
84
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/config_group_ids"
85
+ msgstr ""
86
+
87
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:24 ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:24
88
+ msgid "ID of associated puppet Environment"
89
+ msgstr ""
90
+
91
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:25 ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:25
92
+ msgid "IDs of associated Puppetclasses"
93
+ msgstr ""
94
+
95
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:26 ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:26
96
+ msgid "IDs of associated ConfigGroups"
97
+ msgstr ""
98
+
99
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:9 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:16 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:51
100
+ msgid "ID of environment"
101
+ msgstr ""
102
+
103
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:11
104
+ msgid "List hosts per environment"
105
+ msgstr ""
106
+
107
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:14
108
+ msgid "ID of puppet environment"
109
+ msgstr ""
110
+
111
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:19
112
+ msgid "Deprecated in favor of host/puppet_attributes/environment_id"
113
+ msgstr ""
114
+
115
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:20
116
+ msgid "Deprecated in favor of host/puppet_attributes/puppetclass_ids"
117
+ msgstr ""
118
+
119
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:21
120
+ msgid "Deprecated in favor of host/puppet_attributes/config_group_ids"
121
+ msgstr ""
122
+
123
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:63 ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:116
124
+ msgid "No environment selected!"
125
+ msgstr ""
126
+
127
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:77
128
+ msgid "Updated hosts: changed environment"
129
+ msgstr ""
130
+
131
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:106
132
+ msgid "Unable to generate output, Check log files"
133
+ msgstr ""
134
+
135
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:146
136
+ msgid "No proxy selected!"
137
+ msgstr ""
138
+
139
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:152
140
+ msgid "Invalid proxy selected!"
141
+ msgstr ""
142
+
143
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:169
144
+ msgid "Failed to set %{proxy_type} proxy for %{host}."
145
+ msgstr ""
146
+
147
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:175
148
+ msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}"
149
+ msgstr ""
150
+
151
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:177 ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:192
152
+ msgid "The %{proxy_type} proxy of the selected hosts was cleared."
153
+ msgstr ""
154
+
155
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:180 ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:195
156
+ msgid "The %{proxy_type} proxy could not be set for host: %{host_names}."
157
+ msgid_plural "The %{proxy_type} puppet ca proxy could not be set for hosts: %{host_names}"
158
+ msgstr[0] ""
159
+ msgstr[1] ""
160
+
161
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:190
162
+ msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
163
+ msgstr ""
164
+
165
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:205
166
+ msgid "Puppet"
167
+ msgstr ""
168
+
169
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:212
170
+ msgid "Puppet CA"
171
+ msgstr ""
172
+
173
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:11
174
+ msgid "List of config groups"
175
+ msgstr ""
176
+
177
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:19
178
+ msgid "Show a config group"
179
+ msgstr ""
180
+
181
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:32
182
+ msgid "Create a config group"
183
+ msgstr ""
184
+
185
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:40
186
+ msgid "Update a config group"
187
+ msgstr ""
188
+
189
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:48
190
+ msgid "Delete a config group"
191
+ msgstr ""
192
+
193
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:16
194
+ msgid "List all environments"
195
+ msgstr ""
196
+
197
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:17
198
+ msgid "List environments of Puppet class"
199
+ msgstr ""
200
+
201
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:18
202
+ msgid "List environments per location"
203
+ msgstr ""
204
+
205
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:19
206
+ msgid "List environments per organization"
207
+ msgstr ""
208
+
209
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:20 ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:16 ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:25 ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:15 ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:24 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:52
210
+ msgid "ID of Puppet class"
211
+ msgstr ""
212
+
213
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:29
214
+ msgid "Show an environment"
215
+ msgstr ""
216
+
217
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:42
218
+ msgid "Create an environment"
219
+ msgstr ""
220
+
221
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:50
222
+ msgid "Update an environment"
223
+ msgstr ""
224
+
225
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:58
226
+ msgid "Delete an environment"
227
+ msgstr ""
228
+
229
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:8
230
+ msgid "List all Puppet class IDs for host"
231
+ msgstr ""
232
+
233
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:14
234
+ msgid "Add a Puppet class to host"
235
+ msgstr ""
236
+
237
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:15 ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:24 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:14 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:49
238
+ msgid "ID of host"
239
+ msgstr ""
240
+
241
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:23
242
+ msgid "Remove a Puppet class from host"
243
+ msgstr ""
244
+
245
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:7
246
+ msgid "List all Puppet class IDs for host group"
247
+ msgstr ""
248
+
249
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:13
250
+ msgid "Add a Puppet class to host group"
251
+ msgstr ""
252
+
253
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:14 ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:23 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:15 ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:50
254
+ msgid "ID of host group"
255
+ msgstr ""
256
+
257
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:22
258
+ msgid "Remove a Puppet class from host group"
259
+ msgstr ""
260
+
261
+ #: ../app/controllers/foreman_puppet/api/v2/lookups_common_controller.rb:108
262
+ msgid "%{model} with id '%{id}' was not found"
263
+ msgstr ""
264
+
265
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:20
266
+ msgid "List of override values for a specific smart class parameter"
267
+ msgstr ""
268
+
269
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:22 ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:31 ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:25 ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:37
270
+ msgid "Display hidden values"
271
+ msgstr ""
272
+
273
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:28
274
+ msgid "Show an override value for a specific smart class parameter"
275
+ msgstr ""
276
+
277
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:38
278
+ msgid "Override match"
279
+ msgstr ""
280
+
281
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:39
282
+ msgid "Override value, required if omit is false"
283
+ msgstr ""
284
+
285
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:40
286
+ msgid "Foreman will not send this parameter in classification output"
287
+ msgstr ""
288
+
289
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:44
290
+ msgid "Create an override value for a specific smart class parameter"
291
+ msgstr ""
292
+
293
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:54
294
+ msgid "Update an override value for a specific smart class parameter"
295
+ msgstr ""
296
+
297
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:63
298
+ msgid "Delete an override value for a specific smart class parameter"
299
+ msgstr ""
300
+
301
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:10
302
+ msgid "List all Puppet classes"
303
+ msgstr ""
304
+
305
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:11
306
+ msgid "List all Puppet classes for a host"
307
+ msgstr ""
308
+
309
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:12
310
+ msgid "List all Puppet classes for a host group"
311
+ msgstr ""
312
+
313
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:13
314
+ msgid "List all Puppet classes for an environment"
315
+ msgstr ""
316
+
317
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:45
318
+ msgid "Show a Puppet class"
319
+ msgstr ""
320
+
321
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:46
322
+ msgid "Show a Puppet class for host"
323
+ msgstr ""
324
+
325
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:47
326
+ msgid "Show a Puppet class for a host group"
327
+ msgstr ""
328
+
329
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:48
330
+ msgid "Show a Puppet class for an environment"
331
+ msgstr ""
332
+
333
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:63
334
+ msgid "Create a Puppet class"
335
+ msgstr ""
336
+
337
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:71
338
+ msgid "Update a Puppet class"
339
+ msgstr ""
340
+
341
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:80
342
+ msgid "Delete a Puppet class"
343
+ msgstr ""
344
+
345
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:14
346
+ msgid "List all smart class parameters"
347
+ msgstr ""
348
+
349
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:15
350
+ msgid "List of smart class parameters for a specific host"
351
+ msgstr ""
352
+
353
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:16
354
+ msgid "List of smart class parameters for a specific host group"
355
+ msgstr ""
356
+
357
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:17
358
+ msgid "List of smart class parameters for a specific Puppet class"
359
+ msgstr ""
360
+
361
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:18
362
+ msgid "List of smart class parameters for a specific environment"
363
+ msgstr ""
364
+
365
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:20
366
+ msgid "List of smart class parameters for a specific environment/Puppet class combination"
367
+ msgstr ""
368
+
369
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:35
370
+ msgid "Show a smart class parameter"
371
+ msgstr ""
372
+
373
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:42
374
+ msgid "Update a smart class parameter"
375
+ msgstr ""
376
+
377
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:46
378
+ msgid "Whether the smart class parameter value is managed by Foreman"
379
+ msgstr ""
380
+
381
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:47
382
+ msgid "Description of smart class"
383
+ msgstr ""
384
+
385
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:48
386
+ msgid "Value to use when there is no match"
387
+ msgstr ""
388
+
389
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:49
390
+ msgid "When enabled the parameter is hidden in the UI"
391
+ msgstr ""
392
+
393
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:50
394
+ msgid "Foreman will not send this parameter in classification output.Puppet will use the value defined in the Puppet manifest for this parameter"
395
+ msgstr ""
396
+
397
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:52 ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:55
398
+ msgid "The order in which values are resolved"
399
+ msgstr ""
400
+
401
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:53
402
+ msgid "Types of validation values"
403
+ msgstr ""
404
+
405
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:54
406
+ msgid "Used to enforce certain values for the parameter values"
407
+ msgstr ""
408
+
409
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:56
410
+ msgid "Types of variable values"
411
+ msgstr ""
412
+
413
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:57
414
+ msgid "If true, will raise an error if there is no default value and no matcher provide a value"
415
+ msgstr ""
416
+
417
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:58
418
+ msgid "Merge all matching values (only array/hash type)"
419
+ msgstr ""
420
+
421
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:59
422
+ msgid "Include default value when merging all matching values"
423
+ msgstr ""
424
+
425
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:60
426
+ msgid "Remove duplicate values (only array type)"
427
+ msgstr ""
428
+
429
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:58
430
+ msgid "Successfully overridden all parameters of Puppet class %s"
431
+ msgstr ""
432
+
433
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:60
434
+ msgid "Successfully reset all parameters of Puppet class %s to their default values"
435
+ msgstr ""
436
+
437
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:63
438
+ msgid "No parameters to override for Puppet class %s"
439
+ msgstr ""
440
+
441
+ #: ../app/helpers/foreman_puppet/environments_helper.rb:13 ../app/views/foreman_puppet/environments/new.html.erb:5 ../app/views/foreman_puppet/environments/welcome.html.erb:11
442
+ msgid "Create Puppet Environment"
443
+ msgstr ""
444
+
445
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:11
446
+ msgid "Change Environment"
447
+ msgstr ""
448
+
449
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:13
450
+ msgid "Change Puppet Master"
451
+ msgstr ""
452
+
453
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
454
+ msgid "Puppet YAML"
455
+ msgstr ""
456
+
457
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
458
+ msgid "Puppet external nodes YAML dump"
459
+ msgstr ""
460
+
461
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:32
462
+ msgid "Omit from classification output"
463
+ msgstr ""
464
+
465
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:39
466
+ msgid "Override this value"
467
+ msgstr ""
468
+
469
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:43
470
+ msgid "Remove this override"
471
+ msgstr ""
472
+
473
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:75
474
+ msgid "Default value"
475
+ msgstr ""
476
+
477
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:93
478
+ msgid "Original value info"
479
+ msgstr ""
480
+
481
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:99
482
+ msgid ""
483
+ "<b>Description:</b> %{desc}<br/>\n"
484
+ " <b>Type:</b> %{type}<br/>\n"
485
+ " <b>Matcher:</b> %{matcher}<br/>\n"
486
+ " <b>Inherited value:</b> %{inherited_value}"
487
+ msgstr ""
488
+
489
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:113
490
+ msgid "Required parameter without value.<br/><b>Please override!</b><br/>"
491
+ msgstr ""
492
+
493
+ #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:116
494
+ msgid "Optional parameter without value.<br/><i>Still managed by Foreman, the value will be empty.</i><br/>"
495
+ msgstr ""
496
+
497
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:5
498
+ msgid "Empty environment"
499
+ msgstr ""
500
+
501
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:7
502
+ msgid "Deleted environment"
503
+ msgstr ""
504
+
505
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:9
506
+ msgid "Deleted environment %{env} and %{pcs}"
507
+ msgstr ""
508
+
509
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:11
510
+ msgid "Ignored environment"
511
+ msgstr ""
512
+
513
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:18
514
+ msgid "Import"
515
+ msgstr ""
516
+
517
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:22
518
+ msgid "Import environments from %s"
519
+ msgstr ""
520
+
521
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:22
522
+ msgid "Import classes from %s"
523
+ msgstr ""
524
+
525
+ #: ../app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb:45
526
+ msgid "%{name} has %{num_tag} class"
527
+ msgid_plural "%{name} has %{num_tag} classes"
528
+ msgstr[0] ""
529
+ msgstr[1] ""
530
+
531
+ #: ../app/helpers/foreman_puppet/puppetclasses_helper.rb:33 ../webpack/src/foreman_class_edit.js:55
532
+ msgid "Click to remove %s"
533
+ msgstr ""
534
+
535
+ #: ../app/helpers/foreman_puppet/puppetclasses_helper.rb:46
536
+ msgid "Click to add %s"
537
+ msgstr ""
538
+
539
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:6 ../app/helpers/foreman_puppet/template_combinations_helper.rb:7
540
+ msgid "None"
541
+ msgstr ""
542
+
543
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:14
544
+ msgid ""
545
+ "When editing a template, you must assign a list \\\n"
546
+ " of operating systems which this template can be used with. Optionally, you can \\\n"
547
+ " restrict a template to a list of host groups and/or environments."
548
+ msgstr ""
549
+
550
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:18
551
+ msgid ""
552
+ "When a Host requests a template (e.g. during provisioning), Foreman \\\n"
553
+ " will select the best match from the available templates of that type, in the \\\n"
554
+ " following order:"
555
+ msgstr ""
556
+
557
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:22
558
+ msgid "Host group and Environment"
559
+ msgstr ""
560
+
561
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:23
562
+ msgid "Host group only"
563
+ msgstr ""
564
+
565
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:24
566
+ msgid "Environment only"
567
+ msgstr ""
568
+
569
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:25
570
+ msgid "Operating system default"
571
+ msgstr ""
572
+
573
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:27
574
+ msgid "The final entry, Operating System default, can be set by editing the %s page."
575
+ msgstr ""
576
+
577
+ #: ../app/helpers/foreman_puppet/template_combinations_helper.rb:28
578
+ msgid "Operating System"
579
+ msgstr ""
580
+
581
+ #: ../app/models/foreman_puppet/environment.rb:42
582
+ msgid "Can't find a valid Foreman Proxy with a Puppet feature"
583
+ msgstr ""
584
+
585
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:60
586
+ msgid "%{puppetclass} does not belong to the %{environment} environment"
587
+ msgstr ""
588
+
589
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:80
590
+ msgid "Failed to import %{klass} for %{name}: doesn't exists in our database - ignoring"
591
+ msgstr ""
592
+
593
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:122
594
+ msgid "with id %{object_id} doesn't exist or is not assigned to proper organization and/or location"
595
+ msgstr ""
596
+
597
+ #: ../app/models/foreman_puppet/puppetclass_lookup_key.rb:51
598
+ msgid "must be true to edit the parameter"
599
+ msgstr ""
600
+
601
+ #: ../app/services/foreman_puppet/input_type/puppet_parameter_input.rb:24
602
+ msgid "Puppet parameter"
603
+ msgstr ""
604
+
605
+ #: ../app/services/foreman_puppet/puppet_class_importer.rb:16
606
+ msgid "Can't find a valid Proxy with a Puppet feature"
607
+ msgstr ""
608
+
609
+ #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:10
610
+ msgid "included already from parent"
611
+ msgstr ""
612
+
613
+ #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:14 ../app/views/provisioning_templates/_combination.html.erb:4
614
+ msgid "Remove"
615
+ msgstr ""
616
+
617
+ #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:14
618
+ msgid "Add"
619
+ msgstr ""
620
+
621
+ #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:26
622
+ msgid "%s is not in environment"
623
+ msgstr ""
624
+
625
+ #: ../app/views/foreman_puppet/config_groups/_config_groups_selection.html.erb:4
626
+ msgid "Included Config Groups"
627
+ msgstr ""
628
+
629
+ #: ../app/views/foreman_puppet/config_groups/_config_groups_selection.html.erb:21
630
+ msgid "Available Config Groups"
631
+ msgstr ""
632
+
633
+ #: ../app/views/foreman_puppet/config_groups/edit.html.erb:1 ../app/views/foreman_puppet/environments/edit.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/edit.html.erb:1
634
+ msgid "Edit %s"
635
+ msgstr ""
636
+
637
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:3 ../app/views/foreman_puppet/config_groups/welcome.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:6 ../lib/foreman_puppet/register.rb:157
638
+ msgid "Config Groups"
639
+ msgstr ""
640
+
641
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:5 ../app/views/foreman_puppet/config_groups/new.html.erb:1 ../app/views/foreman_puppet/config_groups/welcome.html.erb:10
642
+ msgid "Create Config Group"
643
+ msgstr ""
644
+
645
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:11 ../app/views/foreman_puppet/puppetclasses/index.html.erb:1
646
+ msgid "Puppet Classes"
647
+ msgstr ""
648
+
649
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:12 ../app/views/foreman_puppet/environments/index.html.erb:9 ../app/views/foreman_puppet/puppetclasses/index.html.erb:12
650
+ msgid "Hosts"
651
+ msgstr ""
652
+
653
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:13 ../app/views/foreman_puppet/puppetclasses/index.html.erb:11
654
+ msgid "Host Groups"
655
+ msgstr ""
656
+
657
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:14 ../app/views/foreman_puppet/environments/index.html.erb:10 ../app/views/foreman_puppet/puppetclasses/index.html.erb:14
658
+ msgid "Actions"
659
+ msgstr ""
660
+
661
+ #: ../app/views/foreman_puppet/config_groups/index.html.erb:25 ../app/views/foreman_puppet/puppetclasses/index.html.erb:36
662
+ msgid "Delete %s?"
663
+ msgstr ""
664
+
665
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:7
666
+ msgid "A config group provides a one-step method of associating many Puppet classes to either a host or host group. Typically this would be used to add a particular application profile or stack in one step."
667
+ msgstr ""
668
+
669
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:8 ../app/views/foreman_puppet/environments/welcome.html.erb:9 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
670
+ msgid "Learn more about this in the documentation."
671
+ msgstr ""
672
+
673
+ #: ../app/views/foreman_puppet/environments/_form.html.erb:4 ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:4 ../app/views/hosts/select_multiple_environment.html.erb:7 ../app/views/provisioning_templates/_combination.html.erb:4
674
+ msgid "Environment"
675
+ msgstr ""
676
+
677
+ #: ../app/views/foreman_puppet/environments/_form.html.erb:6
678
+ msgid "Locations"
679
+ msgstr ""
680
+
681
+ #: ../app/views/foreman_puppet/environments/_form.html.erb:9
682
+ msgid "Organizations"
683
+ msgstr ""
684
+
685
+ #: ../app/views/foreman_puppet/environments/edit.html.erb:5 ../app/views/foreman_puppet/environments/index.html.erb:1 ../app/views/foreman_puppet/environments/new.html.erb:4
686
+ msgid "Puppet Environments"
687
+ msgstr ""
688
+
689
+ #: ../app/views/foreman_puppet/environments/index.html.erb:8
690
+ msgid "Environment|Name"
691
+ msgstr ""
692
+
693
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:154
694
+ msgid "Classes"
695
+ msgstr ""
696
+
697
+ #: ../app/views/foreman_puppet/environments/new.html.erb:1
698
+ msgid "Create Environment"
699
+ msgstr ""
700
+
701
+ #: ../app/views/foreman_puppet/environments/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclasses/_form.html.erb:14
702
+ msgid "Puppet environments"
703
+ msgstr ""
704
+
705
+ #: ../app/views/foreman_puppet/environments/welcome.html.erb:6 ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:151
706
+ msgid "Environments"
707
+ msgstr ""
708
+
709
+ #: ../app/views/foreman_puppet/environments/welcome.html.erb:7
710
+ msgid "If you are planning to use Foreman as an external node classifier you should provide information about one or more environments. This information is commonly imported from a pre-existing Puppet configuration by the use of the %{link_start}Puppet classes and environment importer%{link_end}."
711
+ msgstr ""
712
+
713
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:5
714
+ msgid "Number of classes"
715
+ msgstr ""
716
+
717
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:15
718
+ msgid "Total"
719
+ msgstr ""
720
+
721
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:25
722
+ msgid "No environments found"
723
+ msgstr ""
724
+
725
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:27
726
+ msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
727
+ msgstr ""
728
+
729
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1 ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:6 ../lib/foreman_puppet/register.rb:160
730
+ msgid "Smart Class Parameters"
731
+ msgstr ""
732
+
733
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:6
734
+ msgid "Parameter"
735
+ msgstr ""
736
+
737
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:7 ../app/views/foreman_puppet/puppetclasses/_classes_parameters.html.erb:4 ../app/views/foreman_puppet/puppetclasses/_form.html.erb:7
738
+ msgid "Puppet Class"
739
+ msgstr ""
740
+
741
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:8
742
+ msgid "Number of Overrides"
743
+ msgstr ""
744
+
745
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:7
746
+ msgid "Parameterized class support permits detecting, importing, and supplying parameters directly to classes which support it, via the ENC and depending on a set of rules (Smart Matchers)."
747
+ msgstr ""
748
+
749
+ #: ../app/views/foreman_puppet/puppetclasses/_class_selection.html.erb:8
750
+ msgid "Included Classes"
751
+ msgstr ""
752
+
753
+ #: ../app/views/foreman_puppet/puppetclasses/_class_selection.html.erb:26 ../app/views/foreman_puppet/puppetclasses/_classes.html.erb:10
754
+ msgid "Not authorized to edit classes"
755
+ msgstr ""
756
+
757
+ #: ../app/views/foreman_puppet/puppetclasses/_class_selection.html.erb:37
758
+ msgid "Inherited Classes from %s"
759
+ msgstr ""
760
+
761
+ #: ../app/views/foreman_puppet/puppetclasses/_class_selection.html.erb:56
762
+ msgid "Available Classes"
763
+ msgstr ""
764
+
765
+ #: ../app/views/foreman_puppet/puppetclasses/_class_selection.html.erb:59
766
+ msgid "Filter classes"
767
+ msgstr ""
768
+
769
+ #: ../app/views/foreman_puppet/puppetclasses/_classes_in_groups.html.erb:2 ../webpack/src/foreman_class_edit.js:84
770
+ msgid "belongs to config group"
771
+ msgstr ""
772
+
773
+ #: ../app/views/foreman_puppet/puppetclasses/_classes_parameters.html.erb:5
774
+ msgid "Name"
775
+ msgstr ""
776
+
777
+ #: ../app/views/foreman_puppet/puppetclasses/_classes_parameters.html.erb:6
778
+ msgid "Value"
779
+ msgstr ""
780
+
781
+ #: ../app/views/foreman_puppet/puppetclasses/_classes_parameters.html.erb:7
782
+ msgid "Omit"
783
+ msgstr ""
784
+
785
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:4
786
+ msgid "The class could not be saved because of an error in one of the class parameters."
787
+ msgstr ""
788
+
789
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:8
790
+ msgid "Smart Class Parameter"
791
+ msgstr ""
792
+
793
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:15
794
+ msgid "Host groups"
795
+ msgstr ""
796
+
797
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:22
798
+ msgid "This Puppet class has no parameters in its signature."
799
+ msgstr ""
800
+
801
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:23
802
+ msgid "To update the class signature, go to the Puppet Classes page and select \"Import\"."
803
+ msgstr ""
804
+
805
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:28
806
+ msgid "Filter by name"
807
+ msgstr ""
808
+
809
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:34
810
+ msgid "All environments - (not filtered)"
811
+ msgstr ""
812
+
813
+ #: ../app/views/foreman_puppet/puppetclasses/_form.html.erb:46
814
+ msgid "Overridden"
815
+ msgstr ""
816
+
817
+ #: ../app/views/foreman_puppet/puppetclasses/edit.html.erb:1
818
+ msgid "Edit Puppet Class %s"
819
+ msgstr ""
820
+
821
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:9
822
+ msgid "Puppetclass|Name"
823
+ msgstr ""
824
+
825
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:13
826
+ msgid "Parameters"
827
+ msgstr ""
828
+
829
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:37
830
+ msgid "Override all parameters"
831
+ msgstr ""
832
+
833
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:37
834
+ msgid "This will set all parameters of the class %s as overridden. Continue?"
835
+ msgstr ""
836
+
837
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:38
838
+ msgid "Set parameters to defaults"
839
+ msgstr ""
840
+
841
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:38
842
+ msgid "This will reset parameters of the class %s to their default values. Continue?"
843
+ msgstr ""
844
+
845
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:17
846
+ msgid "Notice"
847
+ msgstr ""
848
+
849
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:18
850
+ msgid "Please select an environment first"
851
+ msgstr ""
852
+
853
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:22
854
+ msgid "Puppet Class Parameters"
855
+ msgstr ""
856
+
857
+ #: ../app/views/hosts/select_multiple_environment.html.erb:4
858
+ msgid "Select environment"
859
+ msgstr ""
860
+
861
+ #: ../app/views/hosts/select_multiple_environment.html.erb:5
862
+ msgid "*Clear environment*"
863
+ msgstr ""
864
+
865
+ #: ../app/views/hosts/select_multiple_environment.html.erb:6
866
+ msgid "*Inherit from host group*"
867
+ msgstr ""
868
+
869
+ #: ../app/views/provisioning_templates/_combination.html.erb:2
870
+ msgid "Hostgroup"
871
+ msgstr ""
872
+
873
+ #: ../app/views/provisioning_templates/_combination.html.erb:4
874
+ msgid "Remove Combination"
875
+ msgstr ""
876
+
877
+ #: ../app/views/provisioning_templates/_combinations.html.erb:1
878
+ msgid "Valid Host Group and Environment Combinations"
879
+ msgstr ""
880
+
881
+ #: ../app/views/provisioning_templates/_combinations.html.erb:6
882
+ msgid "Add Combination"
883
+ msgstr ""
884
+
885
+ #: ../app/views/smart_proxies/plugins/_puppet.html.erb:3
886
+ msgid "General"
887
+ msgstr ""
888
+
889
+ #: ../app/views/smart_proxies/plugins/_puppet.html.erb:12
890
+ msgid "Hosts managed:"
891
+ msgstr ""
892
+
893
+ #: ../lib/foreman_puppet/register.rb:148 ../lib/foreman_puppet/register.rb:204
894
+ msgid "Puppet ENC"
895
+ msgstr ""
896
+
897
+ #: ../webpack/src/foreman_class_edit.js:146
898
+ msgid "Click to remove config group"
899
+ msgstr ""
900
+
901
+ #: ../webpack/src/foreman_class_edit.js:149
902
+ msgid " Remove"
903
+ msgstr ""
904
+
905
+ #: ../webpack/src/foreman_puppet_host_form.js:32
906
+ msgid "Loading parameters..."
907
+ msgstr ""
908
+
909
+ #: action_names.rb:2
910
+ msgid "Action with sub plans"
911
+ msgstr ""
912
+
913
+ #: action_names.rb:3
914
+ msgid "Import facts"
915
+ msgstr ""
916
+
917
+ #: action_names.rb:4
918
+ msgid "Import Puppet classes"
919
+ msgstr ""
920
+
921
+ #: action_names.rb:5
922
+ msgid "Remote action:"
923
+ msgstr ""
924
+
925
+ #: gemspec.rb:2
926
+ msgid "Allow assigning Puppet environmets and classes to the Foreman Hosts."
927
+ msgstr ""