foreman_puppet 5.1.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_puppet/locale/ca/foreman_puppet.js +861 -0
  3. data/app/assets/javascripts/foreman_puppet/locale/cs_CZ/foreman_puppet.js +861 -0
  4. data/app/assets/javascripts/foreman_puppet/locale/de/foreman_puppet.js +861 -0
  5. data/app/assets/javascripts/foreman_puppet/locale/en/foreman_puppet.js +861 -0
  6. data/app/assets/javascripts/foreman_puppet/locale/en_GB/foreman_puppet.js +861 -0
  7. data/app/assets/javascripts/foreman_puppet/locale/es/foreman_puppet.js +861 -0
  8. data/app/assets/javascripts/foreman_puppet/locale/fr/foreman_puppet.js +863 -0
  9. data/app/assets/javascripts/foreman_puppet/locale/gl/foreman_puppet.js +861 -0
  10. data/app/assets/javascripts/foreman_puppet/locale/it/foreman_puppet.js +861 -0
  11. data/app/assets/javascripts/foreman_puppet/locale/ja/foreman_puppet.js +859 -0
  12. data/app/assets/javascripts/foreman_puppet/locale/ka/foreman_puppet.js +861 -0
  13. data/app/assets/javascripts/foreman_puppet/locale/ko/foreman_puppet.js +861 -0
  14. data/app/assets/javascripts/foreman_puppet/locale/nl_NL/foreman_puppet.js +861 -0
  15. data/app/assets/javascripts/foreman_puppet/locale/pl/foreman_puppet.js +861 -0
  16. data/app/assets/javascripts/foreman_puppet/locale/pt_BR/foreman_puppet.js +861 -0
  17. data/app/assets/javascripts/foreman_puppet/locale/ru/foreman_puppet.js +861 -0
  18. data/app/assets/javascripts/foreman_puppet/locale/sv_SE/foreman_puppet.js +861 -0
  19. data/app/assets/javascripts/foreman_puppet/locale/zh_CN/foreman_puppet.js +859 -0
  20. data/app/assets/javascripts/foreman_puppet/locale/zh_TW/foreman_puppet.js +861 -0
  21. data/app/models/concerns/foreman_puppet/extensions/host.rb +1 -1
  22. data/app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb +5 -0
  23. data/app/views/foreman_puppet/environments/welcome.html.erb +5 -0
  24. data/app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb +1 -1
  25. data/app/views/foreman_puppet/puppetclasses/_selected_classes.html.erb +1 -1
  26. data/app/views/hosts/select_multiple_puppet_proxy.html.erb +5 -0
  27. data/app/views/smart_proxies/plugins/_puppet.html.erb +1 -2
  28. data/lib/foreman_puppet/engine.rb +0 -6
  29. data/lib/foreman_puppet/register.rb +3 -1
  30. data/lib/foreman_puppet/version.rb +1 -1
  31. data/locale/Makefile +6 -3
  32. data/locale/ca/foreman_puppet.edit.po +32 -27
  33. data/locale/ca/foreman_puppet.po +6 -0
  34. data/locale/cs_CZ/foreman_puppet.edit.po +36 -40
  35. data/locale/cs_CZ/foreman_puppet.po +6 -0
  36. data/locale/de/foreman_puppet.edit.po +36 -40
  37. data/locale/de/foreman_puppet.po +6 -0
  38. data/locale/en/foreman_puppet.edit.po +32 -24
  39. data/locale/en/foreman_puppet.po +6 -0
  40. data/locale/en_GB/foreman_puppet.edit.po +36 -37
  41. data/locale/en_GB/foreman_puppet.po +6 -0
  42. data/locale/es/foreman_puppet.edit.po +36 -40
  43. data/locale/es/foreman_puppet.po +6 -0
  44. data/locale/foreman_puppet.pot +31 -22
  45. data/locale/fr/foreman_puppet.edit.po +36 -53
  46. data/locale/fr/foreman_puppet.po +6 -0
  47. data/locale/gl/foreman_puppet.edit.po +32 -24
  48. data/locale/gl/foreman_puppet.po +6 -0
  49. data/locale/it/foreman_puppet.edit.po +36 -37
  50. data/locale/it/foreman_puppet.po +6 -0
  51. data/locale/ja/foreman_puppet.edit.po +36 -51
  52. data/locale/ja/foreman_puppet.po +6 -0
  53. data/locale/ka/foreman_puppet.edit.po +36 -53
  54. data/locale/ka/foreman_puppet.po +6 -0
  55. data/locale/ko/foreman_puppet.edit.po +36 -40
  56. data/locale/ko/foreman_puppet.po +6 -0
  57. data/locale/nl_NL/foreman_puppet.edit.po +32 -24
  58. data/locale/nl_NL/foreman_puppet.po +6 -0
  59. data/locale/pl/foreman_puppet.edit.po +32 -24
  60. data/locale/pl/foreman_puppet.po +6 -0
  61. data/locale/pt_BR/foreman_puppet.edit.po +36 -40
  62. data/locale/pt_BR/foreman_puppet.po +6 -0
  63. data/locale/ru/foreman_puppet.edit.po +36 -40
  64. data/locale/ru/foreman_puppet.po +6 -0
  65. data/locale/sv_SE/foreman_puppet.edit.po +32 -24
  66. data/locale/sv_SE/foreman_puppet.po +6 -0
  67. data/locale/zh_CN/foreman_puppet.edit.po +36 -50
  68. data/locale/zh_CN/foreman_puppet.po +6 -0
  69. data/locale/zh_TW/foreman_puppet.edit.po +36 -40
  70. data/locale/zh_TW/foreman_puppet.po +6 -0
  71. data/webpack/src/Components/Environments/Welcome.js +1 -1
  72. data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js +4 -1
  73. data/webpack/src/Extends/Host/PuppetTab/index.js +1 -0
  74. metadata +37 -17
@@ -30,7 +30,7 @@ module ForemanPuppet
30
30
  def search_by_puppetclass(_key, operator, value)
31
31
  conditions = sanitize_sql_for_conditions(["puppetclasses.name #{operator} ?", value_to_sql(operator, value)])
32
32
  config_group_ids = ForemanPuppet::ConfigGroup.joins(:puppetclasses).where(conditions).pluck(:id)
33
- host_ids = ::Host.authorized(:view_hosts, Host).joins(puppet: :puppetclasses).where(conditions).distinct.pluck(:id)
33
+ host_ids = ::Host.authorized(:view_hosts).joins(puppet: :puppetclasses).where(conditions).distinct.pluck(:id)
34
34
  host_ids += ForemanPuppet::HostConfigGroup
35
35
  .where(host_type: 'ForemanPuppet::HostPuppetFacet')
36
36
  .where(config_group_id: config_group_ids)
@@ -1,4 +1,9 @@
1
1
  <% title _("Changed environments") %>
2
+ <%= breadcrumbs(switchable: false,
3
+ items: [
4
+ { caption: _('Puppet Environments'), url: environments_path },
5
+ { caption: _('Changed environments') }
6
+ ]) %>
2
7
  <%= form_tag controller.send("obsolete_and_new_#{controller_name}_path") do %>
3
8
  <h4><%= _("Select the changes you want to apply to Foreman") %></h4>
4
9
  <h6>
@@ -1,4 +1,9 @@
1
1
  <% content_for(:title, _("Puppet environments")) %>
2
+ <%= breadcrumbs(switchable: false,
3
+ items: [
4
+ { caption: _('Puppet Environments'), url: environments_path },
5
+ { caption: @page_header }
6
+ ]) %>
2
7
 
3
8
  <%= webpacked_plugins_js_for :foreman_puppet %>
4
9
  <%= react_component('WelcomeEnv', {canCreate: authorized_for(action: :new)}) %>
@@ -7,5 +7,5 @@
7
7
  :iconType => 'fa',
8
8
  :header => _('Smart Class Parameters'),
9
9
  :description => description,
10
- :documentation => { :url => documentation_url("4.2.5ParameterizedClasses") },
10
+ :documentation => { :url => documentation_url("4.2.5SmartMatchers") },
11
11
  }) %>
@@ -1,4 +1,4 @@
1
- <%= content_tag :li, id: "selected_puppetclass_#{klass.id}", class: [dom_class(klass, 'selected'), cycle('even', 'odd'), ('unavailable' unless klass.environments.include?(@environment))] do %>
1
+ <%= content_tag :li, id: "selected_puppetclass_#{klass.id}", class: [dom_class(klass, 'selected'), cycle('even', 'odd'), ('unavailable' unless klass.environments.include?(obj.environment.present? ? obj.environment : @environment))] do %>
2
2
  <%= link_to_remove_puppetclass(klass, obj) %>
3
3
  <%= hidden_field_tag "#{resource_type}[puppetclass_ids][]", klass.id %>
4
4
  <% end %>
@@ -0,0 +1,5 @@
1
+ <%= render 'selected_hosts', :hosts => @hosts %>
2
+
3
+ <%= form_for :proxy, :url => foreman_puppet.update_multiple_puppet_proxy_hosts_path(:host_ids => params[:host_ids]) do |f| %>
4
+ <%= multiple_proxy_select(f, 'Puppet') %>
5
+ <% end %>
@@ -1,4 +1,3 @@
1
- <% javascript 'charts' %>
2
1
  <ul id="proxy-puppet-tab" class="nav nav-tabs nav-tabs-pf">
3
2
  <li class="active"><a href="#puppet_dashboard" data-toggle="tab"><%= _('General')%></a></li>
4
3
  <li><a href="#puppet_envs" data-toggle="tab"><%= _('Environments') %></a></li>
@@ -16,7 +15,7 @@
16
15
  </div>
17
16
  </div>
18
17
  </div>
19
- <div class="clearfix row container-cards-pf container-fluid" data-ajax-url="<%= foreman_puppet.dashboard_puppet_smart_proxy_path(@smart_proxy) %>" data-on-complete="refreshCharts"><%= spinner %></div>
18
+ <div class="clearfix row container-cards-pf container-fluid" data-ajax-url="<%= foreman_puppet.dashboard_puppet_smart_proxy_path(@smart_proxy) %>"><%= spinner %></div>
20
19
  </div>
21
20
  <div class="tab-pane" id="puppet_envs" data-ajax-url="<%= foreman_puppet.environments_puppet_smart_proxy_path(@smart_proxy) %>">
22
21
  <%= spinner %>
@@ -91,11 +91,5 @@ module ForemanPuppet
91
91
  ForemanPuppet::Engine.load_seed
92
92
  end
93
93
  end
94
-
95
- initializer 'foreman_puppet.register_gettext', after: :load_config_initializers do |_app|
96
- locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
97
- locale_domain = 'foreman_puppet'
98
- Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
99
- end
100
94
  end
101
95
  end
@@ -1,5 +1,7 @@
1
1
  Foreman::Plugin.register :foreman_puppet do
2
- requires_foreman '>= 3.5.0'
2
+ requires_foreman '>= 3.7'
3
+ register_gettext
4
+
3
5
  # Add Global JS file for extending foreman-core components and routes
4
6
  register_global_js_file 'global'
5
7
 
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '5.1.1'.freeze
2
+ VERSION = '6.0.0'.freeze
3
3
  end
data/locale/Makefile CHANGED
@@ -14,6 +14,7 @@ POFILES = $(shell find . -name '$(DOMAIN).po')
14
14
  MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
15
  POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
16
  EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
17
+ JSFILES = $(shell find ../app/assets/javascripts/*/locale -name '$(DOMAIN).js')
17
18
 
18
19
  %.mo: %.po
19
20
  mkdir -p $(shell dirname $@)/LC_MESSAGES
@@ -42,18 +43,20 @@ uniq-po:
42
43
  done
43
44
 
44
45
  tx-pull: $(EDITFILES)
45
- tx pull -f
46
+ cd .. && tx pull -f
46
47
  for f in $(EDITFILES) ; do \
47
48
  sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
48
49
  done
49
50
 
50
51
  tx-update: tx-pull
51
52
  @echo
52
- @echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation, then make -C locale mo-files to finish
53
+ @echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation
54
+ @echo then run rake plugin:po_to_json[$(DOMAIN)] from the Foreman installation
55
+ @echo then run make -C locale mo-files to finish
53
56
  @echo
54
57
 
55
58
  mo-files: $(MOFILES)
56
- git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
59
+ git add $(POFILES) $(POTFILE) $(JSFILES) ../locale/*/LC_MESSAGES
57
60
  git commit -m "i18n - pulling from tx"
58
61
  @echo
59
62
  @echo Changes commited!
@@ -193,7 +193,7 @@ msgstr[1] ""
193
193
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
194
194
  msgstr ""
195
195
 
196
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:229 ../webpack/src/Extends/Fills/index.js:12
196
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:231 ../webpack/src/Extends/Fills/index.js:12
197
197
  msgid "Puppet"
198
198
  msgstr "Puppet"
199
199
 
@@ -753,7 +753,7 @@ msgstr "Grups de configuracions disponibles"
753
753
  msgid "Edit %s"
754
754
  msgstr "Edita %s"
755
755
 
756
- #: ../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:9 ../lib/foreman_puppet/register.rb:172
756
+ #: ../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:9 ../lib/foreman_puppet/register.rb:174
757
757
  msgid "Config Groups"
758
758
  msgstr "Grups de configuracions"
759
759
 
@@ -793,7 +793,7 @@ msgstr "Ubicacions"
793
793
  msgid "Organizations"
794
794
  msgstr "Organitzacions"
795
795
 
796
- #: ../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
796
+ #: ../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 ../app/views/foreman_puppet/environments/welcome.html.erb:4 ../webpack/src/Components/Environments/Welcome.js:40
797
797
  msgid "Puppet Environments"
798
798
  msgstr "Entorns de Puppet"
799
799
 
@@ -801,7 +801,7 @@ msgstr "Entorns de Puppet"
801
801
  msgid "Environment|Name"
802
802
  msgstr "Nom"
803
803
 
804
- #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:169
804
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:171
805
805
  msgid "Classes"
806
806
  msgstr "Classes"
807
807
 
@@ -829,7 +829,7 @@ msgstr ""
829
829
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
830
830
  msgstr ""
831
831
 
832
- #: ../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:8 ../lib/foreman_puppet/register.rb:175
832
+ #: ../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:8 ../lib/foreman_puppet/register.rb:177
833
833
  msgid "Smart Class Parameters"
834
834
  msgstr "Paràmetres de les classes intel·ligents"
835
835
 
@@ -925,7 +925,7 @@ msgstr "Edita la classe de Puppet %s"
925
925
  msgid "Puppetclass|Name"
926
926
  msgstr "Nom"
927
927
 
928
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:166 ../webpack/src/Components/Environments/Welcome.js:40
928
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:168
929
929
  msgid "Environments"
930
930
  msgstr "Entorns"
931
931
 
@@ -997,59 +997,59 @@ msgstr "General"
997
997
  msgid "Hosts managed:"
998
998
  msgstr ""
999
999
 
1000
- #: ../lib/foreman_puppet/register.rb:7
1000
+ #: ../lib/foreman_puppet/register.rb:9
1001
1001
  msgid "Facts"
1002
1002
  msgstr "Objectes d'interès"
1003
1003
 
1004
- #: ../lib/foreman_puppet/register.rb:10
1004
+ #: ../lib/foreman_puppet/register.rb:12
1005
1005
  msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1006
1006
  msgstr "Foreman utilitzarà per defecte aquest entorn de puppet si no en pot detectar automàticament un"
1007
1007
 
1008
- #: ../lib/foreman_puppet/register.rb:12
1008
+ #: ../lib/foreman_puppet/register.rb:14
1009
1009
  msgid "Default Puppet environment"
1010
1010
  msgstr "Entorn de Puppet per defecte"
1011
1011
 
1012
- #: ../lib/foreman_puppet/register.rb:16
1012
+ #: ../lib/foreman_puppet/register.rb:18
1013
1013
  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"
1014
1014
  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"
1015
1015
 
1016
- #: ../lib/foreman_puppet/register.rb:19
1016
+ #: ../lib/foreman_puppet/register.rb:21
1017
1017
  msgid "ENC environment"
1018
1018
  msgstr "Entorn ENC"
1019
1019
 
1020
- #: ../lib/foreman_puppet/register.rb:22
1020
+ #: ../lib/foreman_puppet/register.rb:24
1021
1021
  msgid "Foreman will update a host's environment from its facts"
1022
1022
  msgstr "Foreman actualitzarà l'entorn d'un amfitrió a partir dels seus objectes d'interès"
1023
1023
 
1024
- #: ../lib/foreman_puppet/register.rb:24
1024
+ #: ../lib/foreman_puppet/register.rb:26
1025
1025
  msgid "Update environment from facts"
1026
1026
  msgstr "Actualitza l'entorn des dels objectes d'interès"
1027
1027
 
1028
- #: ../lib/foreman_puppet/register.rb:27
1028
+ #: ../lib/foreman_puppet/register.rb:29
1029
1029
  msgid "Config Management"
1030
1030
  msgstr "Gestió de la configuració"
1031
1031
 
1032
- #: ../lib/foreman_puppet/register.rb:30
1032
+ #: ../lib/foreman_puppet/register.rb:32
1033
1033
  msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
1034
1034
  msgstr ""
1035
1035
 
1036
- #: ../lib/foreman_puppet/register.rb:32
1036
+ #: ../lib/foreman_puppet/register.rb:34
1037
1037
  msgid "Puppet interval"
1038
1038
  msgstr "Interval de Puppet"
1039
1039
 
1040
- #: ../lib/foreman_puppet/register.rb:35
1040
+ #: ../lib/foreman_puppet/register.rb:37
1041
1041
  msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
1042
1042
  msgstr ""
1043
1043
 
1044
- #: ../lib/foreman_puppet/register.rb:37
1044
+ #: ../lib/foreman_puppet/register.rb:39
1045
1045
  msgid "%s out of sync disabled"
1046
1046
  msgstr ""
1047
1047
 
1048
- #: ../lib/foreman_puppet/register.rb:163 ../lib/foreman_puppet/register.rb:216
1048
+ #: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
1049
1049
  msgid "Puppet ENC"
1050
1050
  msgstr ""
1051
1051
 
1052
- #: ../lib/foreman_puppet/register.rb:230
1052
+ #: ../lib/foreman_puppet/register.rb:232
1053
1053
  msgid "Puppet env"
1054
1054
  msgstr ""
1055
1055
 
@@ -1073,6 +1073,14 @@ msgstr ""
1073
1073
  msgid "Smart class parameters"
1074
1074
  msgstr "Paràmetres de la classe intel·ligent"
1075
1075
 
1076
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
1077
+ msgid "Successfully copied to clipboard!"
1078
+ msgstr ""
1079
+
1080
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
1081
+ msgid "Copy to clipboard"
1082
+ msgstr ""
1083
+
1076
1084
  #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
1077
1085
  msgid "Couldn't find any ENC data for this host"
1078
1086
  msgstr ""
@@ -1122,24 +1130,21 @@ msgid "Some Puppet Classes are unavailable in the selected environment"
1122
1130
  msgstr ""
1123
1131
 
1124
1132
  #: action_names.rb:2
1125
- msgid "Remote action:"
1133
+ msgid "Action with sub plans"
1126
1134
  msgstr ""
1127
1135
 
1128
1136
  #: action_names.rb:3
1129
- msgid "»Action with sub plans«"
1137
+ msgid "Import facts"
1130
1138
  msgstr ""
1131
1139
 
1132
1140
  #: action_names.rb:4
1133
- msgid "»Import Puppet classes«"
1141
+ msgid "Import Puppet classes"
1134
1142
  msgstr ""
1135
1143
 
1136
1144
  #: action_names.rb:5
1137
- msgid "»Import facts«"
1145
+ msgid "Remote action:"
1138
1146
  msgstr ""
1139
1147
 
1140
1148
  #: gemspec.rb:2
1141
1149
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1142
1150
  msgstr ""
1143
-
1144
- #~ msgid "Environment name"
1145
- #~ msgstr "Nom de l'entorn"
@@ -145,6 +145,9 @@ msgstr "Grups de configuracions"
145
145
  msgid "Config Management"
146
146
  msgstr "Gestió de la configuració"
147
147
 
148
+ msgid "Copy to clipboard"
149
+ msgstr ""
150
+
148
151
  msgid "Couldn't find any ENC data for this host"
149
152
  msgstr ""
150
153
 
@@ -718,6 +721,9 @@ msgstr "Paràmetres de la classe intel·ligent"
718
721
  msgid "Some Puppet Classes are unavailable in the selected environment"
719
722
  msgstr ""
720
723
 
724
+ msgid "Successfully copied to clipboard!"
725
+ msgstr ""
726
+
721
727
  msgid "Successfully overridden all parameters of Puppet class %s"
722
728
  msgstr "S'han redefinit correctament tots els paràmetres de la classe de Puppet %s"
723
729
 
@@ -198,7 +198,7 @@ msgstr[1] ""
198
198
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
199
199
  msgstr ""
200
200
 
201
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:229 ../webpack/src/Extends/Fills/index.js:12
201
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204 ../lib/foreman_puppet/register.rb:231 ../webpack/src/Extends/Fills/index.js:12
202
202
  msgid "Puppet"
203
203
  msgstr "Puppet"
204
204
 
@@ -758,7 +758,7 @@ msgstr "Skupiny nastavení k dispozici"
758
758
  msgid "Edit %s"
759
759
  msgstr "Upravit %s"
760
760
 
761
- #: ../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:9 ../lib/foreman_puppet/register.rb:172
761
+ #: ../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:9 ../lib/foreman_puppet/register.rb:174
762
762
  msgid "Config Groups"
763
763
  msgstr ""
764
764
 
@@ -798,7 +798,7 @@ msgstr "Umístění"
798
798
  msgid "Organizations"
799
799
  msgstr "Organizace"
800
800
 
801
- #: ../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
801
+ #: ../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 ../app/views/foreman_puppet/environments/welcome.html.erb:4 ../webpack/src/Components/Environments/Welcome.js:40
802
802
  msgid "Puppet Environments"
803
803
  msgstr "Puppet prostředí"
804
804
 
@@ -806,7 +806,7 @@ msgstr "Puppet prostředí"
806
806
  msgid "Environment|Name"
807
807
  msgstr "Environment|Název"
808
808
 
809
- #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:169
809
+ #: ../app/views/foreman_puppet/environments/index.html.erb:22 ../lib/foreman_puppet/register.rb:171
810
810
  msgid "Classes"
811
811
  msgstr "Třídy"
812
812
 
@@ -834,7 +834,7 @@ msgstr "Nebylo nalezeno žádné prostředí"
834
834
  msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
835
835
  msgstr ""
836
836
 
837
- #: ../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:8 ../lib/foreman_puppet/register.rb:175
837
+ #: ../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:8 ../lib/foreman_puppet/register.rb:177
838
838
  msgid "Smart Class Parameters"
839
839
  msgstr ""
840
840
 
@@ -930,7 +930,7 @@ msgstr "Upravit puppet třídu %s"
930
930
  msgid "Puppetclass|Name"
931
931
  msgstr "Puppetclass|Název"
932
932
 
933
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:166 ../webpack/src/Components/Environments/Welcome.js:40
933
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10 ../app/views/smart_proxies/plugins/_puppet.html.erb:4 ../lib/foreman_puppet/register.rb:168
934
934
  msgid "Environments"
935
935
  msgstr "Prostředí"
936
936
 
@@ -1002,59 +1002,59 @@ msgstr "Obecné"
1002
1002
  msgid "Hosts managed:"
1003
1003
  msgstr "Spravované stroje:"
1004
1004
 
1005
- #: ../lib/foreman_puppet/register.rb:7
1005
+ #: ../lib/foreman_puppet/register.rb:9
1006
1006
  msgid "Facts"
1007
1007
  msgstr "Fakta"
1008
1008
 
1009
- #: ../lib/foreman_puppet/register.rb:10
1009
+ #: ../lib/foreman_puppet/register.rb:12
1010
1010
  msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1011
1011
  msgstr ""
1012
1012
 
1013
- #: ../lib/foreman_puppet/register.rb:12
1013
+ #: ../lib/foreman_puppet/register.rb:14
1014
1014
  msgid "Default Puppet environment"
1015
1015
  msgstr ""
1016
1016
 
1017
- #: ../lib/foreman_puppet/register.rb:16
1017
+ #: ../lib/foreman_puppet/register.rb:18
1018
1018
  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"
1019
1019
  msgstr ""
1020
1020
 
1021
- #: ../lib/foreman_puppet/register.rb:19
1021
+ #: ../lib/foreman_puppet/register.rb:21
1022
1022
  msgid "ENC environment"
1023
1023
  msgstr "ENC prostředí"
1024
1024
 
1025
- #: ../lib/foreman_puppet/register.rb:22
1025
+ #: ../lib/foreman_puppet/register.rb:24
1026
1026
  msgid "Foreman will update a host's environment from its facts"
1027
1027
  msgstr ""
1028
1028
 
1029
- #: ../lib/foreman_puppet/register.rb:24
1029
+ #: ../lib/foreman_puppet/register.rb:26
1030
1030
  msgid "Update environment from facts"
1031
1031
  msgstr "Aktualizovat prostředí z faktů"
1032
1032
 
1033
- #: ../lib/foreman_puppet/register.rb:27
1033
+ #: ../lib/foreman_puppet/register.rb:29
1034
1034
  msgid "Config Management"
1035
1035
  msgstr "Správa nastavení"
1036
1036
 
1037
- #: ../lib/foreman_puppet/register.rb:30
1037
+ #: ../lib/foreman_puppet/register.rb:32
1038
1038
  msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
1039
1039
  msgstr ""
1040
1040
 
1041
- #: ../lib/foreman_puppet/register.rb:32
1041
+ #: ../lib/foreman_puppet/register.rb:34
1042
1042
  msgid "Puppet interval"
1043
1043
  msgstr ""
1044
1044
 
1045
- #: ../lib/foreman_puppet/register.rb:35
1045
+ #: ../lib/foreman_puppet/register.rb:37
1046
1046
  msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
1047
1047
  msgstr ""
1048
1048
 
1049
- #: ../lib/foreman_puppet/register.rb:37
1049
+ #: ../lib/foreman_puppet/register.rb:39
1050
1050
  msgid "%s out of sync disabled"
1051
1051
  msgstr ""
1052
1052
 
1053
- #: ../lib/foreman_puppet/register.rb:163 ../lib/foreman_puppet/register.rb:216
1053
+ #: ../lib/foreman_puppet/register.rb:165 ../lib/foreman_puppet/register.rb:218
1054
1054
  msgid "Puppet ENC"
1055
1055
  msgstr ""
1056
1056
 
1057
- #: ../lib/foreman_puppet/register.rb:230
1057
+ #: ../lib/foreman_puppet/register.rb:232
1058
1058
  msgid "Puppet env"
1059
1059
  msgstr ""
1060
1060
 
@@ -1078,6 +1078,14 @@ msgstr ""
1078
1078
  msgid "Smart class parameters"
1079
1079
  msgstr ""
1080
1080
 
1081
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:43
1082
+ msgid "Successfully copied to clipboard!"
1083
+ msgstr ""
1084
+
1085
+ #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js:44
1086
+ msgid "Copy to clipboard"
1087
+ msgstr ""
1088
+
1081
1089
  #: ../webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js:28
1082
1090
  msgid "Couldn't find any ENC data for this host"
1083
1091
  msgstr ""
@@ -1127,33 +1135,21 @@ msgid "Some Puppet Classes are unavailable in the selected environment"
1127
1135
  msgstr ""
1128
1136
 
1129
1137
  #: action_names.rb:2
1130
- msgid "Remote action:"
1131
- msgstr "Akce na protějšku:"
1138
+ msgid "Action with sub plans"
1139
+ msgstr "Akce s dílčími plány"
1132
1140
 
1133
1141
  #: action_names.rb:3
1134
- msgid "»Action with sub plans«"
1135
- msgstr ""
1142
+ msgid "Import facts"
1143
+ msgstr "Importovat fakta"
1136
1144
 
1137
1145
  #: action_names.rb:4
1138
- msgid "»Import Puppet classes«"
1139
- msgstr ""
1146
+ msgid "Import Puppet classes"
1147
+ msgstr "Importovat Puppet třídy"
1140
1148
 
1141
1149
  #: action_names.rb:5
1142
- msgid "»Import facts«"
1143
- msgstr ""
1150
+ msgid "Remote action:"
1151
+ msgstr "Akce na protějšku:"
1144
1152
 
1145
1153
  #: gemspec.rb:2
1146
1154
  msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1147
1155
  msgstr ""
1148
-
1149
- #~ msgid "Action with sub plans"
1150
- #~ msgstr "Akce s dílčími plány"
1151
-
1152
- #~ msgid "Environment name"
1153
- #~ msgstr "Název prostředí"
1154
-
1155
- #~ msgid "Import Puppet classes"
1156
- #~ msgstr "Importovat Puppet třídy"
1157
-
1158
- #~ msgid "Import facts"
1159
- #~ msgstr "Importovat fakta"
@@ -150,6 +150,9 @@ msgstr ""
150
150
  msgid "Config Management"
151
151
  msgstr "Správa nastavení"
152
152
 
153
+ msgid "Copy to clipboard"
154
+ msgstr ""
155
+
153
156
  msgid "Couldn't find any ENC data for this host"
154
157
  msgstr ""
155
158
 
@@ -723,6 +726,9 @@ msgstr ""
723
726
  msgid "Some Puppet Classes are unavailable in the selected environment"
724
727
  msgstr ""
725
728
 
729
+ msgid "Successfully copied to clipboard!"
730
+ msgstr ""
731
+
726
732
  msgid "Successfully overridden all parameters of Puppet class %s"
727
733
  msgstr ""
728
734