foreman_puppet 2.0.7 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb +7 -2
  4. data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
  5. data/app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb +1 -1
  6. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +1 -1
  7. data/app/views/foreman_puppet/config_groups/_config_group.html.erb +5 -1
  8. data/app/views/foreman_puppet/config_groups/index.html.erb +1 -3
  9. data/app/views/smart_proxies/plugins/_puppet_ca.html.erb +44 -0
  10. data/db/migrate_foreman/20090905150132_create_hostgroups_puppetclasses.foreman_puppet.rb +1 -3
  11. data/lib/foreman_puppet/register.rb +3 -8
  12. data/lib/foreman_puppet/version.rb +1 -1
  13. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  14. data/locale/ca/foreman_puppet.po +1 -70
  15. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  16. data/locale/cs_CZ/foreman_puppet.edit.po +235 -358
  17. data/locale/cs_CZ/foreman_puppet.po +2 -13
  18. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  19. data/locale/de/foreman_puppet.po +13 -25
  20. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  21. data/locale/en/foreman_puppet.edit.po +161 -77
  22. data/locale/en/foreman_puppet.po +1 -13
  23. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  24. data/locale/en_GB/foreman_puppet.po +2 -13
  25. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  26. data/locale/es/foreman_puppet.po +2 -13
  27. data/locale/foreman_puppet.pot +25 -48
  28. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  29. data/locale/fr/foreman_puppet.po +2 -13
  30. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  31. data/locale/gl/foreman_puppet.po +2 -13
  32. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  33. data/locale/it/foreman_puppet.po +2 -13
  34. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  35. data/locale/ja/foreman_puppet.po +4 -15
  36. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  37. data/locale/ko/foreman_puppet.po +2 -13
  38. data/locale/messages.mo +0 -0
  39. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  40. data/locale/nl_NL/foreman_puppet.po +2 -13
  41. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  42. data/locale/pl/foreman_puppet.po +2 -13
  43. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  44. data/locale/pt_BR/foreman_puppet.po +2 -13
  45. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  46. data/locale/ru/foreman_puppet.po +4 -15
  47. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  48. data/locale/sv_SE/foreman_puppet.po +2 -13
  49. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  50. data/locale/zh_CN/foreman_puppet.po +5 -16
  51. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  52. data/locale/zh_TW/foreman_puppet.po +2 -13
  53. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +24 -18
  54. data/test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb +2 -2
  55. data/test/controllers/foreman_puppet/environments_controller_test.rb +1 -1
  56. data/test/graphql/queries/environment_query_test.rb +4 -4
  57. data/test/graphql/queries/puppetclass_query_test.rb +4 -4
  58. data/test/integration/foreman_puppet/dashboard_js_test.rb +1 -2
  59. data/test/integration/foreman_puppet/environment_js_test.rb +1 -2
  60. data/test/integration/foreman_puppet/host_js_test.rb +17 -18
  61. data/test/integration/foreman_puppet/hostgroup_js_test.rb +1 -2
  62. data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -2
  63. data/test/integration/foreman_puppet/smartclass_parameter_js_test.rb +1 -2
  64. data/test/integration_puppet_helper.rb +3 -0
  65. data/test/models/foreman_puppet/host_puppet_facet_test.rb +2 -2
  66. data/test/models/foreman_puppet/host_test.rb +22 -22
  67. data/test/models/foreman_puppet/provisioning_template_test.rb +3 -3
  68. data/test/models/foreman_puppet/puppetclass_test.rb +1 -1
  69. data/test/services/foreman_puppet/host_info_providers/config_groups_info_test.rb +1 -1
  70. data/test/services/foreman_puppet/host_info_providers/puppet_info_test.rb +3 -3
  71. data/test/unit/foreman_puppet/template_rendering_test.rb +1 -1
  72. metadata +55 -91
  73. data/app/views/hosts/foreman_puppet/_form_list_env_field_content.html.erb +0 -1
  74. data/app/views/hosts/foreman_puppet/_form_list_env_field_header.html.erb +0 -1
  75. data/db/migrate/20220201205305_migrate_host_class_permission.foreman_puppet.rb +0 -9
  76. data/db/migrate/20220208135305_migrate_environment_ignore_type.foreman_puppet.rb +0 -15
  77. data/db/migrate/20220421204325_drop_environment_from_host_and_hg.foreman_puppet.rb +0 -8
  78. data/locale/ca/foreman_puppet.edit.po +0 -1221
  79. data/locale/ca/foreman_puppet.po.time_stamp +0 -0
  80. data/locale/de/foreman_puppet.edit.po +0 -1300
  81. data/locale/de/foreman_puppet.po.time_stamp +0 -0
  82. data/locale/en_GB/foreman_puppet.edit.po +0 -1197
  83. data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
  84. data/locale/es/foreman_puppet.edit.po +0 -1275
  85. data/locale/es/foreman_puppet.po.time_stamp +0 -0
  86. data/locale/fr/foreman_puppet.edit.po +0 -1290
  87. data/locale/fr/foreman_puppet.po.time_stamp +0 -0
  88. data/locale/gl/foreman_puppet.edit.po +0 -1203
  89. data/locale/gl/foreman_puppet.po.time_stamp +0 -0
  90. data/locale/it/foreman_puppet.edit.po +0 -1233
  91. data/locale/it/foreman_puppet.po.time_stamp +0 -0
  92. data/locale/ja/foreman_puppet.edit.po +0 -1223
  93. data/locale/ja/foreman_puppet.po.time_stamp +0 -0
  94. data/locale/ko/foreman_puppet.edit.po +0 -1197
  95. data/locale/ko/foreman_puppet.po.time_stamp +0 -0
  96. data/locale/nl_NL/foreman_puppet.edit.po +0 -1228
  97. data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
  98. data/locale/pl/foreman_puppet.edit.po +0 -1238
  99. data/locale/pl/foreman_puppet.po.time_stamp +0 -0
  100. data/locale/pt_BR/foreman_puppet.edit.po +0 -1281
  101. data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
  102. data/locale/ru/foreman_puppet.edit.po +0 -1240
  103. data/locale/ru/foreman_puppet.po.time_stamp +0 -0
  104. data/locale/sv_SE/foreman_puppet.edit.po +0 -1205
  105. data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
  106. data/locale/zh_CN/foreman_puppet.edit.po +0 -1212
  107. data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
  108. data/locale/zh_TW/foreman_puppet.edit.po +0 -1197
  109. data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
  110. data/test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ca4a5ca23e81664035c8eb00f58b7c4788fbc0937bd85b91cbd882f8c8cfdf6
4
- data.tar.gz: 7292e17f5ad77f34d23008e95630b007ee2fe0f5295b5987eddc78a6d2fd1261
3
+ metadata.gz: 551d9a6cf7153dfc0bb5a4709bbd394bc6d2ba5354b16531de6787653ca1d185
4
+ data.tar.gz: cacbf35dfb12c49175bd0ee95ea8cf4b441319c140b7401c5527b8231a9000f0
5
5
  SHA512:
6
- metadata.gz: cbf7c29356ac312b02c4346f806407c477238159c4cab20fcc449810486009945635ccba8d17388ba7c0bc882e9bb450423e5333f251220949cca6f3f0173472
7
- data.tar.gz: 35166a234ca51ce8d2eba7f738c1bdd9e697765034e94bf384f1940608faffc558795773aac8ac2b3f731652124a0b78ba64e3fd970d9c4bff464360392bd32b
6
+ metadata.gz: 6c28a424fb8afdb633134b1f57fa7254ead445a7a1e45d3b8bc97cbfc3ffd42a0dbb80df33ae2d7cc52d55cc12575078a773b3ed5ae3b9a360f9afb26d2631b8
7
+ data.tar.gz: d29c6598e1709bfddceb64e92fe16f33df55ce5eb85288e3f3ad14d590aa59d88515c37fd7116a252d889deb416bb652449c6fa6de3ef4baad5e27bfd9547bc8
data/README.md CHANGED
@@ -37,7 +37,9 @@ You can install it on Foreman 2.5 to prepare for the Foreman update.
37
37
 
38
38
  |Foreman version|Plugin version|Notes |
39
39
  |---------------|--------------|------------------------------------------|
40
- | >= 3.0 | ~> 1.0 | Required |
40
+ | >= 3.2 | ~> 3.0 | Required |
41
+ | ~> 3.1 | ~> 2.0 | Required |
42
+ | ~> 3.0 | ~> 1.0 | Required |
41
43
  | >= 2.5 | ~> 0.1 | Optional; replaces Core features |
42
44
  | < 2.5 | - | Not supported (functionality is in Core) |
43
45
 
@@ -3,6 +3,8 @@ module ForemanPuppet
3
3
  module ApiSmartProxiesController
4
4
  extend ActiveSupport::Concern
5
5
 
6
+ NewEnvironment = Struct.new('Environment', :name)
7
+
6
8
  included do
7
9
  before_action :find_required_puppet_proxy, only: [:import_puppetclasses]
8
10
  before_action :find_environment_id, only: [:import_puppetclasses]
@@ -70,7 +72,7 @@ module ForemanPuppet
70
72
  @changed['updated'].keys + @changed['ignored'].keys).uniq.sort
71
73
 
72
74
  @environments = environment_names.map do |name|
73
- OpenStruct.new(name: name)
75
+ NewEnvironment.new(name)
74
76
  end
75
77
 
76
78
  unless @environments.any?
@@ -87,6 +89,7 @@ module ForemanPuppet
87
89
  @environments.any?
88
90
  end
89
91
 
92
+ # rubocop:disable Metrics/MethodLength
90
93
  def import_changed_proxy_environments
91
94
  opts = { url: @smart_proxy.url }
92
95
  opts[:env] = if @environment.present?
@@ -98,7 +101,8 @@ module ForemanPuppet
98
101
  changed = @importer.changes
99
102
 
100
103
  # check if environemnt id passed in URL is name of NEW environment in puppetmaster that doesn't exist in db
101
- if @environment || (changed['new'].key?(@env_id) && (@environment ||= OpenStruct.new(name: @env_id)))
104
+ @environment ||= NewEnvironment.new(@env_id) if changed['new'].key?(@env_id)
105
+ if @environment
102
106
  # only return :keys equal to @environment in @changed hash
103
107
  %w[new obsolete updated ignored].each do |kind|
104
108
  changed[kind].slice!(@environment.name) unless changed[kind].empty?
@@ -115,6 +119,7 @@ module ForemanPuppet
115
119
  render_message(msg, status: :internal_server_error)
116
120
  nil
117
121
  end
122
+ # rubocop:enable Metrics/MethodLength
118
123
 
119
124
  def find_required_puppet_proxy
120
125
  id = params.key?('smart_proxy_id') ? params['smart_proxy_id'] : params['id']
@@ -11,7 +11,7 @@ module ForemanPuppet
11
11
  def environments_title_actions
12
12
  title_actions import_proxy_select(hash_for_import_environments_environments_path.merge(engine: foreman_puppet)),
13
13
  button_group(new_link(_('Create Puppet Environment'), { engine: foreman_puppet }, id: 'new_environment')),
14
- button_group(link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' }))
14
+ button_group(help_button)
15
15
  end
16
16
  end
17
17
  end
@@ -9,7 +9,7 @@ module ForemanPuppet
9
9
  # ------ Host(group) Form Helpers -----
10
10
 
11
11
  def overridable_puppet_lookup_keys(klass, obj)
12
- klass.class_params.override.where(environment_classes: { environment_id: obj.environment })
12
+ klass.class_params.override.where(environment_classes: { environment_id: obj.environment_id })
13
13
  end
14
14
 
15
15
  def hidden_puppet_lookup_value_fields(lookup_key, lookup_value, disabled)
@@ -5,7 +5,7 @@ module ForemanPuppet
5
5
 
6
6
  included do
7
7
  has_many :environments, through: :template_combinations
8
- before_destroy ActiveRecord::Base::EnsureNotUsedBy.new(:environments)
8
+ before_destroy EnsureNotUsedBy.new(:environments)
9
9
 
10
10
  scoped_search relation: :environments, on: :name, rename: :environment, complete_value: true
11
11
 
@@ -1,4 +1,8 @@
1
- <%= content_tag_for :li, config_group, (added ? :selected : nil), :id => "config_group_#{config_group.id}", :class => css_class.to_s do %>
1
+ <%
2
+ li_id = "#{added ? 'selected_' : '' }config_group_#{config_group.id}"
3
+ li_class = "#{added ? 'selected_config_group' : 'config_group'} #{css_class}"
4
+ %>
5
+ <%= content_tag :li, id: li_id, class: li_class do %>
2
6
  <%= hidden_field_tag("#{type}[config_group_ids][]", config_group.id) if added == 'manually' %>
3
7
  <span>
4
8
  <%= link_to(icon_text('plus', config_group.name), '#', :rel=>'twipsy', :class => 'config_group_name',
@@ -2,9 +2,7 @@
2
2
  <% content_for(:search_bar) { } %>
3
3
  <% title _('Config Groups') %>
4
4
 
5
- <% title_actions(
6
- new_link(_('Create Config Group'), { engine: foreman_puppet }, id: 'new_config_group'),
7
- link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' })) %>
5
+ <% title_actions new_link(_('Create Config Group'), { engine: foreman_puppet }, id: 'new_config_group'), help_button %>
8
6
 
9
7
  <table class="<%= table_css_classes 'table-fixed' %>">
10
8
  <thead>
@@ -0,0 +1,44 @@
1
+ <ul id="proxy-puppetca-tab" class="nav nav-tabs nav-tabs-pf">
2
+ <li class="active"><a href="#ca_general" data-toggle="tab"><%= _("General") %></a></li>
3
+ <% if authorized_for(:permission => :view_smart_proxies_puppetca, :auth_object => @smart_proxy, :authorizer => authorizer) %>
4
+ <li><a href="#certificates" data-toggle="tab"><%= _("Certificates") %></a></li>
5
+ <% end %>
6
+ <% if authorized_for(:permission => :view_smart_proxies_autosign, :auth_object => @smart_proxy, :authorizer => authorizer) %>
7
+ <li><a href="#autosign" data-toggle="tab"><%= _("Autosign entries") %></a></li>
8
+ <% end %>
9
+ </ul>
10
+ <div id="proxy-puppetca-tab-content" class="tab-content">
11
+ <div class="tab-pane active in" id="ca_general">
12
+ <div class="row">
13
+ <div class="col-md-6">
14
+ <%= show_feature_version('puppetca') %>
15
+ <div class="row">
16
+ <div class="col-md-4"><strong><%= _('Hosts managed:') %></strong></div>
17
+ <div class="col-md-8">
18
+ <%= link_to Host::Managed.where(:puppet_ca_proxy_id => @smart_proxy.id).count, hosts_path(:search => "puppet_ca = \"#{@smart_proxy.name}\"") %>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ <div class="container-fluid container-cards-pf">
24
+ <div class="row row-cards-pf">
25
+ <% if authorized_for(:permission => :view_smart_proxies_puppetca, :auth_object => @smart_proxy) %>
26
+ <span data-ajax-url="<%= counts_smart_proxy_puppetca_path(:smart_proxy_id => @smart_proxy) %>"><%= spinner%></span>
27
+ <span data-ajax-url="<%= expiry_smart_proxy_puppetca_path(:smart_proxy_id => @smart_proxy) %>"><%= spinner%></span>
28
+ <% end %>
29
+ <% if authorized_for(:permission => :view_smart_proxies_autosign, :auth_object => @smart_proxy, :authorizer => authorizer) %>
30
+ <span data-ajax-url="<%= counts_smart_proxy_autosign_path(:smart_proxy_id => @smart_proxy) %>"><%= spinner%></span>
31
+ <% end %>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <% if authorized_for(:permission => :view_smart_proxies_puppetca, :auth_object => @smart_proxy, :authorizer => authorizer) %>
36
+ <div class="tab-pane" id="certificates" data-ajax-url="<%= smart_proxy_puppetca_index_path(:smart_proxy_id => @smart_proxy) %>" data-on-complete="certTable"><%= spinner %></div>
37
+ <% end %>
38
+ <% if authorized_for(:permission => :view_smart_proxies_autosign, :auth_object => @smart_proxy, :authorizer => authorizer) %>
39
+ <div class="tab-pane" id="autosign" data-ajax-url="<%= smart_proxy_autosign_index_path(:smart_proxy_id => @smart_proxy) %>" data-on-complete="tfm.tools.activateDatatables"><%= spinner %></div>
40
+ <% if authorized_for(:permission => :create_smart_proxies_autosign, :auth_object => @smart_proxy, :authorizer => authorizer) %>
41
+ <div data-ajax-url=<%= new_smart_proxy_autosign_path(:smart_proxy_id => @smart_proxy) %>></div>
42
+ <% end %>
43
+ <% end %>
44
+ </div>
@@ -1,8 +1,6 @@
1
1
  class CreateHostgroupsPuppetclasses < ActiveRecord::Migration[6.0]
2
2
  def up
3
- # this table is later renamed into hostgroup_classes and thus we don't want to create it if it exists under the later name
4
- return if table_exists?(:hostgroups_puppetclasses) || table_exists?(:hostgroup_classes)
5
- create_table :hostgroups_puppetclasses, id: false do |t|
3
+ create_table :hostgroups_puppetclasses, id: false, if_not_exists: true do |t|
6
4
  t.references :hostgroup, foreign_key: true, null: false
7
5
  t.references :puppetclass, foreign_key: true, null: false
8
6
  end
@@ -145,15 +145,14 @@ Foreman::Plugin.register :foreman_puppet do
145
145
  'foreman_puppet/api/v2/puppetclasses' => [:destroy] },
146
146
  resource_type: 'ForemanPuppet::Puppetclass'
147
147
  permission :import_puppetclasses, { 'foreman_puppet/puppetclasses' => %i[import_environments obsolete_and_new],
148
- 'foreman_puppet/api/v2/environments' => [:import_puppetclasses],
149
- 'api/v2/smart_proxies' => [:import_puppetclasses] },
148
+ 'foreman_puppet/api/v2/environments' => [:import_puppetclasses] },
150
149
  resource_type: 'ForemanPuppet::Puppetclass'
151
- permission :edit_classes, { :host_editing => [:edit_classes],
152
- 'foreman_puppet/api/v2/host_classes' => %i[index create destroy] },
150
+ permission :edit_classes, { 'foreman_puppet/api/v2/host_classes': %i[index create destroy] },
153
151
  resource_type: 'ForemanPuppet::HostClass'
154
152
  end
155
153
 
156
154
  add_all_permissions_to_default_roles
155
+ Foreman::Plugin::RbacSupport::AUTO_EXTENDED_ROLES |= ['Site manager']
157
156
  add_permissions_to_default_roles(
158
157
  'Site manager' => %w[view_puppetclasses import_puppetclasses view_environments import_environments
159
158
  view_external_parameters create_external_parameters edit_external_parameters destroy_external_parameters]
@@ -225,8 +224,4 @@ Foreman::Plugin.register :foreman_puppet do
225
224
  priority: 100
226
225
  end
227
226
  end
228
- extend_page 'hosts/_list' do |cx|
229
- cx.add_pagelet :hosts_table_column_header, resource_type: 'host', partial: 'hosts/foreman_puppet/form_list_env_field_header', priority: 100
230
- cx.add_pagelet :hosts_table_column_content, resource_type: 'host', partial: 'hosts/foreman_puppet/form_list_env_field_content', priority: 100
231
- end
232
227
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '3.0.1'.freeze
3
3
  end
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_puppet 3.0.2\n"
11
+ "Project-Id-Version: foreman_puppet 1.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2021-02-03 16:30+0000\n"
14
14
  "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2021\n"
@@ -25,9 +25,6 @@ msgstr "Suprimeix"
25
25
  msgid "%s is not in environment"
26
26
  msgstr ""
27
27
 
28
- msgid "%s out of sync disabled"
29
- msgstr ""
30
-
31
28
  msgid "%{model} with id '%{id}' was not found"
32
29
  msgstr ""
33
30
 
@@ -73,9 +70,6 @@ msgstr "Afegeix una classe de Puppet a un amfitrió"
73
70
  msgid "Add a Puppet class to host group"
74
71
  msgstr "Afegeix una classe de Puppet a un grup d'amfitrions"
75
72
 
76
- msgid "Add a template combination"
77
- msgstr "Afegeix una combinació de plantilles"
78
-
79
73
  msgid "Add:"
80
74
  msgstr "Afegeix:"
81
75
 
@@ -85,9 +79,6 @@ msgstr "Tots els entorns - (sense filtrar)"
85
79
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
86
80
  msgstr ""
87
81
 
88
- msgid "Autosign entries"
89
- msgstr ""
90
-
91
82
  msgid "Available Classes"
92
83
  msgstr "Classes disponibles"
93
84
 
@@ -103,9 +94,6 @@ msgstr ""
103
94
  msgid "Cancel"
104
95
  msgstr "Cancel·la"
105
96
 
106
- msgid "Certificates"
107
- msgstr ""
108
-
109
97
  msgid "Change Environment"
110
98
  msgstr "Canvia l'entorn"
111
99
 
@@ -145,9 +133,6 @@ msgstr "Feu clic per suprimir el grup de configuracions"
145
133
  msgid "Config Groups"
146
134
  msgstr "Grups de configuracions"
147
135
 
148
- msgid "Config Management"
149
- msgstr "Gestió de la configuració"
150
-
151
136
  msgid "Create Config Group"
152
137
  msgstr "Crea un grup de configuracions"
153
138
 
@@ -169,9 +154,6 @@ msgstr "Crea un entorn"
169
154
  msgid "Create an override value for a specific smart class parameter"
170
155
  msgstr ""
171
156
 
172
- msgid "Default Puppet environment"
173
- msgstr "Entorn de Puppet per defecte"
174
-
175
157
  msgid "Default value"
176
158
  msgstr "Valor per defecte"
177
159
 
@@ -217,18 +199,9 @@ msgstr ""
217
199
  msgid "Description of smart class"
218
200
  msgstr "Descripció de la classe intel·ligent"
219
201
 
220
- msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
221
- msgstr ""
222
-
223
202
  msgid "Display hidden values"
224
203
  msgstr "Mostra els valors ocults"
225
204
 
226
- msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
227
- msgstr ""
228
-
229
- msgid "ENC environment"
230
- msgstr "Entorn ENC"
231
-
232
205
  msgid "Edit %s"
233
206
  msgstr "Edita %s"
234
207
 
@@ -250,9 +223,6 @@ msgstr "Entorns"
250
223
  msgid "Environment|Name"
251
224
  msgstr "Nom"
252
225
 
253
- msgid "Facts"
254
- msgstr "Objectes d'interès"
255
-
256
226
  msgid "Failed to import %{klass} for %{name}: doesn't exists in our database - ignoring"
257
227
  msgstr ""
258
228
 
@@ -271,21 +241,12 @@ msgstr "Filtra amb el nom"
271
241
  msgid "Filter classes"
272
242
  msgstr "Filtra les classes"
273
243
 
274
- msgid "Foreman will default to this puppet environment if it cannot auto detect one"
275
- msgstr "Foreman utilitzarà per defecte aquest entorn de puppet si no en pot detectar automàticament un"
276
-
277
- msgid "Foreman will explicitly set the puppet environment in the ENC yaml output. This will avoid conflicts between the environment in puppet.conf and the environment set in Foreman"
278
- msgstr "Foreman establirà explícitament l'entorn de puppet a la sortida YAML ENC. Això evitarà conflictes entre l'entorn establert al puppet.conf i l'entorn establert a Foreman"
279
-
280
244
  msgid "Foreman will not send this parameter in classification output"
281
245
  msgstr ""
282
246
 
283
247
  msgid "Foreman will not send this parameter in classification output.Puppet will use the value defined in the Puppet manifest for this parameter"
284
248
  msgstr ""
285
249
 
286
- msgid "Foreman will update a host's environment from its facts"
287
- msgstr "Foreman actualitzarà l'entorn d'un amfitrió a partir dels seus objectes d'interès"
288
-
289
250
  msgid "General"
290
251
  msgstr "General"
291
252
 
@@ -313,9 +274,6 @@ msgstr ""
313
274
  msgid "ID of Puppet class"
314
275
  msgstr "ID de classe de Puppet"
315
276
 
316
- msgid "ID of Puppet environment"
317
- msgstr ""
318
-
319
277
  msgid "ID of Puppetclass"
320
278
  msgstr ""
321
279
 
@@ -343,9 +301,6 @@ msgstr ""
343
301
  msgid "If true, will raise an error if there is no default value and no matcher provide a value"
344
302
  msgstr "En cas que sigui cert, es produirà un error si no hi ha cap valor per defecte i no hi ha cap classificador que proporcioni un valor"
345
303
 
346
- msgid "If you are planning to use Foreman as an external node classifier you should provide information about one or more environments.<br/> This information is commonly imported from a pre-existing Puppet configuration by the use of the <a target=\"_blank\" href=${getManualURL( '4.2.2Classes' )}>Puppet classes and environment importer.</a>"
347
- msgstr ""
348
-
349
304
  msgid "Ignored classes in the environments: %s"
350
305
  msgstr ""
351
306
 
@@ -457,9 +412,6 @@ msgstr "Llista tots els paràmetres de la classe intel·ligent per a un amfitri
457
412
  msgid "List of smart class parameters for a specific host group"
458
413
  msgstr "Llista tots els paràmetres de la classe intel·ligent per a un grup d'amfitrions específic"
459
414
 
460
- msgid "List template combination"
461
- msgstr ""
462
-
463
415
  msgid "Loading parameters..."
464
416
  msgstr "S'estan carregant els paràmetres..."
465
417
 
@@ -604,9 +556,6 @@ msgstr "Entorns de Puppet"
604
556
  msgid "Puppet external nodes YAML dump"
605
557
  msgstr ""
606
558
 
607
- msgid "Puppet interval"
608
- msgstr "Interval de Puppet"
609
-
610
559
  msgid "Puppet parameter"
611
560
  msgstr "Paràmetre de Puppet"
612
561
 
@@ -673,18 +622,12 @@ msgstr "Mostra un entorn"
673
622
  msgid "Show an override value for a specific smart class parameter"
674
623
  msgstr ""
675
624
 
676
- msgid "Show template combination"
677
- msgstr "Mostra una combinació de plantilles"
678
-
679
625
  msgid "Smart Class Parameter"
680
626
  msgstr "Paràmetre de la classe intel·ligent"
681
627
 
682
628
  msgid "Smart Class Parameters"
683
629
  msgstr "Paràmetres de les classes intel·ligents"
684
630
 
685
- msgid "Some Puppet Classes are unavailable in the selected environment"
686
- msgstr ""
687
-
688
631
  msgid "Successfully overridden all parameters of Puppet class %s"
689
632
  msgstr "S'han redefinit correctament tots els paràmetres de la classe de Puppet %s"
690
633
 
@@ -717,9 +660,6 @@ msgstr "L'última de les entrades, valor predeterminat del sistema operatiu, es
717
660
  msgid "The order in which values are resolved"
718
661
  msgstr "L'ordre en què es resolen els valors"
719
662
 
720
- msgid "The requested environment cannot be found."
721
- msgstr ""
722
-
723
663
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
724
664
  msgstr ""
725
665
 
@@ -768,12 +708,6 @@ msgstr "Actualitza un entorn"
768
708
  msgid "Update an override value for a specific smart class parameter"
769
709
  msgstr ""
770
710
 
771
- msgid "Update environment from facts"
772
- msgstr "Actualitza l'entorn des dels objectes d'interès"
773
-
774
- msgid "Update template combination"
775
- msgstr "Actualitza una combinació de plantilles"
776
-
777
711
  msgid "Update:"
778
712
  msgstr "Actualitza:"
779
713
 
@@ -816,9 +750,6 @@ msgstr ""
816
750
  msgid "belongs to config group"
817
751
  msgstr "pertany al grup de configuracions"
818
752
 
819
- msgid "environment id"
820
- msgstr "id d'entorn"
821
-
822
753
  msgid "included already from parent"
823
754
  msgstr ""
824
755