foreman_puppet 1.0.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) 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/hostgroups_controller_extensions.rb +3 -1
  7. data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +0 -1
  8. data/app/controllers/concerns/foreman_puppet/extensions/parameters_host.rb +41 -32
  9. data/app/controllers/concerns/foreman_puppet/extensions/parameters_hostgroup.rb +37 -34
  10. data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +0 -1
  11. data/app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb +1 -1
  12. data/app/controllers/foreman_puppet/puppetclasses_controller.rb +1 -1
  13. data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
  14. data/app/helpers/foreman_puppet/hosts_and_hostgroups_helper.rb +0 -5
  15. data/app/helpers/foreman_puppet/hosts_helper.rb +6 -10
  16. data/app/models/concerns/foreman_puppet/extensions/host.rb +2 -16
  17. data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +2 -7
  18. data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +7 -12
  19. data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +5 -10
  20. data/app/models/foreman_puppet/host_puppet_facet.rb +1 -1
  21. data/app/models/foreman_puppet/hostgroup_puppet_facet.rb +2 -0
  22. data/app/services/concerns/foreman_puppet/extensions/host_counter.rb +17 -0
  23. data/app/services/foreman_puppet/puppet_class_importer.rb +0 -6
  24. data/app/views/foreman_puppet/api/v2/host_puppet_facets/host_list.json.rabl +3 -0
  25. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/base.json.rabl +2 -0
  26. data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/hostgroup_list.json.rabl +3 -0
  27. data/app/views/foreman_puppet/config_groups/index.html.erb +1 -1
  28. data/config/api_routes.rb +1 -9
  29. data/config/initializers/api_reroute.rb +73 -5
  30. data/db/migrate/20101121140000_add_environment_to_template_combinations.foreman_puppet.rb +1 -1
  31. data/db/migrate/20200803113803_migrate_environment_to_puppet_facet.foreman_puppet.rb +2 -0
  32. data/db/migrate/20200803113903_migrate_host_type_in_host_config_groups.foreman_puppet.rb +36 -20
  33. data/db/migrate/20201125113903_migrate_puppetclasses_to_facets.foreman_puppet.rb +0 -8
  34. data/db/migrate/20210924103241_remove_katello_id_from_environments.foreman_puppet.rb +5 -0
  35. data/db/migrate/20211111125003_drop_puppetclasses_direct_references.foreman_puppet.rb +11 -0
  36. data/db/migrate/20211112130803_cleanup_environment_from_core_tables.foreman_puppet.rb +10 -0
  37. data/db/migrate_foreman/{20090722141107_create_environments.rb → 20090722141107_create_environments.foreman_puppet.rb} +3 -3
  38. data/db/migrate_foreman/20090802062223_create_puppetclasses.foreman_puppet.rb +29 -0
  39. data/db/migrate_foreman/20090905150132_create_hostgroups_puppetclasses.foreman_puppet.rb +12 -0
  40. data/db/migrate_foreman/20110412103238_remove_unused_fields_from_puppet_classes.foreman_puppet.rb +9 -0
  41. data/db/migrate_foreman/20110712070522_create_host_class.foreman_puppet.rb +11 -0
  42. data/db/migrate_foreman/20120824142048_add_some_indexes.foreman_puppet.rb +21 -0
  43. data/db/migrate_foreman/{20120905095532_create_environment_classes.rb → 20120905095532_create_environment_classes.foreman_puppet.rb} +2 -2
  44. data/db/migrate_foreman/20121018152459_create_hostgroup_classes.foreman_puppet.rb +11 -0
  45. data/db/migrate_foreman/{20140407161817_create_config_groups.rb → 20140407161817_create_config_groups.foreman_puppet.rb} +0 -0
  46. data/db/migrate_foreman/{20140407162007_create_config_group_classes.rb → 20140407162007_create_config_group_classes.foreman_puppet.rb} +0 -0
  47. data/db/migrate_foreman/{20140407162059_create_host_config_groups.rb → 20140407162059_create_host_config_groups.foreman_puppet.rb} +0 -0
  48. data/db/migrate_foreman/{20161205142618_delete_orphaned_smart_class_parameters.rb → 20161205142618_delete_orphaned_smart_class_parameters.foreman_puppet.rb} +1 -1
  49. data/db/migrate_foreman/{20170109115157_fix_lookup_key_auditable_type.rb → 20170109115157_fix_lookup_key_auditable_type.foreman_puppet.rb} +0 -0
  50. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.foreman_puppet.rb +5 -0
  51. data/db/migrate_foreman/20180831115634_add_uniqueness_to_puppetclass_name.foreman_puppet.rb +24 -0
  52. data/db/migrate_foreman/{20181023112532_add_environment_puppetclass_id.rb → 20181023112532_add_environment_puppetclass_id.foreman_puppet.rb} +1 -1
  53. 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
  54. data/lib/foreman_puppet/engine.rb +6 -36
  55. data/lib/foreman_puppet/register.rb +49 -45
  56. data/lib/foreman_puppet/version.rb +1 -1
  57. data/lib/foreman_puppet.rb +1 -6
  58. data/locale/ca/LC_MESSAGES/foreman_puppet.mo +0 -0
  59. data/locale/ca/foreman_puppet.po +760 -0
  60. data/locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo +0 -0
  61. data/locale/cs_CZ/foreman_puppet.edit.po +1085 -0
  62. data/locale/cs_CZ/foreman_puppet.po +823 -0
  63. data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
  64. data/locale/de/LC_MESSAGES/foreman_puppet.mo +0 -0
  65. data/locale/de/foreman_puppet.po +844 -0
  66. data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
  67. data/locale/en/foreman_puppet.edit.po +317 -162
  68. data/locale/en/foreman_puppet.po +119 -8
  69. data/locale/en_GB/LC_MESSAGES/foreman_puppet.mo +0 -0
  70. data/locale/en_GB/foreman_puppet.po +820 -0
  71. data/locale/es/LC_MESSAGES/foreman_puppet.mo +0 -0
  72. data/locale/es/foreman_puppet.po +827 -0
  73. data/locale/foreman_puppet.pot +376 -205
  74. data/locale/fr/LC_MESSAGES/foreman_puppet.mo +0 -0
  75. data/locale/fr/foreman_puppet.po +835 -0
  76. data/locale/gemspec.rb +1 -1
  77. data/locale/gl/LC_MESSAGES/foreman_puppet.mo +0 -0
  78. data/locale/gl/foreman_puppet.po +818 -0
  79. data/locale/it/LC_MESSAGES/foreman_puppet.mo +0 -0
  80. data/locale/it/foreman_puppet.po +822 -0
  81. data/locale/ja/LC_MESSAGES/foreman_puppet.mo +0 -0
  82. data/locale/ja/foreman_puppet.po +830 -0
  83. data/locale/ko/LC_MESSAGES/foreman_puppet.mo +0 -0
  84. data/locale/ko/foreman_puppet.po +819 -0
  85. data/locale/nl_NL/LC_MESSAGES/foreman_puppet.mo +0 -0
  86. data/locale/nl_NL/foreman_puppet.po +823 -0
  87. data/locale/pl/LC_MESSAGES/foreman_puppet.mo +0 -0
  88. data/locale/pl/foreman_puppet.po +822 -0
  89. data/locale/pt_BR/LC_MESSAGES/foreman_puppet.mo +0 -0
  90. data/locale/pt_BR/foreman_puppet.po +826 -0
  91. data/locale/ru/LC_MESSAGES/foreman_puppet.mo +0 -0
  92. data/locale/ru/foreman_puppet.po +827 -0
  93. data/locale/sv_SE/LC_MESSAGES/foreman_puppet.mo +0 -0
  94. data/locale/sv_SE/foreman_puppet.po +822 -0
  95. data/locale/zh_CN/LC_MESSAGES/foreman_puppet.mo +0 -0
  96. data/locale/zh_CN/foreman_puppet.po +831 -0
  97. data/locale/zh_TW/LC_MESSAGES/foreman_puppet.mo +0 -0
  98. data/locale/zh_TW/foreman_puppet.po +821 -0
  99. data/package.json +8 -11
  100. data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +0 -231
  101. data/test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb +255 -0
  102. data/test/controllers/foreman_puppet/environments_controller_test.rb +2 -2
  103. data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -1
  104. data/test/factories/foreman_puppet_factories.rb +0 -2
  105. data/test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb +70 -31
  106. data/test/integration/foreman_puppet/dashboard_js_test.rb +31 -0
  107. data/test/integration/foreman_puppet/host_js_test.rb +0 -1
  108. data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -1
  109. data/test/models/foreman_puppet/host_puppet_facet_test.rb +7 -1
  110. data/test/models/foreman_puppet/host_test.rb +26 -0
  111. data/test/models/foreman_puppet/user_test.rb +1 -5
  112. data/test/services/foreman_puppet/host_counter_test.rb +17 -0
  113. data/test/unit/foreman_puppet/puppet_class_importer_test.rb +1 -1
  114. data/webpack/src/Components/Environments/Welcome.js +2 -2
  115. metadata +73 -18
  116. data/db/migrate_foreman/20180816134832_cast_lookup_key_values.rb +0 -35
@@ -0,0 +1,831 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_puppet package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Martin Liu <liuzh66@gmail.com>, 2021
8
+ # tim123, 2021
9
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
10
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2021
11
+ # Amit Upadhye <aupadhye@redhat.com>, 2021
12
+ #
13
+ #, fuzzy
14
+ msgid ""
15
+ msgstr ""
16
+ "Project-Id-Version: foreman_puppet 2.0.0.alpha.2\n"
17
+ "Report-Msgid-Bugs-To: \n"
18
+ "PO-Revision-Date: 2021-02-03 16:30+0000\n"
19
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2021\n"
20
+ "Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
21
+ "_CN/)\n"
22
+ "MIME-Version: 1.0\n"
23
+ "Content-Type: text/plain; charset=UTF-8\n"
24
+ "Content-Transfer-Encoding: 8bit\n"
25
+ "Language: zh_CN\n"
26
+ "Plural-Forms: nplurals=1; plural=0;\n"
27
+
28
+ msgid " Remove"
29
+ msgstr " 移除"
30
+
31
+ msgid "%s is not in environment"
32
+ msgstr "%s 未在环境中"
33
+
34
+ msgid "%s out of sync disabled"
35
+ msgstr "%s 不同步被禁用"
36
+
37
+ msgid "%{model} with id '%{id}' was not found"
38
+ msgstr "找不到 ID 为 '%{id}' 的 %{model}"
39
+
40
+ msgid "%{name} has %{num_tag} class"
41
+ msgid_plural "%{name} has %{num_tag} classes"
42
+ msgstr[0] "%{name} 具有 %{num_tag} 类"
43
+
44
+ msgid "%{puppetclass} does not belong to the %{environment} environment"
45
+ msgstr "%{puppetclass} 不属于 %{environment} 环境"
46
+
47
+ msgid "*Clear environment*"
48
+ msgstr "*环境清除*"
49
+
50
+ msgid "*Inherit from host group*"
51
+ msgstr "*从主机组继承*"
52
+
53
+ msgid ""
54
+ "<b>Description:</b> %{desc}<br/>\n"
55
+ " <b>Type:</b> %{type}<br/>\n"
56
+ " <b>Matcher:</b> %{matcher}<br/>\n"
57
+ " <b>Inherited value:</b> %{inherited_value}"
58
+ msgstr ""
59
+ "<b>描述:</b> %{desc}<br/>\n"
60
+ " <b>类型:</b> %{type}<br/>\n"
61
+ " <b>匹配器:</b> %{matcher}<br/>\n"
62
+ " <b>继承的值:</b> %{inherited_value}"
63
+
64
+ 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."
65
+ msgstr "配置组提供了将多个 Puppet 类关联到一个主机或主机组的一步方法。此方法一般用于通过一个步骤添加特定的应用配置文件或堆栈。"
66
+
67
+ msgid "Action with sub plans"
68
+ msgstr "有子计划的操作"
69
+
70
+ msgid "Actions"
71
+ msgstr "操作"
72
+
73
+ msgid "Add"
74
+ msgstr "添加"
75
+
76
+ msgid "Add Combination"
77
+ msgstr "添加组合"
78
+
79
+ msgid "Add a Puppet class to host"
80
+ msgstr "新增 Puppet 類別至主機"
81
+
82
+ msgid "Add a Puppet class to host group"
83
+ msgstr "为主机组添加一个 Puppet 类"
84
+
85
+ msgid "Add a template combination"
86
+ msgstr "添加模板组合"
87
+
88
+ msgid "Add:"
89
+ msgstr "添加:"
90
+
91
+ msgid "All environments - (not filtered)"
92
+ msgstr "所有环境 - (未过滤)"
93
+
94
+ msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
95
+ msgstr ""
96
+
97
+ msgid "Available Classes"
98
+ msgstr "可用类"
99
+
100
+ msgid "Available Config Groups"
101
+ msgstr "可用配置组"
102
+
103
+ msgid "Can't find a valid Foreman Proxy with a Puppet feature"
104
+ msgstr "无法找到带有 Puppet 功能的有效 Foreman 代理"
105
+
106
+ msgid "Can't find a valid Proxy with a Puppet feature"
107
+ msgstr "找不到具有 Puppet 功能的有效代理"
108
+
109
+ msgid "Cancel"
110
+ msgstr "取消"
111
+
112
+ msgid "Change Environment"
113
+ msgstr "改变环境"
114
+
115
+ msgid "Change Puppet Master"
116
+ msgstr "更改 Puppet 主服务器"
117
+
118
+ msgid "Changed environments"
119
+ msgstr "修改的环境"
120
+
121
+ msgid "Check/Uncheck all"
122
+ msgstr "選取/反選全部"
123
+
124
+ msgid "Check/Uncheck all %s changes"
125
+ msgstr "选中/取消选中全部%s变化"
126
+
127
+ msgid "Check/Uncheck new"
128
+ msgstr "選取/反選新項目"
129
+
130
+ msgid "Check/Uncheck obsolete"
131
+ msgstr "選取/反選已淘汰項目"
132
+
133
+ msgid "Check/Uncheck updated"
134
+ msgstr "选择/取消 更新"
135
+
136
+ msgid "Classes"
137
+ msgstr "类"
138
+
139
+ msgid "Click to add %s"
140
+ msgstr "点添加 %s"
141
+
142
+ msgid "Click to remove %s"
143
+ msgstr "点删除 %s"
144
+
145
+ msgid "Click to remove config group"
146
+ msgstr "点删除配置组"
147
+
148
+ msgid "Config Groups"
149
+ msgstr "配置组"
150
+
151
+ msgid "Config Management"
152
+ msgstr "配置管理"
153
+
154
+ msgid "Create Config Group"
155
+ msgstr "创建配置组"
156
+
157
+ msgid "Create Environment"
158
+ msgstr "创建环境"
159
+
160
+ msgid "Create Puppet Environment"
161
+ msgstr "创建 Puppet 环境"
162
+
163
+ msgid "Create a Puppet class"
164
+ msgstr "创建 Puppet 类别"
165
+
166
+ msgid "Create a config group"
167
+ msgstr "建立配置群組"
168
+
169
+ msgid "Create an environment"
170
+ msgstr "创建环境"
171
+
172
+ msgid "Create an override value for a specific smart class parameter"
173
+ msgstr "为具体智能类别参数创建替代值"
174
+
175
+ msgid "Default Puppet environment"
176
+ msgstr "默认 Puppet 环境"
177
+
178
+ msgid "Default value"
179
+ msgstr "默认值"
180
+
181
+ msgid "Delete %s?"
182
+ msgstr "刪除 %s?"
183
+
184
+ msgid "Delete a Puppet class"
185
+ msgstr "删除 Puppet 类别"
186
+
187
+ msgid "Delete a config group"
188
+ msgstr "删除配置组"
189
+
190
+ msgid "Delete an environment"
191
+ msgstr "删除环境"
192
+
193
+ msgid "Delete an override value for a specific smart class parameter"
194
+ msgstr "删除具体智能类别参数替代值"
195
+
196
+ msgid "Deleted environment"
197
+ msgstr "删除环境"
198
+
199
+ msgid "Deleted environment %{env} and %{pcs}"
200
+ msgstr "删除环境 %{env} 和 %{pcs}"
201
+
202
+ msgid "Deprecated in favor of host/puppet_attributes/config_group_ids"
203
+ msgstr "已过时,首选使用 host/puppet_attributes/config_group_ids"
204
+
205
+ msgid "Deprecated in favor of host/puppet_attributes/environment_id"
206
+ msgstr "已过时,首选使用 host/puppet_attributes/environment_id"
207
+
208
+ msgid "Deprecated in favor of host/puppet_attributes/puppetclass_ids"
209
+ msgstr "已过时,首选使用 host/puppet_attributes/puppetclass_ids"
210
+
211
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/config_group_ids"
212
+ msgstr "已过时,首先使用 hostgroup/puppet_attributes/config_group_ids"
213
+
214
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/environment_id"
215
+ msgstr "已过时,首选使用 hostgroup/puppet_attributes/environment_id"
216
+
217
+ msgid "Deprecated in favor of hostgroup/puppet_attributes/puppetclass_ids"
218
+ msgstr "已过时,首选使用 hostgroup/puppet_attributes/puppetclass_ids"
219
+
220
+ msgid "Description of smart class"
221
+ msgstr "智能类别描述"
222
+
223
+ msgid "Disable host configuration status turning to out of sync for %s after report does not arrive within configured interval"
224
+ msgstr "禁用在配置的间隔时间后没有获得报告时把主机(%s)配置状态变为不同步"
225
+
226
+ msgid "Display hidden values"
227
+ msgstr "显示隐藏值"
228
+
229
+ msgid "Duration in minutes after servers reporting via Puppet are classed as out of sync."
230
+ msgstr "在其时间后(以分钟为单位)经过 Puppet 的服务器报告被认为已不同步。"
231
+
232
+ msgid "ENC environment"
233
+ msgstr "ENC 环境"
234
+
235
+ msgid "Edit %s"
236
+ msgstr "编辑 %s"
237
+
238
+ msgid "Edit Puppet Class %s"
239
+ msgstr "编辑 Puppet 类 %s"
240
+
241
+ msgid "Empty environment"
242
+ msgstr "空环境"
243
+
244
+ msgid "Environment"
245
+ msgstr "环境"
246
+
247
+ msgid "Environment only"
248
+ msgstr "仅环境"
249
+
250
+ msgid "Environments"
251
+ msgstr "环境"
252
+
253
+ msgid "Environment|Name"
254
+ msgstr "Environment|Name"
255
+
256
+ msgid "Facts"
257
+ msgstr "事实"
258
+
259
+ msgid "Failed to import %{klass} for %{name}: doesn't exists in our database - ignoring"
260
+ msgstr "为 %{name} 导入 %{klass} 失败:不存在于我们的数据库中 -- 忽略"
261
+
262
+ msgid "Failed to set %{proxy_type} proxy for %{host}."
263
+ msgstr "无法为 %{host} 设置 %{proxy_type} 代理服务器。"
264
+
265
+ msgid "Failed to update environments and Puppet classes from the on-disk Puppet installation: %s"
266
+ msgstr "无法使用磁盘 Puppet 安装更新环境及 Puppet 类别:%s"
267
+
268
+ msgid "Failed to update the environments and Puppet classes from the on-disk puppet installation: %s"
269
+ msgstr "使用磁盘 Puppet 安装更新环境及 Puppet 类别失败:%s"
270
+
271
+ msgid "Filter by name"
272
+ msgstr "按名称筛选"
273
+
274
+ msgid "Filter classes"
275
+ msgstr "筛选类"
276
+
277
+ msgid "Foreman will default to this puppet environment if it cannot auto detect one"
278
+ msgstr "如果无法自动探测到环境,Foreman 将默认使用这个 puppet 环境。"
279
+
280
+ msgid "Foreman will explicitly set the puppet environment in the ENC yaml output. This will avoid conflicts between the environment in puppet.conf and the environment set in Foreman"
281
+ msgstr "Foreman 将在 ENC yaml 输出中明确设置这个 puppet 环境。这样可以避免 puppet.conf 以及 Foreman 中设置的环境冲突。"
282
+
283
+ msgid "Foreman will not send this parameter in classification output"
284
+ msgstr "Foreman 不会在分类输出中发送此参数"
285
+
286
+ msgid "Foreman will not send this parameter in classification output.Puppet will use the value defined in the Puppet manifest for this parameter"
287
+ msgstr "Foreman 不会在分类输出中发送此参数。Puppet 将使用 Puppet 清单中为此参数定义的值"
288
+
289
+ msgid "Foreman will update a host's environment from its facts"
290
+ msgstr "Foreman 将根据其详情更新主机环境"
291
+
292
+ msgid "General"
293
+ msgstr "常规"
294
+
295
+ msgid "Host Groups"
296
+ msgstr "主机组"
297
+
298
+ msgid "Host group and Environment"
299
+ msgstr "主机组和环境"
300
+
301
+ msgid "Host group only"
302
+ msgstr "仅主机组"
303
+
304
+ msgid "Host groups"
305
+ msgstr "主机组"
306
+
307
+ msgid "Hostgroup"
308
+ msgstr "主机组"
309
+
310
+ msgid "Hosts"
311
+ msgstr "主机"
312
+
313
+ msgid "Hosts managed:"
314
+ msgstr "管理的主机:"
315
+
316
+ msgid "ID of Puppet class"
317
+ msgstr "Puppet 类别 ID"
318
+
319
+ msgid "ID of Puppet environment"
320
+ msgstr ""
321
+
322
+ msgid "ID of Puppetclass"
323
+ msgstr "Puppetclass ID"
324
+
325
+ msgid "ID of associated puppet Environment"
326
+ msgstr "与 puppet 环境关联的 ID"
327
+
328
+ msgid "ID of environment"
329
+ msgstr "环境的 ID"
330
+
331
+ msgid "ID of host"
332
+ msgstr "主機的 ID"
333
+
334
+ msgid "ID of host group"
335
+ msgstr "主机组 ID"
336
+
337
+ msgid "ID of puppet environment"
338
+ msgstr "puppet 环境的 ID"
339
+
340
+ msgid "IDs of associated ConfigGroups"
341
+ msgstr "与 ConfigGroups 关联的 ID"
342
+
343
+ msgid "IDs of associated Puppetclasses"
344
+ msgstr "与 Puppetclasses 关联的 ID"
345
+
346
+ msgid "If true, will raise an error if there is no default value and no matcher provide a value"
347
+ msgstr "如为 true,则会在没有默认值且没有匹配程序提供参数值时出错"
348
+
349
+ msgid "Ignored classes in the environments: %s"
350
+ msgstr "环境中忽略的类别: %s"
351
+
352
+ msgid "Ignored environment"
353
+ msgstr "忽略的环境"
354
+
355
+ msgid "Ignored environment names resulting in booleans found. Please quote strings like true/false and yes/no in config/ignored_environments.yml"
356
+ msgstr "已找到被忽略的生成布尔值的环境名称。请用引号刮起 config/ignored_environments.yml 中的 true/false 以及 yes/no 之类的字符串"
357
+
358
+ msgid "Ignored environments: %s"
359
+ msgstr "忽略的环境:%s"
360
+
361
+ msgid "Ignored:"
362
+ msgstr "已忽略:"
363
+
364
+ msgid "Import"
365
+ msgstr "导入"
366
+
367
+ msgid "Import Puppet classes"
368
+ msgstr "导入 Puppet 类"
369
+
370
+ msgid "Import classes from %s"
371
+ msgstr "从 %s 导入类"
372
+
373
+ msgid "Import environments from %s"
374
+ msgstr "从 %s 导入环境"
375
+
376
+ msgid "Import facts"
377
+ msgstr "导入事实"
378
+
379
+ msgid "Import puppet classes from puppet proxy"
380
+ msgstr "从 puppet 代理服务器导入 puppet 类"
381
+
382
+ msgid "Import puppet classes from puppet proxy for an environment"
383
+ msgstr "从 puppet 代理服务器为环境导入 puppet 类别"
384
+
385
+ msgid "Include default value when merging all matching values"
386
+ msgstr "合并所有匹配值时包括默认值"
387
+
388
+ msgid "Included Classes"
389
+ msgstr "包含的类"
390
+
391
+ msgid "Included Config Groups"
392
+ msgstr "包含的配置组"
393
+
394
+ msgid "Inherited Classes from %s"
395
+ msgstr "从 %s 继承的类"
396
+
397
+ msgid "Invalid proxy selected!"
398
+ msgstr "所选代理服务器无效!"
399
+
400
+ msgid "List all Puppet class IDs for host"
401
+ msgstr "列出主机的所有 Puppet 类 ID"
402
+
403
+ msgid "List all Puppet class IDs for host group"
404
+ msgstr "列出主机组的所有 Puppet 类 ID"
405
+
406
+ msgid "List all Puppet classes"
407
+ msgstr "列出所有 Puppet 类别"
408
+
409
+ msgid "List all Puppet classes for a host"
410
+ msgstr "列出主机的所有 Puppet 类别"
411
+
412
+ msgid "List all Puppet classes for a host group"
413
+ msgstr "列出主机组的所有 Puppet 类别"
414
+
415
+ msgid "List all Puppet classes for an environment"
416
+ msgstr "列出环境的所有 Puppet 类别"
417
+
418
+ msgid "List all environments"
419
+ msgstr "列出所有环境"
420
+
421
+ msgid "List all host groups for a Puppet class"
422
+ msgstr "列出 Puppet 类别的所有主机组"
423
+
424
+ msgid "List all smart class parameters"
425
+ msgstr "列出所有智能类别参数"
426
+
427
+ msgid "List environments of Puppet class"
428
+ msgstr "列出 Puppet 类的环境"
429
+
430
+ msgid "List environments per location"
431
+ msgstr "列出各个位置的环境"
432
+
433
+ msgid "List environments per organization"
434
+ msgstr "列出各个机构的环境"
435
+
436
+ msgid "List hosts per environment"
437
+ msgstr "列出每个环境的主机"
438
+
439
+ msgid "List of config groups"
440
+ msgstr "配置组列表"
441
+
442
+ msgid "List of override values for a specific smart class parameter"
443
+ msgstr "具体智能分类参数替代值列表"
444
+
445
+ msgid "List of smart class parameters for a specific Puppet class"
446
+ msgstr "具体 Puppet 类别的智能类别参数列表"
447
+
448
+ msgid "List of smart class parameters for a specific environment"
449
+ msgstr "具体环境的智能类别参数列表"
450
+
451
+ msgid "List of smart class parameters for a specific environment/Puppet class combination"
452
+ msgstr "具体环境/Puppet 类别组合的智能类别参数列表"
453
+
454
+ msgid "List of smart class parameters for a specific host"
455
+ msgstr "具体主机的智能类别参数列表"
456
+
457
+ msgid "List of smart class parameters for a specific host group"
458
+ msgstr "具体主机组的智能类别参数列表"
459
+
460
+ msgid "List template combination"
461
+ msgstr "列出模板组合"
462
+
463
+ msgid "Loading parameters..."
464
+ msgstr "正在载入参数..."
465
+
466
+ msgid "Locations"
467
+ msgstr "位置"
468
+
469
+ msgid "Merge all matching values (only array/hash type)"
470
+ msgstr "合并所有匹配的值(仅用于阵列/哈希类型)"
471
+
472
+ msgid "Name"
473
+ msgstr "名称"
474
+
475
+ msgid "New"
476
+ msgstr "新增"
477
+
478
+ msgid "No changes to your environments detected"
479
+ msgstr "未探测到您的环境有任何变化"
480
+
481
+ msgid "No environment selected!"
482
+ msgstr "没有选择环境!"
483
+
484
+ msgid "No environments found"
485
+ msgstr "未找到任何环境"
486
+
487
+ msgid "No parameters to override for Puppet class %s"
488
+ msgstr "没有用于 Puppet 类 %s 的覆盖参数"
489
+
490
+ msgid "No proxy found to import classes from, ensure that the smart proxy has the Puppet feature enabled."
491
+ msgstr "没有找到可用来导入类别的代理服务器,请确定至少有一个启用 Puppet 的智能代理服务器。"
492
+
493
+ msgid "No proxy selected!"
494
+ msgstr "未选择代理服务器!"
495
+
496
+ msgid "No smart proxy was found to import environments from, ensure that at least one smart proxy is registered with the 'puppet' feature"
497
+ msgstr "没有找到可用来导入环境的智能代理服务器,请确保至少有一个智能代理服务器注册了 'puppet' 功能"
498
+
499
+ msgid "None"
500
+ msgstr "没有"
501
+
502
+ msgid "Not authorized to edit classes"
503
+ msgstr "没有授权编辑类"
504
+
505
+ msgid "Notice"
506
+ msgstr "注意事項"
507
+
508
+ msgid "Number of Overrides"
509
+ msgstr "覆盖数"
510
+
511
+ msgid "Number of classes"
512
+ msgstr "类数"
513
+
514
+ msgid "Obsolete"
515
+ msgstr "废弃的"
516
+
517
+ msgid "Omit"
518
+ msgstr "省略"
519
+
520
+ msgid "Omit from classification output"
521
+ msgstr "从分类输出中省略"
522
+
523
+ msgid "Operating System"
524
+ msgstr "操作系统"
525
+
526
+ msgid "Operating system default"
527
+ msgstr "作業系統預設值"
528
+
529
+ msgid "Operation"
530
+ msgstr "操作"
531
+
532
+ msgid "Optional comma-delimited stringcontaining either 'new', 'updated', or 'obsolete'that is used to limit the imported Puppet classes"
533
+ msgstr "自选用逗号分开包含 'new'、'updated' 或 'obsolete' 的字符串,用来限制导入的 Puppet 类别。"
534
+
535
+ msgid "Optional parameter without value.<br/><i>Still managed by Foreman, the value will be empty.</i><br/>"
536
+ msgstr "可选的参数没有值。<br/><i>仍由 Foreman 管理,该值将为空。</i><br/>"
537
+
538
+ msgid "Organizations"
539
+ msgstr "机构"
540
+
541
+ msgid "Original value info"
542
+ msgstr "原始值信息"
543
+
544
+ msgid "Overridden"
545
+ msgstr "覆盖"
546
+
547
+ msgid "Override all parameters"
548
+ msgstr "覆盖所有参数"
549
+
550
+ msgid "Override match"
551
+ msgstr "替代匹配"
552
+
553
+ msgid "Override this value"
554
+ msgstr "重设此值"
555
+
556
+ msgid "Override value, required if omit is false"
557
+ msgstr "覆盖值,omit 为 false 时必需"
558
+
559
+ msgid "Parameter"
560
+ msgstr "参数"
561
+
562
+ 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)."
563
+ msgstr "参数化类支持允许根据一组规则(智能匹配器),通过 ENC 对支持它的类直接实施检测、导入和提供参数。"
564
+
565
+ msgid "Parameters"
566
+ msgstr "参数"
567
+
568
+ msgid "Please select an environment first"
569
+ msgstr "请先选择环境"
570
+
571
+ msgid "Puppet"
572
+ msgstr "Puppet"
573
+
574
+ msgid "Puppet CA"
575
+ msgstr "Puppet CA"
576
+
577
+ msgid "Puppet Class"
578
+ msgstr "Puppet 类"
579
+
580
+ msgid "Puppet Class Parameters"
581
+ msgstr "Puppet 类参数"
582
+
583
+ msgid "Puppet Classes"
584
+ msgstr "Puppet 类"
585
+
586
+ msgid "Puppet ENC"
587
+ msgstr "Puppet ENC"
588
+
589
+ msgid "Puppet Environment"
590
+ msgstr "Puppet 环境"
591
+
592
+ msgid "Puppet Environments"
593
+ msgstr "Puppet 环境"
594
+
595
+ msgid "Puppet Modules"
596
+ msgstr "Puppet 模組"
597
+
598
+ msgid "Puppet YAML"
599
+ msgstr "Puppet YAML"
600
+
601
+ msgid "Puppet environments"
602
+ msgstr "Puppet 环境"
603
+
604
+ msgid "Puppet external nodes YAML dump"
605
+ msgstr "Puppet 外部节点 YAML 转储"
606
+
607
+ msgid "Puppet interval"
608
+ msgstr "Puppet 间隔"
609
+
610
+ msgid "Puppet parameter"
611
+ msgstr "Puppet 参数"
612
+
613
+ msgid "Puppetclass|Name"
614
+ msgstr "Puppetclass|Name"
615
+
616
+ msgid "Remote action:"
617
+ msgstr "远程操作:"
618
+
619
+ msgid "Remove"
620
+ msgstr "移除"
621
+
622
+ msgid "Remove Combination"
623
+ msgstr "删除组合"
624
+
625
+ msgid "Remove a Puppet class from host"
626
+ msgstr "從主機移除一個 Puppet 類別"
627
+
628
+ msgid "Remove a Puppet class from host group"
629
+ msgstr "从主机组中删除一个 Puppet 类"
630
+
631
+ msgid "Remove duplicate values (only array type)"
632
+ msgstr "删除重复值(仅用于数组类型)"
633
+
634
+ msgid "Remove this override"
635
+ msgstr "删除此覆盖"
636
+
637
+ msgid "Remove:"
638
+ msgstr "删除:"
639
+
640
+ msgid "Required parameter without value.<br/><b>Please override!</b><br/>"
641
+ msgstr "需要的参数没有值。<br/><b>请覆盖</b><br/>"
642
+
643
+ msgid "Select environment"
644
+ msgstr "选择环境"
645
+
646
+ msgid "Select the changes you want to apply to Foreman"
647
+ msgstr "选择您要应用到 Foreman 的更改"
648
+
649
+ msgid "Set parameters to defaults"
650
+ msgstr "将参数设定为默认"
651
+
652
+ msgid "Show a Puppet class"
653
+ msgstr "显示 Puppet 类别"
654
+
655
+ msgid "Show a Puppet class for a host group"
656
+ msgstr "显示主机组的 Puppet 类别"
657
+
658
+ msgid "Show a Puppet class for an environment"
659
+ msgstr "显示环境的 Puppet 类别"
660
+
661
+ msgid "Show a Puppet class for host"
662
+ msgstr "显示主机的 Puppet 类别"
663
+
664
+ msgid "Show a config group"
665
+ msgstr "显示配置组"
666
+
667
+ msgid "Show a smart class parameter"
668
+ msgstr "显示智能类别参数"
669
+
670
+ msgid "Show an environment"
671
+ msgstr "显示环境"
672
+
673
+ msgid "Show an override value for a specific smart class parameter"
674
+ msgstr "显示具体智能类别参数的替代值"
675
+
676
+ msgid "Show template combination"
677
+ msgstr "显示模板组合"
678
+
679
+ msgid "Smart Class Parameter"
680
+ msgstr "智能代理参数"
681
+
682
+ msgid "Smart Class Parameters"
683
+ msgstr "智能类参数"
684
+
685
+ msgid "Successfully overridden all parameters of Puppet class %s"
686
+ msgstr "成功覆盖 Puppet 类 %s 的所有参数"
687
+
688
+ msgid "Successfully reset all parameters of Puppet class %s to their default values"
689
+ msgstr "成功将 Puppet 类 %s 的所有参数重置为默认值"
690
+
691
+ msgid "Successfully updated environments and Puppet classes from the on-disk Puppet installation"
692
+ msgstr "成功使用磁盘 Puppet 安装更新环境及 Puppet 类别"
693
+
694
+ msgid "The %{proxy_type} proxy could not be set for host: %{host_names}."
695
+ msgid_plural "The %{proxy_type} puppet ca proxy could not be set for hosts: %{host_names}"
696
+ msgstr[0] "无法为主机 %{host_names} 设置 %{proxy_type} 代理服务器。"
697
+
698
+ msgid "The %{proxy_type} proxy of the selected hosts was cleared."
699
+ msgstr "所选主机的 %{proxy_type} 代理服务器已被清除。"
700
+
701
+ msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}"
702
+ msgstr "所选主机的 %{proxy_type} 代理服务器被设置为 %{proxy_name}"
703
+
704
+ msgid "The %{proxy_type} proxy of the selected hosts was set to %{proxy_name}."
705
+ msgstr "所选主机的 %{proxy_type} 代理服务器被设置为 {proxy_name}。"
706
+
707
+ msgid "The class could not be saved because of an error in one of the class parameters."
708
+ msgstr "此类无法保存,因为其中一个类参数含有错误。"
709
+
710
+ msgid "The final entry, Operating System default, can be set by editing the %s page."
711
+ msgstr "最终条目,操作系统默认值,可以通过编辑 %s 页设置。"
712
+
713
+ msgid "The order in which values are resolved"
714
+ msgstr "值解析的順序"
715
+
716
+ msgid "The requested environment cannot be found."
717
+ msgstr ""
718
+
719
+ msgid "There are no puppet environments set up on this puppet master. Please check the puppet master configuration."
720
+ msgstr "这台 puppet 主服务器中未设置任何 puppet 环境。请检查 puppet 主服务器配置。"
721
+
722
+ msgid "This Puppet class has no parameters in its signature."
723
+ msgstr "这个 Puppet 类别在其签名中没有参数。"
724
+
725
+ msgid "This will reset parameters of the class %s to their default values. Continue?"
726
+ msgstr "这会将类 %s 的参数重置为其默认值。继续吗?"
727
+
728
+ msgid "This will set all parameters of the class %s as overridden. Continue?"
729
+ msgstr "这会将类 %s 的所有参数设定为覆盖值。继续吗?"
730
+
731
+ msgid "To update the class signature, go to the Puppet Classes page and select \"Import\"."
732
+ msgstr "请进入 Puppet 类别页面,选择“导入”就可以更新该类别签名。"
733
+
734
+ msgid "Toggle"
735
+ msgstr "切換"
736
+
737
+ msgid "Total"
738
+ msgstr "總計"
739
+
740
+ msgid "Types of validation values"
741
+ msgstr "验证值类型"
742
+
743
+ msgid "Types of variable values"
744
+ msgstr "变量值类型"
745
+
746
+ msgid "Unable to generate output, Check log files"
747
+ msgstr "无法生成输出结果,检查日志文件"
748
+
749
+ msgid "Update"
750
+ msgstr "更新"
751
+
752
+ msgid "Update a Puppet class"
753
+ msgstr "更新 Puppet 类别"
754
+
755
+ msgid "Update a config group"
756
+ msgstr "更新配置群組"
757
+
758
+ msgid "Update a smart class parameter"
759
+ msgstr "更新智能类别参数"
760
+
761
+ msgid "Update an environment"
762
+ msgstr "更新环境"
763
+
764
+ msgid "Update an override value for a specific smart class parameter"
765
+ msgstr "更新具体智能类别参数的替代值"
766
+
767
+ msgid "Update environment from facts"
768
+ msgstr "根据系统信息更新环境"
769
+
770
+ msgid "Update template combination"
771
+ msgstr "更新模板组合"
772
+
773
+ msgid "Update:"
774
+ msgstr "更新:"
775
+
776
+ msgid "Updated"
777
+ msgstr "已更新"
778
+
779
+ msgid "Updated hosts: changed environment"
780
+ msgstr "已更新主机:更改环境"
781
+
782
+ msgid "Used to enforce certain values for the parameter values"
783
+ msgstr "用来在参数中强制使用某些值"
784
+
785
+ msgid "Valid Host Group and Environment Combinations"
786
+ msgstr "有效的主机组和环境组合"
787
+
788
+ msgid "Value"
789
+ msgstr "值"
790
+
791
+ msgid "Value to use when there is no match"
792
+ msgstr "未发现匹配时使用的值"
793
+
794
+ msgid ""
795
+ "When a Host requests a template (e.g. during provisioning), Foreman \\\n"
796
+ " will select the best match from the available templates of that type, in the \\\n"
797
+ " following order:"
798
+ msgstr ""
799
+ "当主机需要一个模板时(比如在置备过程中),Foreman \\\n"
800
+ "将从该类型的可用模板中选择最匹配的一个,选择\\\n"
801
+ "顺序如下:"
802
+
803
+ msgid ""
804
+ "When editing a template, you must assign a list \\\n"
805
+ " of operating systems which this template can be used with. Optionally, you can \\\n"
806
+ " restrict a template to a list of host groups and/or environments."
807
+ msgstr ""
808
+ "在编辑模板时,您必须分配可搭配\\\n"
809
+ "此模板使用的一系列操作系统。您也可\\\n"
810
+ "选择将模板限制到一系列主机组和/或环境。"
811
+
812
+ msgid "When enabled the parameter is hidden in the UI"
813
+ msgstr "何时将启用的参数隐藏到 UI 中"
814
+
815
+ msgid "Whether the smart class parameter value is managed by Foreman"
816
+ msgstr "是否由 Foreman 管理智能类别参数值"
817
+
818
+ msgid "belongs to config group"
819
+ msgstr "属于配置组"
820
+
821
+ msgid "environment id"
822
+ msgstr "环境 ID"
823
+
824
+ msgid "included already from parent"
825
+ msgstr "已在上级包含"
826
+
827
+ msgid "must be true to edit the parameter"
828
+ msgstr "必须为 true 以编辑参数"
829
+
830
+ msgid "with id %{object_id} doesn't exist or is not assigned to proper organization and/or location"
831
+ msgstr "id %{object_id} 不存在,或没有被分配到适当的机构/位置"