hammer_cli_foreman_puppet 0.0.6 → 0.1.0

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman_puppet/associating_commands.rb +1 -1
  3. data/lib/hammer_cli_foreman_puppet/class.rb +1 -3
  4. data/lib/hammer_cli_foreman_puppet/combination.rb +0 -1
  5. data/lib/hammer_cli_foreman_puppet/command_extensions/combination.rb +3 -3
  6. data/lib/hammer_cli_foreman_puppet/commands.rb +3 -2
  7. data/lib/hammer_cli_foreman_puppet/host.rb +4 -5
  8. data/lib/hammer_cli_foreman_puppet/hostgroup.rb +7 -8
  9. data/lib/hammer_cli_foreman_puppet/i18n.rb +2 -2
  10. data/lib/hammer_cli_foreman_puppet/id_resolver.rb +5 -5
  11. data/lib/hammer_cli_foreman_puppet/option_sources/puppet_environment_params.rb +1 -2
  12. data/lib/hammer_cli_foreman_puppet/puppet_references.rb +0 -1
  13. data/lib/hammer_cli_foreman_puppet/smart_class_parameter.rb +6 -6
  14. data/lib/hammer_cli_foreman_puppet/smart_proxy.rb +2 -2
  15. data/lib/hammer_cli_foreman_puppet/version.rb +1 -1
  16. data/locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  17. data/locale/cs_CZ/hammer-cli-foreman-puppet.po +282 -0
  18. data/locale/de/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  19. data/locale/de/hammer-cli-foreman-puppet.po +293 -0
  20. data/locale/en/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  21. data/locale/en/hammer-cli-foreman-puppet.po +276 -0
  22. data/locale/es/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  23. data/locale/es/hammer-cli-foreman-puppet.po +287 -0
  24. data/locale/fr/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  25. data/locale/fr/hammer-cli-foreman-puppet.po +285 -0
  26. data/locale/hammer-cli-foreman-puppet.pot +386 -0
  27. data/locale/ja/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  28. data/locale/ja/hammer-cli-foreman-puppet.po +283 -0
  29. data/locale/ka/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  30. data/locale/ka/hammer-cli-foreman-puppet.po +280 -0
  31. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  32. data/locale/pt_BR/hammer-cli-foreman-puppet.po +288 -0
  33. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-puppet.mo +0 -0
  34. data/locale/zh_CN/hammer-cli-foreman-puppet.po +283 -0
  35. metadata +31 -57
  36. data/test/data/2.1/foreman_api.json +0 -1
  37. data/test/data/3.0/foreman_api.json +0 -1
  38. data/test/data/3.3/foreman_api.json +0 -1
  39. data/test/data/README.md +0 -27
  40. data/test/functional/config_group_test.rb +0 -28
  41. data/test/functional/host/create_test.rb +0 -195
  42. data/test/functional/host/update_test.rb +0 -126
  43. data/test/functional/hostgroup/create_test.rb +0 -178
  44. data/test/functional/hostgroup/update_test.rb +0 -126
  45. data/test/functional/proxy_test.rb +0 -86
  46. data/test/functional/smart_class_parameter_test.rb +0 -97
  47. data/test/functional/template_test.rb +0 -38
  48. data/test/functional/test_helper.rb +0 -7
  49. data/test/test_helper.rb +0 -29
  50. data/test/unit/apipie_resource_mock.rb +0 -186
  51. data/test/unit/config_group_test.rb +0 -73
  52. data/test/unit/helpers/command.rb +0 -163
  53. data/test/unit/helpers/fake_searchables.rb +0 -19
  54. data/test/unit/helpers/resource_disabled.rb +0 -24
  55. data/test/unit/puppet_class_test.rb +0 -72
  56. data/test/unit/puppet_environment_test.rb +0 -116
  57. data/test/unit/smart_class_parameter_test.rb +0 -114
  58. data/test/unit/test_helper.rb +0 -18
  59. data/test/unit/test_output_adapter.rb +0 -22
@@ -0,0 +1,283 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli-foreman-puppet package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2021
9
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
10
+ #
11
+ #, fuzzy
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: hammer-cli-foreman-puppet 0.0.6\n"
15
+ "Report-Msgid-Bugs-To: \n"
16
+ "POT-Creation-Date: 2021-08-02 23:05+0530\n"
17
+ "PO-Revision-Date: 2021-08-02 17:36+0000\n"
18
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
19
+ "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/"
20
+ "zh_CN/)\n"
21
+ "MIME-Version: 1.0\n"
22
+ "Content-Type: text/plain; charset=UTF-8\n"
23
+ "Content-Transfer-Encoding: 8bit\n"
24
+ "Language: zh_CN\n"
25
+ "Plural-Forms: nplurals=1; plural=0;\n"
26
+
27
+ msgid "Manage Foreman Puppet classes"
28
+ msgstr "管理 Foreman Puppet 类"
29
+
30
+ msgid "Manage Foreman Puppet environments"
31
+ msgstr "管理 Foreman Puppet 环境"
32
+
33
+ msgid "Manage Foreman config groups"
34
+ msgstr "管理 Foreman 配置组"
35
+
36
+ msgid "Manage Foreman Puppet smart class parameters"
37
+ msgstr "管理 Foreman Puppet 智能类参数"
38
+
39
+ msgid "Associate a Puppet environment"
40
+ msgstr "关联一个 Puppet 环境"
41
+
42
+ msgid "The environment has been associated."
43
+ msgstr "该环境已经关联。"
44
+
45
+ msgid "Could not associate the environment"
46
+ msgstr "无法关联该环境"
47
+
48
+ msgid "Disassociate a Puppet environment"
49
+ msgstr "解除与一个 Puppet 环境的关联"
50
+
51
+ msgid "The environment has been disassociated."
52
+ msgstr "该环境已经取消关联。"
53
+
54
+ msgid "Could not disassociate the environment"
55
+ msgstr "无法取消关联该环境"
56
+
57
+ msgid "Id"
58
+ msgstr "ID"
59
+
60
+ msgid "Name"
61
+ msgstr "名称"
62
+
63
+ msgid "Smart class parameters"
64
+ msgstr "智能类参数"
65
+
66
+ msgid "ID of associated Puppet environment"
67
+ msgstr "与 Puppet 环境关联的 ID"
68
+
69
+ msgid "Name of associated Puppet environment"
70
+ msgstr "与 Puppet 环境关联的名称"
71
+
72
+ msgid "IDs of associated Puppet environment"
73
+ msgstr "与 Puppet 环境关联的 ID"
74
+
75
+ msgid "Names of associated Puppet environment"
76
+ msgstr "与 Puppet 环境关联的名称"
77
+
78
+ msgid "List of Puppet class ids"
79
+ msgstr "Puppet 类 id 列表"
80
+
81
+ msgid "Name of Puppet CA proxy"
82
+ msgstr "Puppet CA 代理的名称"
83
+
84
+ msgid "Name of Puppet proxy"
85
+ msgstr "Puppet 代理的名称"
86
+
87
+ msgid "ID"
88
+ msgstr "ID"
89
+
90
+ msgid "Config group created."
91
+ msgstr "已创建配置组。"
92
+
93
+ msgid "Could not create the config group"
94
+ msgstr "无法创建配置组"
95
+
96
+ msgid "Config group updated."
97
+ msgstr "已更新配置组。"
98
+
99
+ msgid "Could not update the config group"
100
+ msgstr "无法更新该配置组"
101
+
102
+ msgid "Config group has been deleted."
103
+ msgstr "已删除配置组。"
104
+
105
+ msgid "Could not delete the config group"
106
+ msgstr "无法删除配置组"
107
+
108
+ msgid "Environment created."
109
+ msgstr "已创建环境。"
110
+
111
+ msgid "Could not create the environment"
112
+ msgstr "无法创建环境"
113
+
114
+ msgid "Environment updated."
115
+ msgstr "已更新环境。"
116
+
117
+ msgid "Could not update the environment"
118
+ msgstr "无法更新环境"
119
+
120
+ msgid "Environment deleted."
121
+ msgstr "已删除环境。"
122
+
123
+ msgid "Could not delete the environment"
124
+ msgstr "无法删除环境"
125
+
126
+ msgid "Puppet Environment"
127
+ msgstr "Puppet 环境"
128
+
129
+ msgid "Puppet CA Proxy"
130
+ msgstr "Puppet CA 代理服务器"
131
+
132
+ msgid "Puppet Master Proxy"
133
+ msgstr "Puppet 主代理服务器"
134
+
135
+ msgid "Missing options to search %s"
136
+ msgstr "缺少搜索 %s 的选项。"
137
+
138
+ msgid "one of %s not found."
139
+ msgstr "一个 %s 未找到。"
140
+
141
+ msgid "Puppet environment name"
142
+ msgstr "Puppet 环境名称"
143
+
144
+ msgid "Puppet class name"
145
+ msgstr "Puppet 类名称"
146
+
147
+ msgid "Smart class parameter name"
148
+ msgstr "智能类参数名称"
149
+
150
+ msgid "Name to search by"
151
+ msgstr "用来进行搜索的名称"
152
+
153
+ msgid "Puppetclasses"
154
+ msgstr "Puppetclasses"
155
+
156
+ msgid "Environments"
157
+ msgstr "环境"
158
+
159
+ msgid "Parameter"
160
+ msgstr "参数"
161
+
162
+ msgid "Default Value"
163
+ msgstr "默认值"
164
+
165
+ msgid "Override"
166
+ msgstr "覆盖"
167
+
168
+ msgid "Puppet class"
169
+ msgstr "Puppet 类别"
170
+
171
+ msgid "Class Id"
172
+ msgstr "类别 ID"
173
+
174
+ msgid "Description"
175
+ msgstr "描述"
176
+
177
+ msgid "Type"
178
+ msgstr "类型"
179
+
180
+ msgid "Hidden Value?"
181
+ msgstr "隐藏值?"
182
+
183
+ msgid "Omit"
184
+ msgstr "省略"
185
+
186
+ msgid "Required"
187
+ msgstr "必需的"
188
+
189
+ msgid "Validator"
190
+ msgstr "验证器"
191
+
192
+ msgid "Rule"
193
+ msgstr "规则"
194
+
195
+ msgid "Override values"
196
+ msgstr "覆盖规则"
197
+
198
+ msgid "Merge overrides"
199
+ msgstr "合并覆盖"
200
+
201
+ msgid "Merge default value"
202
+ msgstr "合并默认值"
203
+
204
+ msgid "Avoid duplicates"
205
+ msgstr "避免重复"
206
+
207
+ msgid "Order"
208
+ msgstr "顺序"
209
+
210
+ msgid "Values"
211
+ msgstr "值"
212
+
213
+ msgid "Match"
214
+ msgstr "匹配"
215
+
216
+ msgid "Value"
217
+ msgstr "值"
218
+
219
+ msgid "Parameter updated."
220
+ msgstr "已更新参数。"
221
+
222
+ msgid "Could not update the parameter"
223
+ msgstr "无法更新参数"
224
+
225
+ msgid "Value to use when there is no match"
226
+ msgstr "未发现匹配时使用的值"
227
+
228
+ msgid "Override this parameter"
229
+ msgstr "覆盖此参数"
230
+
231
+ msgid "This parameter is required"
232
+ msgstr "此参数是必需的"
233
+
234
+ msgid "Type of the parameter"
235
+ msgstr "参数类型"
236
+
237
+ msgid "Type of the validator"
238
+ msgstr "验证程序类型"
239
+
240
+ msgid "The order in which values are resolved"
241
+ msgstr "值解析的順序"
242
+
243
+ msgid "Override value, required if omit is false"
244
+ msgstr "覆盖值,omit 为 false 时必需"
245
+
246
+ msgid "Override value created."
247
+ msgstr "已创建覆盖值。"
248
+
249
+ msgid "Could not create the override value"
250
+ msgstr "无法创建该覆盖值"
251
+
252
+ msgid "Cannot use --value when --omit is true."
253
+ msgstr "--omit 为 true 时,不能使用 --value。"
254
+
255
+ msgid "Override value deleted."
256
+ msgstr "已删除覆盖值。"
257
+
258
+ msgid "Could not delete the override value"
259
+ msgstr "无法删除覆盖值"
260
+
261
+ msgid "Import Puppet classes from Puppet proxy"
262
+ msgstr "从 Puppet 代理导入 Puppet 类"
263
+
264
+ msgid "Do not run the import"
265
+ msgstr "不运行导入"
266
+
267
+ msgid "Result"
268
+ msgstr "结果"
269
+
270
+ msgid "Changed environments"
271
+ msgstr "修改的环境"
272
+
273
+ msgid "New classes"
274
+ msgstr "新类"
275
+
276
+ msgid "Updated classes"
277
+ msgstr "更新的类"
278
+
279
+ msgid "Removed classes"
280
+ msgstr "删除的类"
281
+
282
+ msgid "Ignored classes"
283
+ msgstr "忽略的类"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amir Fefer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli_foreman
@@ -30,7 +30,7 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 4.0.0
33
- description:
33
+ description:
34
34
  email:
35
35
  - amirfefer@gmail.com
36
36
  executables: []
@@ -68,35 +68,30 @@ files:
68
68
  - lib/hammer_cli_foreman_puppet/smart_class_parameter.rb
69
69
  - lib/hammer_cli_foreman_puppet/smart_proxy.rb
70
70
  - lib/hammer_cli_foreman_puppet/version.rb
71
- - test/data/2.1/foreman_api.json
72
- - test/data/3.0/foreman_api.json
73
- - test/data/3.3/foreman_api.json
74
- - test/data/README.md
75
- - test/functional/config_group_test.rb
76
- - test/functional/host/create_test.rb
77
- - test/functional/host/update_test.rb
78
- - test/functional/hostgroup/create_test.rb
79
- - test/functional/hostgroup/update_test.rb
80
- - test/functional/proxy_test.rb
81
- - test/functional/smart_class_parameter_test.rb
82
- - test/functional/template_test.rb
83
- - test/functional/test_helper.rb
84
- - test/test_helper.rb
85
- - test/unit/apipie_resource_mock.rb
86
- - test/unit/config_group_test.rb
87
- - test/unit/helpers/command.rb
88
- - test/unit/helpers/fake_searchables.rb
89
- - test/unit/helpers/resource_disabled.rb
90
- - test/unit/puppet_class_test.rb
91
- - test/unit/puppet_environment_test.rb
92
- - test/unit/smart_class_parameter_test.rb
93
- - test/unit/test_helper.rb
94
- - test/unit/test_output_adapter.rb
71
+ - locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman-puppet.mo
72
+ - locale/cs_CZ/hammer-cli-foreman-puppet.po
73
+ - locale/de/LC_MESSAGES/hammer-cli-foreman-puppet.mo
74
+ - locale/de/hammer-cli-foreman-puppet.po
75
+ - locale/en/LC_MESSAGES/hammer-cli-foreman-puppet.mo
76
+ - locale/en/hammer-cli-foreman-puppet.po
77
+ - locale/es/LC_MESSAGES/hammer-cli-foreman-puppet.mo
78
+ - locale/es/hammer-cli-foreman-puppet.po
79
+ - locale/fr/LC_MESSAGES/hammer-cli-foreman-puppet.mo
80
+ - locale/fr/hammer-cli-foreman-puppet.po
81
+ - locale/hammer-cli-foreman-puppet.pot
82
+ - locale/ja/LC_MESSAGES/hammer-cli-foreman-puppet.mo
83
+ - locale/ja/hammer-cli-foreman-puppet.po
84
+ - locale/ka/LC_MESSAGES/hammer-cli-foreman-puppet.mo
85
+ - locale/ka/hammer-cli-foreman-puppet.po
86
+ - locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-puppet.mo
87
+ - locale/pt_BR/hammer-cli-foreman-puppet.po
88
+ - locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-puppet.mo
89
+ - locale/zh_CN/hammer-cli-foreman-puppet.po
95
90
  homepage: https://github.com/theforeman/hammer-cli-foreman-puppet
96
91
  licenses:
97
92
  - GPL-3.0
98
93
  metadata: {}
99
- post_install_message:
94
+ post_install_message:
100
95
  rdoc_options: []
101
96
  require_paths:
102
97
  - lib
@@ -104,39 +99,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
99
  requirements:
105
100
  - - ">="
106
101
  - !ruby/object:Gem::Version
107
- version: '0'
102
+ version: '2.7'
103
+ - - "<"
104
+ - !ruby/object:Gem::Version
105
+ version: '4'
108
106
  required_rubygems_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
110
  version: '0'
113
111
  requirements: []
114
- rubygems_version: 3.1.2
115
- signing_key:
112
+ rubygems_version: 3.1.6
113
+ signing_key:
116
114
  specification_version: 4
117
115
  summary: Foreman Puppet plugin for Hammer CLI
118
- test_files:
119
- - test/unit/config_group_test.rb
120
- - test/unit/smart_class_parameter_test.rb
121
- - test/unit/helpers/resource_disabled.rb
122
- - test/unit/helpers/command.rb
123
- - test/unit/helpers/fake_searchables.rb
124
- - test/unit/test_helper.rb
125
- - test/unit/test_output_adapter.rb
126
- - test/unit/apipie_resource_mock.rb
127
- - test/unit/puppet_environment_test.rb
128
- - test/unit/puppet_class_test.rb
129
- - test/functional/config_group_test.rb
130
- - test/functional/smart_class_parameter_test.rb
131
- - test/functional/test_helper.rb
132
- - test/functional/template_test.rb
133
- - test/functional/hostgroup/create_test.rb
134
- - test/functional/hostgroup/update_test.rb
135
- - test/functional/host/create_test.rb
136
- - test/functional/host/update_test.rb
137
- - test/functional/proxy_test.rb
138
- - test/test_helper.rb
139
- - test/data/2.1/foreman_api.json
140
- - test/data/3.0/foreman_api.json
141
- - test/data/3.3/foreman_api.json
142
- - test/data/README.md
116
+ test_files: []