foreman_puppet 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +619 -0
  3. data/README.md +38 -0
  4. data/Rakefile +31 -0
  5. data/app/assets/stylesheets/foreman_puppet.scss +117 -0
  6. data/app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb +139 -0
  7. data/app/controllers/concerns/foreman_puppet/environments_import.rb +61 -0
  8. data/app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb +40 -0
  9. data/app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb +23 -0
  10. data/app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb +48 -0
  11. data/app/controllers/concerns/foreman_puppet/extensions/hostgroups_controller_extensions.rb +58 -0
  12. data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +228 -0
  13. data/app/controllers/concerns/foreman_puppet/extensions/operatingsystems_controller.rb +11 -0
  14. data/app/controllers/concerns/foreman_puppet/extensions/parameters_host.rb +75 -0
  15. data/app/controllers/concerns/foreman_puppet/extensions/parameters_hostgroup.rb +70 -0
  16. data/app/controllers/concerns/foreman_puppet/extensions/parameters_template_combination.rb +21 -0
  17. data/app/controllers/concerns/foreman_puppet/parameters/config_group.rb +17 -0
  18. data/app/controllers/concerns/foreman_puppet/parameters/environment.rb +21 -0
  19. data/app/controllers/concerns/foreman_puppet/parameters/puppetclass.rb +24 -0
  20. data/app/controllers/concerns/foreman_puppet/parameters/puppetclass_lookup_key.rb +24 -0
  21. data/app/controllers/foreman_puppet/api/v2/base_controller.rb +26 -0
  22. data/app/controllers/foreman_puppet/api/v2/config_groups_controller.rb +57 -0
  23. data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +91 -0
  24. data/app/controllers/foreman_puppet/api/v2/host_classes_controller.rb +59 -0
  25. data/app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb +46 -0
  26. data/app/controllers/foreman_puppet/api/v2/lookups_common_controller.rb +114 -0
  27. data/app/controllers/foreman_puppet/api/v2/override_values_controller.rb +99 -0
  28. data/app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb +99 -0
  29. data/app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb +76 -0
  30. data/app/controllers/foreman_puppet/config_groups_controller.rb +46 -0
  31. data/app/controllers/foreman_puppet/environments_controller.rb +51 -0
  32. data/app/controllers/foreman_puppet/puppet_smart_proxies_controller.rb +39 -0
  33. data/app/controllers/foreman_puppet/puppetclass_lookup_keys_controller.rb +33 -0
  34. data/app/controllers/foreman_puppet/puppetclasses_controller.rb +113 -0
  35. data/app/controllers/foreman_puppet/react_controller.rb +19 -0
  36. data/app/helpers/concerns/foreman_puppet/template_renderer_scope.rb +14 -0
  37. data/app/helpers/foreman_puppet/environments_helper.rb +17 -0
  38. data/app/helpers/foreman_puppet/hosts_and_hostgroups_helper.rb +96 -0
  39. data/app/helpers/foreman_puppet/hosts_helper.rb +32 -0
  40. data/app/helpers/foreman_puppet/puppet_smart_proxies_helper.rb +8 -0
  41. data/app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb +135 -0
  42. data/app/helpers/foreman_puppet/puppetclasses_and_environments_helper.rb +55 -0
  43. data/app/helpers/foreman_puppet/puppetclasses_helper.rb +59 -0
  44. data/app/helpers/foreman_puppet/template_combinations_helper.rb +33 -0
  45. data/app/models/concerns/foreman_puppet/extensions/host.rb +88 -0
  46. data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +40 -0
  47. data/app/models/concerns/foreman_puppet/extensions/nic_managed.rb +11 -0
  48. data/app/models/concerns/foreman_puppet/extensions/operatingsystem.rb +11 -0
  49. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +64 -0
  50. data/app/models/concerns/foreman_puppet/extensions/report.rb +11 -0
  51. data/app/models/concerns/foreman_puppet/extensions/taxonomy.rb +19 -0
  52. data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +23 -0
  53. data/app/models/concerns/foreman_puppet/extensions/user.rb +22 -0
  54. data/app/models/concerns/foreman_puppet/host_common.rb +90 -0
  55. data/app/models/concerns/foreman_puppet/puppet_lookup_value_extensions.rb +13 -0
  56. data/app/models/foreman_puppet/config_group.rb +45 -0
  57. data/app/models/foreman_puppet/config_group_class.rb +19 -0
  58. data/app/models/foreman_puppet/environment.rb +63 -0
  59. data/app/models/foreman_puppet/environment_class.rb +40 -0
  60. data/app/models/foreman_puppet/host_class.rb +23 -0
  61. data/app/models/foreman_puppet/host_config_group.rb +15 -0
  62. data/app/models/foreman_puppet/host_puppet_facet.rb +130 -0
  63. data/app/models/foreman_puppet/hostgroup_class.rb +23 -0
  64. data/app/models/foreman_puppet/hostgroup_puppet_facet.rb +98 -0
  65. data/app/models/foreman_puppet/puppetclass.rb +132 -0
  66. data/app/models/foreman_puppet/puppetclass_lookup_key.rb +58 -0
  67. data/app/services/foreman_puppet/host_info_providers/config_groups_info.rb +10 -0
  68. data/app/services/foreman_puppet/host_info_providers/puppet_info.rb +92 -0
  69. data/app/services/foreman_puppet/input_type/puppet_parameter_input.rb +35 -0
  70. data/app/services/foreman_puppet/proxy_status/puppet.rb +17 -0
  71. data/app/services/foreman_puppet/puppet_class_importer.rb +355 -0
  72. data/app/views/api/v2/template_combinations/base.json.erb +9 -0
  73. data/app/views/foreman_puppet/api/v2/config_groups/base.json.rabl +3 -0
  74. data/app/views/foreman_puppet/api/v2/config_groups/create.json.rabl +3 -0
  75. data/app/views/foreman_puppet/api/v2/config_groups/index.json.rabl +3 -0
  76. data/app/views/foreman_puppet/api/v2/config_groups/main.json.rabl +8 -0
  77. data/app/views/foreman_puppet/api/v2/config_groups/show.json.rabl +3 -0
  78. data/app/views/foreman_puppet/api/v2/config_groups/update.json.rabl +3 -0
  79. data/app/views/foreman_puppet/api/v2/environments/base.json.rabl +3 -0
  80. data/app/views/foreman_puppet/api/v2/environments/create.json.rabl +3 -0
  81. data/app/views/foreman_puppet/api/v2/environments/index.json.rabl +3 -0
  82. data/app/views/foreman_puppet/api/v2/environments/main.json.rabl +5 -0
  83. data/app/views/foreman_puppet/api/v2/environments/show.json.rabl +15 -0
  84. data/app/views/foreman_puppet/api/v2/environments/update.json.rabl +3 -0
  85. data/app/views/foreman_puppet/api/v2/host_puppet_facets/base.json.rabl +1 -0
  86. data/app/views/foreman_puppet/api/v2/host_puppet_facets/host_single.json.rabl +17 -0
  87. data/app/views/foreman_puppet/api/v2/host_puppet_facets/show.json.rabl +11 -0
  88. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/base.json.rabl +5 -0
  89. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/hostgroup_single.json.rabl +16 -0
  90. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/show.json.rabl +11 -0
  91. data/app/views/foreman_puppet/api/v2/import_puppetclasses/index.json.rabl +3 -0
  92. data/app/views/foreman_puppet/api/v2/import_puppetclasses/show.json.rabl +36 -0
  93. data/app/views/foreman_puppet/api/v2/override_values/create.json.rabl +3 -0
  94. data/app/views/foreman_puppet/api/v2/override_values/index.json.rabl +3 -0
  95. data/app/views/foreman_puppet/api/v2/override_values/show.json.rabl +3 -0
  96. data/app/views/foreman_puppet/api/v2/override_values/update.json.rabl +3 -0
  97. data/app/views/foreman_puppet/api/v2/puppetclasses/base.json.rabl +3 -0
  98. data/app/views/foreman_puppet/api/v2/puppetclasses/create.json.rabl +3 -0
  99. data/app/views/foreman_puppet/api/v2/puppetclasses/index.json.rabl +4 -0
  100. data/app/views/foreman_puppet/api/v2/puppetclasses/list.json.rabl +3 -0
  101. data/app/views/foreman_puppet/api/v2/puppetclasses/main.json.rabl +5 -0
  102. data/app/views/foreman_puppet/api/v2/puppetclasses/show.json.rabl +15 -0
  103. data/app/views/foreman_puppet/api/v2/puppetclasses/update.json.rabl +3 -0
  104. data/app/views/foreman_puppet/api/v2/smart_class_parameters/base.json.rabl +4 -0
  105. data/app/views/foreman_puppet/api/v2/smart_class_parameters/create.json.rabl +3 -0
  106. data/app/views/foreman_puppet/api/v2/smart_class_parameters/destroy.json.rabl +3 -0
  107. data/app/views/foreman_puppet/api/v2/smart_class_parameters/index.json.rabl +3 -0
  108. data/app/views/foreman_puppet/api/v2/smart_class_parameters/main.json.rabl +23 -0
  109. data/app/views/foreman_puppet/api/v2/smart_class_parameters/show.json.rabl +19 -0
  110. data/app/views/foreman_puppet/api/v2/smart_class_parameters/update.json.rabl +3 -0
  111. data/app/views/foreman_puppet/config_groups/_config_group.html.erb +34 -0
  112. data/app/views/foreman_puppet/config_groups/_config_groups_selection.html.erb +36 -0
  113. data/app/views/foreman_puppet/config_groups/_form.html.erb +9 -0
  114. data/app/views/foreman_puppet/config_groups/edit.html.erb +3 -0
  115. data/app/views/foreman_puppet/config_groups/index.html.erb +31 -0
  116. data/app/views/foreman_puppet/config_groups/new.html.erb +3 -0
  117. data/app/views/foreman_puppet/config_groups/welcome.html.erb +12 -0
  118. data/app/views/foreman_puppet/environments/_form.html.erb +20 -0
  119. data/app/views/foreman_puppet/environments/edit.html.erb +8 -0
  120. data/app/views/foreman_puppet/environments/index.html.erb +32 -0
  121. data/app/views/foreman_puppet/environments/new.html.erb +7 -0
  122. data/app/views/foreman_puppet/environments/welcome.html.erb +16 -0
  123. data/app/views/foreman_puppet/layouts/application_react.html.erb +15 -0
  124. data/app/views/foreman_puppet/puppet_smart_proxies/_dashboard.html.erb +9 -0
  125. data/app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb +30 -0
  126. data/app/views/foreman_puppet/puppetclass_lookup_keys/edit.html.erb +3 -0
  127. data/app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb +22 -0
  128. data/app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb +9 -0
  129. data/app/views/foreman_puppet/puppetclasses/_class_parameters.html.erb +37 -0
  130. data/app/views/foreman_puppet/puppetclasses/_class_selection.html.erb +70 -0
  131. data/app/views/foreman_puppet/puppetclasses/_classes.html.erb +22 -0
  132. data/app/views/foreman_puppet/puppetclasses/_classes_in_groups.html.erb +5 -0
  133. data/app/views/foreman_puppet/puppetclasses/_classes_parameters.html.erb +16 -0
  134. data/app/views/foreman_puppet/puppetclasses/_form.html.erb +62 -0
  135. data/app/views/foreman_puppet/puppetclasses/_selected_classes.html.erb +4 -0
  136. data/app/views/foreman_puppet/puppetclasses/edit.html.erb +4 -0
  137. data/app/views/foreman_puppet/puppetclasses/index.html.erb +47 -0
  138. data/app/views/hosts/_form_puppet_enc_tab.html.erb +24 -0
  139. data/app/views/hosts/foreman_puppet/_form_main_tab_fields.html.erb +1 -0
  140. data/app/views/hosts/select_multiple_environment.html.erb +8 -0
  141. data/app/views/provisioning_templates/_combination.html.erb +5 -0
  142. data/app/views/provisioning_templates/_combinations.html.erb +6 -0
  143. data/app/views/smart_proxies/plugins/_puppet.html.erb +24 -0
  144. data/config/api_routes.rb +81 -0
  145. data/config/routes.rb +89 -0
  146. data/db/migrate/20101121140000_add_environment_to_template_combinations.foreman_puppet.rb +9 -0
  147. data/db/migrate/20200720123005_migrate_puppet_core_types.foreman_puppet.rb +19 -0
  148. data/db/migrate/20200722171017_create_host_puppet_facet.foreman_puppet.rb +10 -0
  149. data/db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb +10 -0
  150. data/db/migrate/20200803113803_migrate_environment_to_puppet_facet.foreman_puppet.rb +22 -0
  151. data/db/migrate/20200803113903_migrate_host_type_in_host_config_groups.foreman_puppet.rb +29 -0
  152. data/db/migrate/20201125113903_migrate_puppetclasses_to_facets.foreman_puppet.rb +47 -0
  153. data/db/migrate_foreman/20090722141107_create_environments.rb +17 -0
  154. data/db/migrate_foreman/20120905095532_create_environment_classes.rb +15 -0
  155. data/db/migrate_foreman/20140407161817_create_config_groups.rb +9 -0
  156. data/db/migrate_foreman/20140407162007_create_config_group_classes.rb +10 -0
  157. data/db/migrate_foreman/20140407162059_create_host_config_groups.rb +11 -0
  158. data/db/migrate_foreman/20161205142618_delete_orphaned_smart_class_parameters.rb +10 -0
  159. data/db/migrate_foreman/20170109115157_fix_lookup_key_auditable_type.rb +15 -0
  160. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.rb +35 -0
  161. data/db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb +7 -0
  162. data/db/migrate_foreman/20181224174419_add_index_to_environment_class_by_lookup_key_and_puppetclass.rb +6 -0
  163. data/db/seeds.d/111_puppet_proxy_feature.rb +8 -0
  164. data/lib/foreman_puppet.rb +10 -0
  165. data/lib/foreman_puppet/engine.rb +82 -0
  166. data/lib/foreman_puppet/register.rb +218 -0
  167. data/lib/foreman_puppet/version.rb +3 -0
  168. data/lib/tasks/foreman_puppet_tasks.rake +31 -0
  169. data/locale/Makefile +60 -0
  170. data/locale/action_names.rb +5 -0
  171. data/locale/en/foreman_puppet.edit.po +911 -0
  172. data/locale/en/foreman_puppet.po +690 -0
  173. data/locale/en/foreman_puppet.po.time_stamp +0 -0
  174. data/locale/foreman_puppet.pot +1076 -0
  175. data/locale/gemspec.rb +2 -0
  176. data/test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb +28 -0
  177. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +346 -0
  178. data/test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb +48 -0
  179. data/test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb +41 -0
  180. data/test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb +79 -0
  181. data/test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb +101 -0
  182. data/test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb +29 -0
  183. data/test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb +169 -0
  184. data/test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb +144 -0
  185. data/test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb +557 -0
  186. data/test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb +81 -0
  187. data/test/controllers/foreman_puppet/config_groups_controller_test.rb +47 -0
  188. data/test/controllers/foreman_puppet/environments_controller_test.rb +230 -0
  189. data/test/controllers/foreman_puppet/hostgroups_controller_test.rb +72 -0
  190. data/test/controllers/foreman_puppet/hosts_controller_test.rb +346 -0
  191. data/test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb +29 -0
  192. data/test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb +59 -0
  193. data/test/controllers/foreman_puppet/puppetclasses_controller_test.rb +235 -0
  194. data/test/controllers/provisioning_templates_controller_test.rb +70 -0
  195. data/test/factories/foreman_puppet_factories.rb +134 -0
  196. data/test/factories/host_puppet_enhancements.rb +61 -0
  197. data/test/factories/proxy_puppet_enhancements.rb +33 -0
  198. data/test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb +65 -0
  199. data/test/helpers/foreman_puppet/puppetclasses_helper_test.rb +33 -0
  200. data/test/integration/foreman_puppet/environment_js_test.rb +27 -0
  201. data/test/integration/foreman_puppet/host_js_test.rb +371 -0
  202. data/test/integration/foreman_puppet/hostgroup_js_test.rb +100 -0
  203. data/test/integration/foreman_puppet/puppetclass_js_test.rb +37 -0
  204. data/test/integration/foreman_puppet/smartclass_parameter_js_test.rb +84 -0
  205. data/test/models/foreman_puppet/config_group_class_test.rb +9 -0
  206. data/test/models/foreman_puppet/config_group_test.rb +8 -0
  207. data/test/models/foreman_puppet/environment_test.rb +92 -0
  208. data/test/models/foreman_puppet/host_config_group_test.rb +39 -0
  209. data/test/models/foreman_puppet/host_puppet_facet_test.rb +116 -0
  210. data/test/models/foreman_puppet/host_test.rb +288 -0
  211. data/test/models/foreman_puppet/hostgroup_puppet_facet_test.rb +200 -0
  212. data/test/models/foreman_puppet/hostgroup_test.rb +14 -0
  213. data/test/models/foreman_puppet/lookup_value_test.rb +69 -0
  214. data/test/models/foreman_puppet/provisioning_template_test.rb +124 -0
  215. data/test/models/foreman_puppet/puppetclass_lookup_key_test.rb +81 -0
  216. data/test/models/foreman_puppet/puppetclass_test.rb +144 -0
  217. data/test/models/foreman_puppet/smart_proxy_test.rb +28 -0
  218. data/test/qraphql/queries/host_puppet_query_test.rb +36 -0
  219. data/test/qraphql/queries/hostgroup_puppet_query_test.rb +36 -0
  220. data/test/services/foreman_puppet/host_info_providers/puppet_info_test.rb +791 -0
  221. data/test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb +14 -0
  222. data/test/test_puppet_helper.rb +30 -0
  223. data/test/unit/foreman_puppet/access_permissions_test.rb +16 -0
  224. data/test/unit/foreman_puppet/puppet_class_importer_test.rb +247 -0
  225. data/test/unit/foreman_puppet/template_rendering_test.rb +20 -0
  226. data/test/unit/foreman_puppet_test.rb +11 -0
  227. data/webpack/__mocks__/foremanReact/common/I18n.js +7 -0
  228. data/webpack/__mocks__/foremanReact/components/Layout/LayoutActions.js +2 -0
  229. data/webpack/__mocks__/foremanReact/readme.md +11 -0
  230. data/webpack/__mocks__/foremanReact/redux/API/APISelectors.js +10 -0
  231. data/webpack/__mocks__/foremanReact/redux/API/index.js +10 -0
  232. data/webpack/__mocks__/foremanReact/redux/actions/toasts.js +8 -0
  233. data/webpack/__mocks__/foremanReact/redux/index.js +1 -0
  234. data/webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware.js +5 -0
  235. data/webpack/fills_index.js +30 -0
  236. data/webpack/index.js +18 -0
  237. data/webpack/src/ForemanPuppet.js +11 -0
  238. data/webpack/src/Router/__snapshots__/routes.test.js.snap +3 -0
  239. data/webpack/src/Router/index.js +14 -0
  240. data/webpack/src/Router/routes.js +3 -0
  241. data/webpack/src/Router/routes.test.js +16 -0
  242. data/webpack/src/foreman_class_edit.js +224 -0
  243. data/webpack/src/foreman_puppet_host_form.js +140 -0
  244. data/webpack/src/foreman_puppet_host_form.test.js +65 -0
  245. data/webpack/src/index.js +1 -0
  246. data/webpack/src/reducers.js +7 -0
  247. metadata +340 -0
@@ -0,0 +1,3 @@
1
+ module ForemanPuppet
2
+ VERSION = '0.0.1'.freeze
3
+ end
@@ -0,0 +1,31 @@
1
+ require 'rake/testtask'
2
+
3
+ # Tasks
4
+ namespace :foreman_puppet do
5
+ namespace :example do
6
+ desc 'Example Task'
7
+ task task: :environment do
8
+ # Task goes here
9
+ end
10
+ end
11
+ end
12
+
13
+ # Tests
14
+ namespace :test do
15
+ desc 'Test ForemanPuppet'
16
+ Rake::TestTask.new(:foreman_puppet) do |t|
17
+ test_dir = File.expand_path('../../test', __dir__)
18
+ t.libs << 'test'
19
+ t.libs << test_dir
20
+ t.pattern = "#{test_dir}/**/*_test.rb"
21
+ t.verbose = true
22
+ t.warning = false
23
+ end
24
+ end
25
+
26
+ Rake::Task[:test].enhance ['test:foreman_puppet']
27
+
28
+ load 'tasks/jenkins.rake'
29
+ if Rake::Task.task_defined?(:'jenkins:unit')
30
+ Rake::Task['jenkins:unit'].enhance ['test:foreman_puppet']
31
+ end
data/locale/Makefile ADDED
@@ -0,0 +1,60 @@
1
+ #
2
+ # Makefile for PO merging and MO generation. More info in the README.
3
+ #
4
+ # make all-mo (default) - generate MO files
5
+ # make check - check translations using translate-tool
6
+ # make tx-update - download and merge translations from Transifex
7
+ # make clean - clean everything
8
+ #
9
+ DOMAIN = foreman_puppet_enc
10
+ VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load(Dir.glob("../*.gemspec")[0]);puts spec.version')
11
+ POTFILE = $(DOMAIN).pot
12
+ MOFILE = $(DOMAIN).mo
13
+ POFILES = $(shell find . -name '$(DOMAIN).po')
14
+ MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
+ POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
+ EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
17
+
18
+ %.mo: %.po
19
+ mkdir -p $(shell dirname $@)/LC_MESSAGES
20
+ msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
21
+
22
+ # Generate MO files from PO files
23
+ all-mo: $(MOFILES)
24
+
25
+ # Check for malformed strings
26
+ %.pox: %.po
27
+ msgfmt -c $<
28
+ pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
29
+ -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
30
+ cat $@
31
+ ! grep -q msgid $@
32
+
33
+ %.edit.po:
34
+ touch $@
35
+
36
+ check: $(POXFILES)
37
+
38
+ # Unify duplicate translations
39
+ uniq-po:
40
+ for f in $(shell find ./ -name "*.po") ; do \
41
+ msguniq $$f -o $$f ; \
42
+ done
43
+
44
+ tx-pull: $(EDITFILES)
45
+ tx pull -f
46
+ for f in $(EDITFILES) ; do \
47
+ sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
48
+ done
49
+
50
+ tx-update: tx-pull
51
+ @echo
52
+ @echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation, then make -C locale mo-files to finish
53
+ @echo
54
+
55
+ mo-files: $(MOFILES)
56
+ git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
57
+ git commit -m "i18n - pulling from tx"
58
+ @echo
59
+ @echo Changes commited!
60
+ @echo
@@ -0,0 +1,5 @@
1
+ # Autogenerated!
2
+ _("Action with sub plans")
3
+ _("Import facts")
4
+ _("Import Puppet classes")
5
+ _("Remote action:")
@@ -0,0 +1,911 @@
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: version 0.0.1\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2021-02-02 04:11+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
+ #: gemspec.rb:2
910
+ msgid "TODO: Description of ForemanPuppetEnc."
911
+ msgstr ""