foreman_puppet 1.0.5 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb +14 -16
  3. data/app/controllers/concerns/foreman_puppet/{api/import_puppetclasses_common_controller.rb → extensions/api_smart_proxies_controller.rb} +9 -3
  4. data/app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb +23 -1
  5. data/app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb +15 -17
  6. data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +0 -1
  7. data/app/controllers/concerns/foreman_puppet/extensions/parameters_hostgroup.rb +2 -8
  8. data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +0 -1
  9. data/app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb +1 -1
  10. data/app/controllers/foreman_puppet/puppetclasses_controller.rb +1 -1
  11. data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
  12. data/app/helpers/foreman_puppet/hosts_and_hostgroups_helper.rb +0 -5
  13. data/app/helpers/foreman_puppet/hosts_helper.rb +6 -10
  14. data/app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb +1 -1
  15. data/app/models/concerns/foreman_puppet/extensions/host.rb +2 -16
  16. data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +2 -7
  17. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +7 -12
  18. data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +5 -10
  19. data/app/services/foreman_puppet/puppet_class_importer.rb +0 -6
  20. data/app/views/foreman_puppet/api/v2/host_puppet_facets/host_list.json.rabl +3 -0
  21. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/base.json.rabl +2 -0
  22. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/hostgroup_list.json.rabl +3 -0
  23. data/app/views/foreman_puppet/config_groups/index.html.erb +1 -1
  24. data/config/api_routes.rb +1 -9
  25. data/config/initializers/api_reroute.rb +73 -5
  26. data/db/migrate/20101121140000_add_environment_to_template_combinations.foreman_puppet.rb +1 -1
  27. data/db/migrate/20200803113803_migrate_environment_to_puppet_facet.foreman_puppet.rb +2 -0
  28. data/db/migrate/20201125113903_migrate_puppetclasses_to_facets.foreman_puppet.rb +0 -8
  29. data/db/migrate/20210924103241_remove_katello_id_from_environments.foreman_puppet.rb +5 -0
  30. data/db/migrate/20211111125003_drop_puppetclasses_direct_references.foreman_puppet.rb +11 -0
  31. data/db/migrate/20220201205305_migrate_host_class_permission.foreman_puppet.rb +9 -0
  32. data/db/migrate/20220208135305_migrate_environment_ignore_type.foreman_puppet.rb +15 -0
  33. data/db/migrate_foreman/{20090722141107_create_environments.rb → 20090722141107_create_environments.foreman_puppet.rb} +3 -3
  34. data/db/migrate_foreman/20090802062223_create_puppetclasses.foreman_puppet.rb +29 -0
  35. data/db/migrate_foreman/20090905150132_create_hostgroups_puppetclasses.foreman_puppet.rb +14 -0
  36. data/db/migrate_foreman/20110412103238_remove_unused_fields_from_puppet_classes.foreman_puppet.rb +9 -0
  37. data/db/migrate_foreman/20110712070522_create_host_class.foreman_puppet.rb +11 -0
  38. data/db/migrate_foreman/20120824142048_add_some_indexes.foreman_puppet.rb +21 -0
  39. data/db/migrate_foreman/{20120905095532_create_environment_classes.rb → 20120905095532_create_environment_classes.foreman_puppet.rb} +2 -2
  40. data/db/migrate_foreman/20121018152459_create_hostgroup_classes.foreman_puppet.rb +11 -0
  41. data/db/migrate_foreman/{20140407161817_create_config_groups.rb → 20140407161817_create_config_groups.foreman_puppet.rb} +0 -0
  42. data/db/migrate_foreman/{20140407162007_create_config_group_classes.rb → 20140407162007_create_config_group_classes.foreman_puppet.rb} +0 -0
  43. data/db/migrate_foreman/{20140407162059_create_host_config_groups.rb → 20140407162059_create_host_config_groups.foreman_puppet.rb} +0 -0
  44. data/db/migrate_foreman/{20161205142618_delete_orphaned_smart_class_parameters.rb → 20161205142618_delete_orphaned_smart_class_parameters.foreman_puppet.rb} +1 -1
  45. data/db/migrate_foreman/{20170109115157_fix_lookup_key_auditable_type.rb → 20170109115157_fix_lookup_key_auditable_type.foreman_puppet.rb} +0 -0
  46. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.foreman_puppet.rb +5 -0
  47. data/db/migrate_foreman/20180831115634_add_uniqueness_to_puppetclass_name.foreman_puppet.rb +24 -0
  48. data/db/migrate_foreman/{20181023112532_add_environment_puppetclass_id.rb → 20181023112532_add_environment_puppetclass_id.foreman_puppet.rb} +1 -1
  49. data/db/migrate_foreman/{20181224174419_add_index_to_environment_class_by_lookup_key_and_puppetclass.rb → 20181224174419_add_index_to_environment_class_by_lookup_key_and_puppetclass.foreman_puppet.rb} +0 -0
  50. data/lib/foreman_puppet/engine.rb +4 -36
  51. data/lib/foreman_puppet/register.rb +51 -46
  52. data/lib/foreman_puppet/version.rb +1 -1
  53. data/lib/foreman_puppet.rb +1 -6
  54. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  55. data/locale/ca/foreman_puppet.po +760 -0
  56. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  57. data/locale/cs_CZ/foreman_puppet.po +823 -0
  58. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  59. data/locale/de/foreman_puppet.po +844 -0
  60. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  61. data/locale/en/foreman_puppet.po +119 -8
  62. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  63. data/locale/en_GB/foreman_puppet.po +820 -0
  64. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  65. data/locale/es/foreman_puppet.po +827 -0
  66. data/locale/foreman_puppet.pot +376 -205
  67. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  68. data/locale/fr/foreman_puppet.po +835 -0
  69. data/locale/gemspec.rb +1 -1
  70. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  71. data/locale/gl/foreman_puppet.po +818 -0
  72. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  73. data/locale/it/foreman_puppet.po +822 -0
  74. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  75. data/locale/ja/foreman_puppet.po +830 -0
  76. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  77. data/locale/ko/foreman_puppet.po +819 -0
  78. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  79. data/locale/nl_NL/foreman_puppet.po +823 -0
  80. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  81. data/locale/pl/foreman_puppet.po +822 -0
  82. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  83. data/locale/pt_BR/foreman_puppet.po +826 -0
  84. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  85. data/locale/ru/foreman_puppet.po +827 -0
  86. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  87. data/locale/sv_SE/foreman_puppet.po +822 -0
  88. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  89. data/locale/zh_CN/foreman_puppet.po +831 -0
  90. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  91. data/locale/zh_TW/foreman_puppet.po +821 -0
  92. data/package.json +8 -11
  93. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +0 -231
  94. data/test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb +255 -0
  95. data/test/controllers/foreman_puppet/environments_controller_test.rb +2 -2
  96. data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -1
  97. data/test/factories/foreman_puppet_factories.rb +0 -2
  98. data/test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb +34 -0
  99. data/test/integration/foreman_puppet/dashboard_js_test.rb +31 -0
  100. data/test/integration/foreman_puppet/host_js_test.rb +0 -1
  101. data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -1
  102. data/test/models/foreman_puppet/host_test.rb +26 -0
  103. data/test/models/foreman_puppet/user_test.rb +1 -5
  104. data/test/unit/foreman_puppet/puppet_class_importer_test.rb +1 -1
  105. metadata +69 -16
  106. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.rb +0 -35
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_puppet 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2021-02-03 18:00+0100\n"
12
- "PO-Revision-Date: 2021-02-03 18:00+0100\n"
11
+ "POT-Creation-Date: 2021-11-10 11:17+0000\n"
12
+ "PO-Revision-Date: 2021-11-10 11:17+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -18,51 +18,17 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #:
22
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:14
23
- msgid "Import puppet classes from puppet proxy"
24
- msgstr ""
25
-
26
- #:
27
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:15
28
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:16
29
- msgid "Import puppet classes from puppet proxy for an environment"
30
- msgstr ""
31
-
32
- #:
33
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:21
34
- msgid ""
35
- "Optional comma-delimited stringcontaining either 'new', 'updated', or 'obsolet"
36
- "e'that is used to limit the imported Puppet classes"
37
- msgstr ""
38
-
39
- #:
40
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:49
21
+ #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:15
41
22
  msgid ""
42
- "Failed to update the environments and Puppet classes from the on-disk puppet i"
43
- "nstallation: %s"
23
+ "Ignored environment names resulting in booleans found. Please quote strings li"
24
+ "ke true/false and yes/no in config/ignored_environments.yml"
44
25
  msgstr ""
45
26
 
46
- #:
47
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:77
48
27
  #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:21
28
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:82
49
29
  msgid "No changes to your environments detected"
50
30
  msgstr ""
51
31
 
52
- #:
53
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:104
54
- #: ../app/controllers/concerns/foreman_puppet/api/import_puppetclasses_common_controller.rb:117
55
- msgid ""
56
- "No proxy found to import classes from, ensure that the smart proxy has the Pup"
57
- "pet feature enabled."
58
- msgstr ""
59
-
60
- #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:15
61
- msgid ""
62
- "Ignored environment names resulting in booleans found. Please quote strings li"
63
- "ke true/false and yes/no in config/ignored_environments.yml"
64
- msgstr ""
65
-
66
32
  #: ../app/controllers/concerns/foreman_puppet/environments_import.rb:32
67
33
  msgid ""
68
34
  "Successfully updated environments and Puppet classes from the on-disk Puppet i"
@@ -90,458 +56,527 @@ msgid "Ignored classes in the environments: %s"
90
56
  msgstr ""
91
57
 
92
58
  #:
93
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:11
59
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:10
94
60
  msgid "List all host groups for a Puppet class"
95
61
  msgstr ""
96
62
 
97
63
  #:
98
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:14
64
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:13
99
65
  msgid "ID of Puppetclass"
100
66
  msgstr ""
101
67
 
102
68
  #:
103
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:19
69
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:18
104
70
  msgid "Deprecated in favor of hostgroup/puppet_attributes/environment_id"
105
71
  msgstr ""
106
72
 
107
73
  #:
108
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:20
74
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:19
109
75
  msgid "Deprecated in favor of hostgroup/puppet_attributes/puppetclass_ids"
110
76
  msgstr ""
111
77
 
112
78
  #:
113
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:21
79
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:20
114
80
  msgid "Deprecated in favor of hostgroup/puppet_attributes/config_group_ids"
115
81
  msgstr ""
116
82
 
83
+ #:
84
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:23
85
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:23
86
+ msgid "ID of associated puppet Environment"
87
+ msgstr ""
88
+
117
89
  #:
118
90
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:24
119
91
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:24
120
- msgid "ID of associated puppet Environment"
92
+ msgid "IDs of associated Puppetclasses"
121
93
  msgstr ""
122
94
 
123
95
  #:
124
96
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:25
125
97
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:25
126
- msgid "IDs of associated Puppetclasses"
98
+ msgid "IDs of associated ConfigGroups"
127
99
  msgstr ""
128
100
 
129
101
  #:
130
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb:26
131
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:26
132
- msgid "IDs of associated ConfigGroups"
102
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:14
103
+ msgid "Import puppet classes from puppet proxy"
104
+ msgstr ""
105
+
106
+ #:
107
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:15
108
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:16
109
+ msgid "Import puppet classes from puppet proxy for an environment"
110
+ msgstr ""
111
+
112
+ #:
113
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:21
114
+ msgid ""
115
+ "Optional comma-delimited stringcontaining either 'new', 'updated', or 'obsolet"
116
+ "e'that is used to limit the imported Puppet classes"
117
+ msgstr ""
118
+
119
+ #:
120
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:49
121
+ msgid ""
122
+ "Failed to update the environments and Puppet classes from the on-disk puppet i"
123
+ "nstallation: %s"
124
+ msgstr ""
125
+
126
+ #:
127
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:80
128
+ msgid "The requested environment cannot be found."
129
+ msgstr ""
130
+
131
+ #:
132
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:110
133
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_smart_proxies_controller.rb:123
134
+ msgid ""
135
+ "No proxy found to import classes from, ensure that the smart proxy has the Pup"
136
+ "pet feature enabled."
133
137
  msgstr ""
134
138
 
135
139
  #:
136
140
  #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:9
137
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:16
138
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:51
141
+ msgid "List template combination"
142
+ msgstr ""
143
+
144
+ #:
145
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:12
146
+ msgid "Add a template combination"
147
+ msgstr ""
148
+
149
+ #:
150
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:15
151
+ msgid "Show template combination"
152
+ msgstr ""
153
+
154
+ #:
155
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:18
156
+ msgid "Update template combination"
157
+ msgstr ""
158
+
159
+ #:
160
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:21
161
+ msgid "ID of Puppet environment"
162
+ msgstr ""
163
+
164
+ #:
165
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:26
166
+ msgid "environment id"
167
+ msgstr ""
168
+
169
+ #:
170
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb:31
171
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:20
172
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:55
139
173
  msgid "ID of environment"
140
174
  msgstr ""
141
175
 
142
176
  #:
143
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:11
177
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:10
144
178
  msgid "List hosts per environment"
145
179
  msgstr ""
146
180
 
147
181
  #:
148
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:14
182
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:13
149
183
  msgid "ID of puppet environment"
150
184
  msgstr ""
151
185
 
152
186
  #:
153
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:19
187
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:18
154
188
  msgid "Deprecated in favor of host/puppet_attributes/environment_id"
155
189
  msgstr ""
156
190
 
157
191
  #:
158
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:20
192
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:19
159
193
  msgid "Deprecated in favor of host/puppet_attributes/puppetclass_ids"
160
194
  msgstr ""
161
195
 
162
196
  #:
163
- #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:21
197
+ #: ../app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb:20
164
198
  msgid "Deprecated in favor of host/puppet_attributes/config_group_ids"
165
199
  msgstr ""
166
200
 
167
201
  #:
168
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:63
169
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:116
202
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:62
203
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:115
170
204
  msgid "No environment selected!"
171
205
  msgstr ""
172
206
 
173
207
  #:
174
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:77
208
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:76
175
209
  msgid "Updated hosts: changed environment"
176
210
  msgstr ""
177
211
 
178
212
  #:
179
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:106
213
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:105
180
214
  msgid "Unable to generate output, Check log files"
181
215
  msgstr ""
182
216
 
183
217
  #:
184
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:146
218
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:145
185
219
  msgid "No proxy selected!"
186
220
  msgstr ""
187
221
 
188
222
  #:
189
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:152
223
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:151
190
224
  msgid "Invalid proxy selected!"
191
225
  msgstr ""
192
226
 
193
227
  #:
194
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:169
228
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:168
195
229
  msgid "Failed to set %{proxy_type} proxy for %{host}."
196
230
  msgstr ""
197
231
 
198
232
  #:
199
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:175
233
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:174
200
234
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}"
201
235
  msgstr ""
202
236
 
203
237
  #:
204
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:177
205
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:192
238
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:176
239
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:191
206
240
  msgid "The %{proxy_type} proxy of the selected hosts was cleared."
207
241
  msgstr ""
208
242
 
209
243
  #:
210
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:180
211
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:195
244
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:179
245
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:194
212
246
  msgid "The %{proxy_type} proxy could not be set for host: %{host_names}."
213
247
  msgid_plural "The %{proxy_type} puppet ca proxy could not be set for hosts: %{host_names}"
214
248
  msgstr[0] ""
215
249
  msgstr[1] ""
216
250
 
217
251
  #:
218
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:190
252
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:189
219
253
  msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
220
254
  msgstr ""
221
255
 
222
256
  #:
223
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:205
257
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:204
224
258
  msgid "Puppet"
225
259
  msgstr ""
226
260
 
227
261
  #:
228
- #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:212
262
+ #: ../app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb:211
229
263
  msgid "Puppet CA"
230
264
  msgstr ""
231
265
 
232
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:11
266
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:15
233
267
  msgid "List of config groups"
234
268
  msgstr ""
235
269
 
236
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:19
270
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:23
237
271
  msgid "Show a config group"
238
272
  msgstr ""
239
273
 
240
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:32
274
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:36
241
275
  msgid "Create a config group"
242
276
  msgstr ""
243
277
 
244
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:40
278
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:44
245
279
  msgid "Update a config group"
246
280
  msgstr ""
247
281
 
248
- #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:48
282
+ #: ../app/controllers/foreman_puppet/api/v2/config_groups_controller.rb:52
249
283
  msgid "Delete a config group"
250
284
  msgstr ""
251
285
 
252
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:16
286
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:14
253
287
  msgid "List all environments"
254
288
  msgstr ""
255
289
 
256
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:17
290
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:15
257
291
  msgid "List environments of Puppet class"
258
292
  msgstr ""
259
293
 
260
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:18
294
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:16
261
295
  msgid "List environments per location"
262
296
  msgstr ""
263
297
 
264
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:19
298
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:17
265
299
  msgid "List environments per organization"
266
300
  msgstr ""
267
301
 
268
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:20
269
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:16
270
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:25
271
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:15
272
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:24
273
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:52
302
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:18
303
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:20
304
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:29
305
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:19
306
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:28
307
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:56
274
308
  msgid "ID of Puppet class"
275
309
  msgstr ""
276
310
 
277
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:29
311
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:27
278
312
  msgid "Show an environment"
279
313
  msgstr ""
280
314
 
281
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:42
315
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:40
282
316
  msgid "Create an environment"
283
317
  msgstr ""
284
318
 
285
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:50
319
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:48
286
320
  msgid "Update an environment"
287
321
  msgstr ""
288
322
 
289
- #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:58
323
+ #: ../app/controllers/foreman_puppet/api/v2/environments_controller.rb:56
290
324
  msgid "Delete an environment"
291
325
  msgstr ""
292
326
 
293
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:8
327
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:12
294
328
  msgid "List all Puppet class IDs for host"
295
329
  msgstr ""
296
330
 
297
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:14
331
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:18
298
332
  msgid "Add a Puppet class to host"
299
333
  msgstr ""
300
334
 
301
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:15
302
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:24
303
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:14
304
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:49
335
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:19
336
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:28
337
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:18
338
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:53
305
339
  msgid "ID of host"
306
340
  msgstr ""
307
341
 
308
- #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:23
342
+ #: ../app/controllers/foreman_puppet/api/v2/host_classes_controller.rb:27
309
343
  msgid "Remove a Puppet class from host"
310
344
  msgstr ""
311
345
 
312
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:7
346
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:11
313
347
  msgid "List all Puppet class IDs for host group"
314
348
  msgstr ""
315
349
 
316
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:13
350
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:17
317
351
  msgid "Add a Puppet class to host group"
318
352
  msgstr ""
319
353
 
320
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:14
321
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:23
322
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:15
323
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:50
354
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:18
355
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:27
356
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:19
357
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:54
324
358
  msgid "ID of host group"
325
359
  msgstr ""
326
360
 
327
- #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:22
361
+ #: ../app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb:26
328
362
  msgid "Remove a Puppet class from host group"
329
363
  msgstr ""
330
364
 
331
- #: ../app/controllers/foreman_puppet/api/v2/lookups_common_controller.rb:108
332
- msgid "%{model} with id '%{id}' was not found"
333
- msgstr ""
334
-
335
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:20
365
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:19
336
366
  msgid "List of override values for a specific smart class parameter"
337
367
  msgstr ""
338
368
 
339
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:22
340
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:31
341
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:25
342
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:37
369
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:21
370
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:30
371
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:24
372
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:36
343
373
  msgid "Display hidden values"
344
374
  msgstr ""
345
375
 
346
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:28
376
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:27
347
377
  msgid "Show an override value for a specific smart class parameter"
348
378
  msgstr ""
349
379
 
350
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:38
380
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:37
351
381
  msgid "Override match"
352
382
  msgstr ""
353
383
 
354
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:39
384
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:38
355
385
  msgid "Override value, required if omit is false"
356
386
  msgstr ""
357
387
 
358
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:40
388
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:39
359
389
  msgid "Foreman will not send this parameter in classification output"
360
390
  msgstr ""
361
391
 
362
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:44
392
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:43
363
393
  msgid "Create an override value for a specific smart class parameter"
364
394
  msgstr ""
365
395
 
366
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:54
396
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:53
367
397
  msgid "Update an override value for a specific smart class parameter"
368
398
  msgstr ""
369
399
 
370
- #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:63
400
+ #: ../app/controllers/foreman_puppet/api/v2/override_values_controller.rb:62
371
401
  msgid "Delete an override value for a specific smart class parameter"
372
402
  msgstr ""
373
403
 
374
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:10
404
+ #:
405
+ #: ../app/controllers/foreman_puppet/api/v2/puppet_lookups_common_controller.rb:112
406
+ msgid "%{model} with id '%{id}' was not found"
407
+ msgstr ""
408
+
409
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:14
375
410
  msgid "List all Puppet classes"
376
411
  msgstr ""
377
412
 
378
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:11
413
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:15
379
414
  msgid "List all Puppet classes for a host"
380
415
  msgstr ""
381
416
 
382
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:12
417
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:16
383
418
  msgid "List all Puppet classes for a host group"
384
419
  msgstr ""
385
420
 
386
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:13
421
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:17
387
422
  msgid "List all Puppet classes for an environment"
388
423
  msgstr ""
389
424
 
390
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:45
425
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:49
391
426
  msgid "Show a Puppet class"
392
427
  msgstr ""
393
428
 
394
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:46
429
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:50
395
430
  msgid "Show a Puppet class for host"
396
431
  msgstr ""
397
432
 
398
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:47
433
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:51
399
434
  msgid "Show a Puppet class for a host group"
400
435
  msgstr ""
401
436
 
402
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:48
437
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:52
403
438
  msgid "Show a Puppet class for an environment"
404
439
  msgstr ""
405
440
 
406
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:63
441
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:67
407
442
  msgid "Create a Puppet class"
408
443
  msgstr ""
409
444
 
410
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:71
445
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:75
411
446
  msgid "Update a Puppet class"
412
447
  msgstr ""
413
448
 
414
- #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:80
449
+ #: ../app/controllers/foreman_puppet/api/v2/puppetclasses_controller.rb:84
415
450
  msgid "Delete a Puppet class"
416
451
  msgstr ""
417
452
 
418
453
  #:
419
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:14
454
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:13
420
455
  msgid "List all smart class parameters"
421
456
  msgstr ""
422
457
 
423
458
  #:
424
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:15
459
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:14
425
460
  msgid "List of smart class parameters for a specific host"
426
461
  msgstr ""
427
462
 
428
463
  #:
429
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:16
464
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:15
430
465
  msgid "List of smart class parameters for a specific host group"
431
466
  msgstr ""
432
467
 
433
468
  #:
434
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:17
469
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:16
435
470
  msgid "List of smart class parameters for a specific Puppet class"
436
471
  msgstr ""
437
472
 
438
473
  #:
439
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:18
474
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:17
440
475
  msgid "List of smart class parameters for a specific environment"
441
476
  msgstr ""
442
477
 
443
478
  #:
444
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:20
479
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:19
445
480
  msgid ""
446
481
  "List of smart class parameters for a specific environment/Puppet class combina"
447
482
  "tion"
448
483
  msgstr ""
449
484
 
450
485
  #:
451
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:35
486
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:34
452
487
  msgid "Show a smart class parameter"
453
488
  msgstr ""
454
489
 
455
490
  #:
456
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:42
491
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:41
457
492
  msgid "Update a smart class parameter"
458
493
  msgstr ""
459
494
 
460
495
  #:
461
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:46
496
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:45
462
497
  msgid "Whether the smart class parameter value is managed by Foreman"
463
498
  msgstr ""
464
499
 
465
500
  #:
466
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:47
501
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:46
467
502
  msgid "Description of smart class"
468
503
  msgstr ""
469
504
 
470
505
  #:
471
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:48
506
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:47
472
507
  msgid "Value to use when there is no match"
473
508
  msgstr ""
474
509
 
475
510
  #:
476
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:49
511
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:48
477
512
  msgid "When enabled the parameter is hidden in the UI"
478
513
  msgstr ""
479
514
 
480
515
  #:
481
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:50
516
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:49
482
517
  msgid ""
483
518
  "Foreman will not send this parameter in classification output.Puppet will use "
484
519
  "the value defined in the Puppet manifest for this parameter"
485
520
  msgstr ""
486
521
 
487
522
  #:
488
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:52
489
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:55
523
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:51
524
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:54
490
525
  msgid "The order in which values are resolved"
491
526
  msgstr ""
492
527
 
493
528
  #:
494
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:53
529
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:52
495
530
  msgid "Types of validation values"
496
531
  msgstr ""
497
532
 
498
533
  #:
499
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:54
534
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:53
500
535
  msgid "Used to enforce certain values for the parameter values"
501
536
  msgstr ""
502
537
 
503
538
  #:
504
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:56
539
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:55
505
540
  msgid "Types of variable values"
506
541
  msgstr ""
507
542
 
508
543
  #:
509
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:57
544
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:56
510
545
  msgid ""
511
546
  "If true, will raise an error if there is no default value and no matcher provi"
512
547
  "de a value"
513
548
  msgstr ""
514
549
 
515
550
  #:
516
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:58
551
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:57
517
552
  msgid "Merge all matching values (only array/hash type)"
518
553
  msgstr ""
519
554
 
520
555
  #:
521
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:59
556
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:58
522
557
  msgid "Include default value when merging all matching values"
523
558
  msgstr ""
524
559
 
525
560
  #:
526
- #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:60
561
+ #: ../app/controllers/foreman_puppet/api/v2/smart_class_parameters_controller.rb:59
527
562
  msgid "Remove duplicate values (only array type)"
528
563
  msgstr ""
529
564
 
530
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:58
565
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:61
531
566
  msgid "Successfully overridden all parameters of Puppet class %s"
532
567
  msgstr ""
533
568
 
534
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:60
569
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:63
535
570
  msgid "Successfully reset all parameters of Puppet class %s to their default values"
536
571
  msgstr ""
537
572
 
538
- #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:63
573
+ #: ../app/controllers/foreman_puppet/puppetclasses_controller.rb:66
539
574
  msgid "No parameters to override for Puppet class %s"
540
575
  msgstr ""
541
576
 
542
577
  #: ../app/helpers/foreman_puppet/environments_helper.rb:13
543
578
  #: ../app/views/foreman_puppet/environments/new.html.erb:5
544
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:11
579
+ #: ../webpack/src/Components/Environments/Welcome.js:9
545
580
  msgid "Create Puppet Environment"
546
581
  msgstr ""
547
582
 
@@ -553,14 +588,18 @@ msgstr ""
553
588
  msgid "Change Puppet Master"
554
589
  msgstr ""
555
590
 
556
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
591
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:22
557
592
  msgid "Puppet YAML"
558
593
  msgstr ""
559
594
 
560
- #: ../app/helpers/foreman_puppet/hosts_helper.rb:25
595
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:22
561
596
  msgid "Puppet external nodes YAML dump"
562
597
  msgstr ""
563
598
 
599
+ #: ../app/helpers/foreman_puppet/hosts_helper.rb:34
600
+ msgid "Puppet Environment"
601
+ msgstr ""
602
+
564
603
  #: ../app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb:32
565
604
  msgid "Omit from classification output"
566
605
  msgstr ""
@@ -687,21 +726,21 @@ msgstr ""
687
726
  msgid "Operating System"
688
727
  msgstr ""
689
728
 
690
- #: ../app/models/foreman_puppet/environment.rb:42
729
+ #: ../app/models/foreman_puppet/environment.rb:44
691
730
  msgid "Can't find a valid Foreman Proxy with a Puppet feature"
692
731
  msgstr ""
693
732
 
694
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:60
733
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:61
695
734
  msgid "%{puppetclass} does not belong to the %{environment} environment"
696
735
  msgstr ""
697
736
 
698
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:80
737
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:81
699
738
  msgid ""
700
739
  "Failed to import %{klass} for %{name}: doesn't exists in our database - ignori"
701
740
  "ng"
702
741
  msgstr ""
703
742
 
704
- #: ../app/models/foreman_puppet/host_puppet_facet.rb:122
743
+ #: ../app/models/foreman_puppet/host_puppet_facet.rb:123
705
744
  msgid ""
706
745
  "with id %{object_id} doesn't exist or is not assigned to proper organization a"
707
746
  "nd/or location"
@@ -719,6 +758,104 @@ msgstr ""
719
758
  msgid "Can't find a valid Proxy with a Puppet feature"
720
759
  msgstr ""
721
760
 
761
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:1
762
+ msgid "Changed environments"
763
+ msgstr ""
764
+
765
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:3
766
+ msgid "Select the changes you want to apply to Foreman"
767
+ msgstr ""
768
+
769
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:5
770
+ msgid "Toggle"
771
+ msgstr ""
772
+
773
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:6
774
+ msgid "New"
775
+ msgstr ""
776
+
777
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:8
778
+ msgid "Check/Uncheck new"
779
+ msgstr ""
780
+
781
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:9
782
+ msgid "Updated"
783
+ msgstr ""
784
+
785
+ #:
786
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:11
787
+ msgid "Check/Uncheck updated"
788
+ msgstr ""
789
+
790
+ #:
791
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:12
792
+ msgid "Obsolete"
793
+ msgstr ""
794
+
795
+ #:
796
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:14
797
+ msgid "Check/Uncheck obsolete"
798
+ msgstr ""
799
+
800
+ #:
801
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:22
802
+ msgid "Check/Uncheck all"
803
+ msgstr ""
804
+
805
+ #:
806
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:24
807
+ #: ../app/views/foreman_puppet/environments/_form.html.erb:4
808
+ #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:4
809
+ #: ../app/views/hosts/select_multiple_environment.html.erb:7
810
+ #: ../app/views/provisioning_templates/_combination.html.erb:4
811
+ msgid "Environment"
812
+ msgstr ""
813
+
814
+ #:
815
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:25
816
+ msgid "Operation"
817
+ msgstr ""
818
+
819
+ #:
820
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:26
821
+ msgid "Puppet Modules"
822
+ msgstr ""
823
+
824
+ #:
825
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:39
826
+ msgid "Check/Uncheck all %s changes"
827
+ msgstr ""
828
+
829
+ #:
830
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
831
+ msgid "Add:"
832
+ msgstr ""
833
+
834
+ #:
835
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
836
+ msgid "Remove:"
837
+ msgstr ""
838
+
839
+ #:
840
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
841
+ msgid "Update:"
842
+ msgstr ""
843
+
844
+ #:
845
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:46
846
+ msgid "Ignored:"
847
+ msgstr ""
848
+
849
+ #:
850
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:59
851
+ msgid "Cancel"
852
+ msgstr ""
853
+
854
+ #:
855
+ #: ../app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb:60
856
+ msgid "Update"
857
+ msgstr ""
858
+
722
859
  #: ../app/views/foreman_puppet/config_groups/_config_group.html.erb:10
723
860
  msgid "included already from parent"
724
861
  msgstr ""
@@ -754,14 +891,14 @@ msgstr ""
754
891
 
755
892
  #: ../app/views/foreman_puppet/config_groups/index.html.erb:3
756
893
  #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:1
757
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:6
758
- #: ../lib/foreman_puppet/register.rb:157
894
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:9
895
+ #: ../lib/foreman_puppet/register.rb:171
759
896
  msgid "Config Groups"
760
897
  msgstr ""
761
898
 
762
899
  #: ../app/views/foreman_puppet/config_groups/index.html.erb:5
763
900
  #: ../app/views/foreman_puppet/config_groups/new.html.erb:1
764
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:10
901
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:5
765
902
  msgid "Create Config Group"
766
903
  msgstr ""
767
904
 
@@ -792,26 +929,13 @@ msgstr ""
792
929
  msgid "Delete %s?"
793
930
  msgstr ""
794
931
 
795
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:7
932
+ #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:4
796
933
  msgid ""
797
934
  "A config group provides a one-step method of associating many Puppet classes t"
798
935
  "o either a host or host group. Typically this would be used to add a particula"
799
936
  "r application profile or stack in one step."
800
937
  msgstr ""
801
938
 
802
- #: ../app/views/foreman_puppet/config_groups/welcome.html.erb:8
803
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:9
804
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
805
- msgid "Learn more about this in the documentation."
806
- msgstr ""
807
-
808
- #: ../app/views/foreman_puppet/environments/_form.html.erb:4
809
- #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:4
810
- #: ../app/views/hosts/select_multiple_environment.html.erb:7
811
- #: ../app/views/provisioning_templates/_combination.html.erb:4
812
- msgid "Environment"
813
- msgstr ""
814
-
815
939
  #: ../app/views/foreman_puppet/environments/_form.html.erb:6
816
940
  msgid "Locations"
817
941
  msgstr ""
@@ -831,7 +955,7 @@ msgid "Environment|Name"
831
955
  msgstr ""
832
956
 
833
957
  #: ../app/views/foreman_puppet/environments/index.html.erb:22
834
- #: ../lib/foreman_puppet/register.rb:154
958
+ #: ../lib/foreman_puppet/register.rb:168
835
959
  msgid "Classes"
836
960
  msgstr ""
837
961
 
@@ -844,21 +968,6 @@ msgstr ""
844
968
  msgid "Puppet environments"
845
969
  msgstr ""
846
970
 
847
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:6
848
- #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10
849
- #: ../app/views/smart_proxies/plugins/_puppet.html.erb:4
850
- #: ../lib/foreman_puppet/register.rb:151
851
- msgid "Environments"
852
- msgstr ""
853
-
854
- #: ../app/views/foreman_puppet/environments/welcome.html.erb:7
855
- msgid ""
856
- "If you are planning to use Foreman as an external node classifier you should p"
857
- "rovide information about one or more environments. This information is commonl"
858
- "y imported from a pre-existing Puppet configuration by the use of the %{link_s"
859
- "tart}Puppet classes and environment importer%{link_end}."
860
- msgstr ""
861
-
862
971
  #: ../app/views/foreman_puppet/puppet_smart_proxies/_environments.html.erb:5
863
972
  msgid "Number of classes"
864
973
  msgstr ""
@@ -879,8 +988,8 @@ msgstr ""
879
988
 
880
989
  #: ../app/views/foreman_puppet/puppetclass_lookup_keys/index.html.erb:1
881
990
  #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:1
882
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:6
883
- #: ../lib/foreman_puppet/register.rb:160
991
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:8
992
+ #: ../lib/foreman_puppet/register.rb:174
884
993
  msgid "Smart Class Parameters"
885
994
  msgstr ""
886
995
 
@@ -898,7 +1007,7 @@ msgstr ""
898
1007
  msgid "Number of Overrides"
899
1008
  msgstr ""
900
1009
 
901
- #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:7
1010
+ #: ../app/views/foreman_puppet/puppetclass_lookup_keys/welcome.html.erb:4
902
1011
  msgid ""
903
1012
  "Parameterized class support permits detecting, importing, and supplying parame"
904
1013
  "ters directly to classes which support it, via the ENC and depending on a set "
@@ -987,6 +1096,13 @@ msgstr ""
987
1096
  msgid "Puppetclass|Name"
988
1097
  msgstr ""
989
1098
 
1099
+ #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:10
1100
+ #: ../app/views/smart_proxies/plugins/_puppet.html.erb:4
1101
+ #: ../lib/foreman_puppet/register.rb:165
1102
+ #: ../webpack/src/Components/Environments/Welcome.js:21
1103
+ msgid "Environments"
1104
+ msgstr ""
1105
+
990
1106
  #: ../app/views/foreman_puppet/puppetclasses/index.html.erb:13
991
1107
  msgid "Parameters"
992
1108
  msgstr ""
@@ -1007,15 +1123,15 @@ msgstr ""
1007
1123
  msgid "This will reset parameters of the class %s to their default values. Continue?"
1008
1124
  msgstr ""
1009
1125
 
1010
- #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:17
1126
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:16
1011
1127
  msgid "Notice"
1012
1128
  msgstr ""
1013
1129
 
1014
- #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:18
1130
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:17
1015
1131
  msgid "Please select an environment first"
1016
1132
  msgstr ""
1017
1133
 
1018
- #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:22
1134
+ #: ../app/views/hosts/_form_puppet_enc_tab.html.erb:21
1019
1135
  msgid "Puppet Class Parameters"
1020
1136
  msgstr ""
1021
1137
 
@@ -1055,7 +1171,62 @@ msgstr ""
1055
1171
  msgid "Hosts managed:"
1056
1172
  msgstr ""
1057
1173
 
1058
- #: ../lib/foreman_puppet/register.rb:148 ../lib/foreman_puppet/register.rb:204
1174
+ #: ../lib/foreman_puppet/register.rb:7
1175
+ msgid "Facts"
1176
+ msgstr ""
1177
+
1178
+ #: ../lib/foreman_puppet/register.rb:10
1179
+ msgid "Foreman will default to this puppet environment if it cannot auto detect one"
1180
+ msgstr ""
1181
+
1182
+ #: ../lib/foreman_puppet/register.rb:12
1183
+ msgid "Default Puppet environment"
1184
+ msgstr ""
1185
+
1186
+ #: ../lib/foreman_puppet/register.rb:16
1187
+ msgid ""
1188
+ "Foreman will explicitly set the puppet environment in the ENC yaml output. Thi"
1189
+ "s will avoid conflicts between the environment in puppet.conf and the environm"
1190
+ "ent set in Foreman"
1191
+ msgstr ""
1192
+
1193
+ #: ../lib/foreman_puppet/register.rb:19
1194
+ msgid "ENC environment"
1195
+ msgstr ""
1196
+
1197
+ #: ../lib/foreman_puppet/register.rb:22
1198
+ msgid "Foreman will update a host's environment from its facts"
1199
+ msgstr ""
1200
+
1201
+ #: ../lib/foreman_puppet/register.rb:24
1202
+ msgid "Update environment from facts"
1203
+ msgstr ""
1204
+
1205
+ #: ../lib/foreman_puppet/register.rb:27
1206
+ msgid "Config Management"
1207
+ msgstr ""
1208
+
1209
+ #: ../lib/foreman_puppet/register.rb:30
1210
+ msgid ""
1211
+ "Duration in minutes after servers reporting via Puppet are classed as out of s"
1212
+ "ync."
1213
+ msgstr ""
1214
+
1215
+ #: ../lib/foreman_puppet/register.rb:32
1216
+ msgid "Puppet interval"
1217
+ msgstr ""
1218
+
1219
+ #: ../lib/foreman_puppet/register.rb:35
1220
+ msgid ""
1221
+ "Disable host configuration status turning to out of sync for %s after report d"
1222
+ "oes not arrive within configured interval"
1223
+ msgstr ""
1224
+
1225
+ #: ../lib/foreman_puppet/register.rb:37
1226
+ msgid "%s out of sync disabled"
1227
+ msgstr ""
1228
+
1229
+ #: ../lib/foreman_puppet/register.rb:162 ../lib/foreman_puppet/register.rb:215
1059
1230
  msgid "Puppet ENC"
1060
1231
  msgstr ""
1061
1232
 
@@ -1088,5 +1259,5 @@ msgid "Remote action:"
1088
1259
  msgstr ""
1089
1260
 
1090
1261
  #: gemspec.rb:2
1091
- msgid "Allow assigning Puppet environmets and classes to the Foreman Hosts."
1262
+ msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
1092
1263
  msgstr ""