hammer_cli_foreman_remote_execution 0.2.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci_test.yml +22 -0
  3. data/.rubocop.yml +7 -4
  4. data/.rubocop_todo.yml +81 -0
  5. data/.tx/config +5 -4
  6. data/Gemfile +10 -9
  7. data/Rakefile +9 -25
  8. data/hammer_cli_foreman_remote_execution.gemspec +6 -2
  9. data/lib/hammer_cli_foreman_remote_execution/foreign_input_set.rb +2 -0
  10. data/lib/hammer_cli_foreman_remote_execution/i18n.rb +5 -7
  11. data/lib/hammer_cli_foreman_remote_execution/interface_extensions.rb +2 -2
  12. data/lib/hammer_cli_foreman_remote_execution/job_invocation.rb +6 -4
  13. data/lib/hammer_cli_foreman_remote_execution/job_template.rb +8 -6
  14. data/lib/hammer_cli_foreman_remote_execution/options/normalizers.rb +5 -3
  15. data/lib/hammer_cli_foreman_remote_execution/remote_execution_feature.rb +4 -1
  16. data/lib/hammer_cli_foreman_remote_execution/subnet_extensions.rb +3 -1
  17. data/lib/hammer_cli_foreman_remote_execution/template_input.rb +2 -0
  18. data/lib/hammer_cli_foreman_remote_execution/version.rb +3 -1
  19. data/lib/hammer_cli_foreman_remote_execution.rb +2 -0
  20. data/locale/Makefile +2 -53
  21. data/locale/ca/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  22. data/locale/ca/hammer_cli_foreman_remote_execution.po +311 -0
  23. data/locale/cs_CZ/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  24. data/locale/{de/hammer-cli-foreman-remote-execution.po → cs_CZ/hammer_cli_foreman_remote_execution.po} +104 -67
  25. data/locale/de/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  26. data/locale/de/hammer_cli_foreman_remote_execution.po +311 -0
  27. data/locale/en/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  28. data/locale/en/{hammer-cli-foreman-remote-execution.po → hammer_cli_foreman_remote_execution.po} +55 -16
  29. data/locale/es/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  30. data/locale/es/hammer_cli_foreman_remote_execution.po +308 -0
  31. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  32. data/locale/fr/hammer_cli_foreman_remote_execution.po +315 -0
  33. data/locale/{hammer-cli-foreman-remote-execution.pot → hammer_cli_foreman_remote_execution.pot} +113 -57
  34. data/locale/it/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  35. data/locale/it/{hammer-cli-foreman-remote-execution.po → hammer_cli_foreman_remote_execution.po} +74 -37
  36. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  37. data/locale/ja/hammer_cli_foreman_remote_execution.po +306 -0
  38. data/locale/ka/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  39. data/locale/ka/hammer_cli_foreman_remote_execution.po +307 -0
  40. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  41. data/locale/ko/hammer_cli_foreman_remote_execution.po +305 -0
  42. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  43. data/locale/pt_BR/hammer_cli_foreman_remote_execution.po +308 -0
  44. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  45. data/locale/ru/hammer_cli_foreman_remote_execution.po +311 -0
  46. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  47. data/locale/zh_CN/hammer_cli_foreman_remote_execution.po +303 -0
  48. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_remote_execution.mo +0 -0
  49. data/locale/zh_TW/{hammer-cli-foreman-remote-execution.po → hammer_cli_foreman_remote_execution.po} +113 -73
  50. data/test/unit/foreign_input_set_test.rb +11 -9
  51. data/test/unit/job_invocation_test.rb +20 -16
  52. data/test/unit/job_template_test.rb +27 -22
  53. data/test/unit/remote_execution_feature_test.rb +9 -8
  54. data/test/unit/template_input_test.rb +13 -11
  55. metadata +39 -17
  56. data/locale/es/hammer-cli-foreman-remote-execution.po +0 -262
  57. data/locale/fr/hammer-cli-foreman-remote-execution.po +0 -262
  58. data/locale/ja/hammer-cli-foreman-remote-execution.po +0 -262
  59. data/locale/ko/hammer-cli-foreman-remote-execution.po +0 -262
  60. data/locale/pt_BR/hammer-cli-foreman-remote-execution.po +0 -263
  61. data/locale/ru/hammer-cli-foreman-remote-execution.po +0 -264
  62. data/locale/zh_CN/hammer-cli-foreman-remote-execution.po +0 -263
@@ -1,264 +0,0 @@
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_tasks package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman-remote-execution 0.2.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2016-02-18 10:36-0500\n"
11
- "Last-Translator: Dominic Cleal <dominic@cleal.org>, 2017\n"
12
- "Language-Team: Russian (https://www.transifex.com/foreman/teams/114/ru/)\n"
13
- "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
- "Content-Transfer-Encoding: 8bit\n"
16
- "Language: ru\n"
17
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
18
- "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
19
- "1 && n%100<=14)? 2 : 3);\n"
20
-
21
- msgid "Manage foreign input sets"
22
- msgstr ""
23
-
24
- msgid "ID"
25
- msgstr "Код"
26
-
27
- #, fuzzy
28
- msgid "Target template ID"
29
- msgstr "Код"
30
-
31
- msgid "Target template name"
32
- msgstr ""
33
-
34
- msgid "Name"
35
- msgstr "Имя"
36
-
37
- msgid "Include all"
38
- msgstr ""
39
-
40
- msgid "Include"
41
- msgstr ""
42
-
43
- msgid "Exclude"
44
- msgstr ""
45
-
46
- msgid "Foreign input set updated"
47
- msgstr ""
48
-
49
- msgid "Could not update the input set"
50
- msgstr ""
51
-
52
- msgid "Foreign input set created"
53
- msgstr ""
54
-
55
- msgid "Could not create the input set"
56
- msgstr ""
57
-
58
- msgid "Foreign input set deleted"
59
- msgstr ""
60
-
61
- msgid "Could not delete the input set"
62
- msgstr ""
63
-
64
- msgid "Description"
65
- msgstr ""
66
-
67
- #, fuzzy
68
- msgid "Status"
69
- msgstr "Состояние"
70
-
71
- msgid "Success"
72
- msgstr ""
73
-
74
- msgid "Failed"
75
- msgstr ""
76
-
77
- msgid "Pending"
78
- msgstr ""
79
-
80
- msgid "Total"
81
- msgstr ""
82
-
83
- #, fuzzy
84
- msgid "Start"
85
- msgstr "Состояние"
86
-
87
- msgid "Job Category"
88
- msgstr ""
89
-
90
- msgid "Mode"
91
- msgstr ""
92
-
93
- msgid "Cron line"
94
- msgstr "Строка Cron"
95
-
96
- #, fuzzy
97
- msgid "Recurring logic ID"
98
- msgstr "Код"
99
-
100
- msgid "Hosts"
101
- msgstr ""
102
-
103
- msgid "View the output for a host"
104
- msgstr ""
105
-
106
- msgid "Do not wait for job to complete, shows current output only"
107
- msgstr ""
108
-
109
- msgid "The job is scheduled to start at %{timestamp}"
110
- msgstr ""
111
-
112
- msgid "Job invocation %{id} created"
113
- msgstr ""
114
-
115
- msgid "Schedule the execution for a later time"
116
- msgstr ""
117
-
118
- msgid "Execution should be cancelled if it cannot be started before --start-at"
119
- msgstr ""
120
-
121
- msgid "Create a recurring execution"
122
- msgstr ""
123
-
124
- msgid "Perform no more executions after this time, used with --cron-line"
125
- msgstr ""
126
-
127
- msgid "Specify inputs from command line"
128
- msgstr ""
129
-
130
- msgid "Read input values from files"
131
- msgstr ""
132
-
133
- msgid "Dynamic search queries are evaluated at run time"
134
- msgstr ""
135
-
136
- msgid "Cancel the job"
137
- msgstr ""
138
-
139
- msgid "Job invocation %{id} cancelled"
140
- msgstr ""
141
-
142
- msgid "Could not cancel the job invocation"
143
- msgstr ""
144
-
145
- msgid "Rerun the job"
146
- msgstr ""
147
-
148
- msgid "Job invocation was rerun as %{id}"
149
- msgstr ""
150
-
151
- msgid "Manage job invocations"
152
- msgstr ""
153
-
154
- msgid "Provider"
155
- msgstr ""
156
-
157
- msgid "Type"
158
- msgstr ""
159
-
160
- msgid "Inputs"
161
- msgstr ""
162
-
163
- msgid "View job template content"
164
- msgstr ""
165
-
166
- msgid "Path to a file that contains the template"
167
- msgstr ""
168
-
169
- msgid "Job template created"
170
- msgstr ""
171
-
172
- msgid "Could not create the job template"
173
- msgstr ""
174
-
175
- msgid "Path to a file that contains the template - must include ERB metadata"
176
- msgstr ""
177
-
178
- msgid "Job template imported"
179
- msgstr ""
180
-
181
- msgid "Could not import the job template"
182
- msgstr ""
183
-
184
- msgid "Export a template including all metadata"
185
- msgstr ""
186
-
187
- msgid "Job template updated"
188
- msgstr ""
189
-
190
- msgid "Could not update the job template"
191
- msgstr ""
192
-
193
- msgid "Job template deleted"
194
- msgstr ""
195
-
196
- msgid "Could not delete the job template"
197
- msgstr ""
198
-
199
- msgid "Manage job templates"
200
- msgstr ""
201
-
202
- msgid ""
203
- "Comma-separated list of key=file, where file is a path to a text file to be re"
204
- "ad"
205
- msgstr ""
206
-
207
- #, fuzzy
208
- msgid ""
209
- "Cron line format 'a b c d e', where:\n"
210
- " a. is minute (range: 0-59)\n"
211
- " b. is hour (range: 0-23)\n"
212
- " c. is day of month (range: 1-31)\n"
213
- " d. is month (range: 1-12)\n"
214
- " e. is day of week (range: 0-6)"
215
- msgstr "Строка Cron"
216
-
217
- msgid "Manage remote execution features"
218
- msgstr ""
219
-
220
- msgid "Job template name"
221
- msgstr ""
222
-
223
- msgid "Label"
224
- msgstr ""
225
-
226
- #, fuzzy
227
- msgid "Job template ID"
228
- msgstr "Код"
229
-
230
- msgid "Remote execution feature updated"
231
- msgstr ""
232
-
233
- msgid "Could not update the remote execution feature"
234
- msgstr ""
235
-
236
- msgid "Manage template inputs"
237
- msgstr ""
238
-
239
- msgid "Input type"
240
- msgstr ""
241
-
242
- msgid "Fact name"
243
- msgstr ""
244
-
245
- msgid "Variable name"
246
- msgstr ""
247
-
248
- msgid "Puppet parameter name"
249
- msgstr ""
250
-
251
- msgid "Options"
252
- msgstr ""
253
-
254
- msgid "Template input created"
255
- msgstr ""
256
-
257
- msgid "Could not create the template input"
258
- msgstr ""
259
-
260
- msgid "Template input deleted"
261
- msgstr ""
262
-
263
- msgid "Could not delete the template input"
264
- msgstr ""
@@ -1,263 +0,0 @@
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_tasks package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman-remote-execution 0.2.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2016-02-18 10:36-0500\n"
11
- "Last-Translator: tim123 <dingtim@gmail.com>, 2017\n"
12
- "Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
13
- "_CN/)\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Language: zh_CN\n"
18
- "Plural-Forms: nplurals=1; plural=0;\n"
19
-
20
- msgid "Manage foreign input sets"
21
- msgstr ""
22
-
23
- msgid "ID"
24
- msgstr "ID"
25
-
26
- #, fuzzy
27
- msgid "Target template ID"
28
- msgstr "ID"
29
-
30
- msgid "Target template name"
31
- msgstr ""
32
-
33
- msgid "Name"
34
- msgstr "名称"
35
-
36
- msgid "Include all"
37
- msgstr ""
38
-
39
- msgid "Include"
40
- msgstr ""
41
-
42
- msgid "Exclude"
43
- msgstr ""
44
-
45
- msgid "Foreign input set updated"
46
- msgstr ""
47
-
48
- msgid "Could not update the input set"
49
- msgstr ""
50
-
51
- msgid "Foreign input set created"
52
- msgstr ""
53
-
54
- msgid "Could not create the input set"
55
- msgstr ""
56
-
57
- msgid "Foreign input set deleted"
58
- msgstr ""
59
-
60
- msgid "Could not delete the input set"
61
- msgstr ""
62
-
63
- msgid "Description"
64
- msgstr ""
65
-
66
- #, fuzzy
67
- msgid "Status"
68
- msgstr "状态"
69
-
70
- msgid "Success"
71
- msgstr ""
72
-
73
- msgid "Failed"
74
- msgstr ""
75
-
76
- msgid "Pending"
77
- msgstr ""
78
-
79
- msgid "Total"
80
- msgstr ""
81
-
82
- #, fuzzy
83
- msgid "Start"
84
- msgstr "状态"
85
-
86
- msgid "Job Category"
87
- msgstr ""
88
-
89
- msgid "Mode"
90
- msgstr ""
91
-
92
- msgid "Cron line"
93
- msgstr "Cron 行"
94
-
95
- #, fuzzy
96
- msgid "Recurring logic ID"
97
- msgstr "ID"
98
-
99
- msgid "Hosts"
100
- msgstr ""
101
-
102
- msgid "View the output for a host"
103
- msgstr ""
104
-
105
- msgid "Do not wait for job to complete, shows current output only"
106
- msgstr ""
107
-
108
- msgid "The job is scheduled to start at %{timestamp}"
109
- msgstr ""
110
-
111
- msgid "Job invocation %{id} created"
112
- msgstr ""
113
-
114
- msgid "Schedule the execution for a later time"
115
- msgstr ""
116
-
117
- msgid "Execution should be cancelled if it cannot be started before --start-at"
118
- msgstr ""
119
-
120
- msgid "Create a recurring execution"
121
- msgstr ""
122
-
123
- msgid "Perform no more executions after this time, used with --cron-line"
124
- msgstr ""
125
-
126
- msgid "Specify inputs from command line"
127
- msgstr ""
128
-
129
- msgid "Read input values from files"
130
- msgstr ""
131
-
132
- msgid "Dynamic search queries are evaluated at run time"
133
- msgstr ""
134
-
135
- msgid "Cancel the job"
136
- msgstr ""
137
-
138
- msgid "Job invocation %{id} cancelled"
139
- msgstr ""
140
-
141
- msgid "Could not cancel the job invocation"
142
- msgstr ""
143
-
144
- msgid "Rerun the job"
145
- msgstr ""
146
-
147
- msgid "Job invocation was rerun as %{id}"
148
- msgstr ""
149
-
150
- msgid "Manage job invocations"
151
- msgstr ""
152
-
153
- msgid "Provider"
154
- msgstr ""
155
-
156
- msgid "Type"
157
- msgstr ""
158
-
159
- msgid "Inputs"
160
- msgstr ""
161
-
162
- msgid "View job template content"
163
- msgstr ""
164
-
165
- msgid "Path to a file that contains the template"
166
- msgstr ""
167
-
168
- msgid "Job template created"
169
- msgstr ""
170
-
171
- msgid "Could not create the job template"
172
- msgstr ""
173
-
174
- msgid "Path to a file that contains the template - must include ERB metadata"
175
- msgstr ""
176
-
177
- msgid "Job template imported"
178
- msgstr ""
179
-
180
- msgid "Could not import the job template"
181
- msgstr ""
182
-
183
- msgid "Export a template including all metadata"
184
- msgstr ""
185
-
186
- msgid "Job template updated"
187
- msgstr ""
188
-
189
- msgid "Could not update the job template"
190
- msgstr ""
191
-
192
- msgid "Job template deleted"
193
- msgstr ""
194
-
195
- msgid "Could not delete the job template"
196
- msgstr ""
197
-
198
- msgid "Manage job templates"
199
- msgstr ""
200
-
201
- msgid ""
202
- "Comma-separated list of key=file, where file is a path to a text file to be re"
203
- "ad"
204
- msgstr ""
205
-
206
- #, fuzzy
207
- msgid ""
208
- "Cron line format 'a b c d e', where:\n"
209
- " a. is minute (range: 0-59)\n"
210
- " b. is hour (range: 0-23)\n"
211
- " c. is day of month (range: 1-31)\n"
212
- " d. is month (range: 1-12)\n"
213
- " e. is day of week (range: 0-6)"
214
- msgstr "Cron 行"
215
-
216
- msgid "Manage remote execution features"
217
- msgstr ""
218
-
219
- msgid "Job template name"
220
- msgstr ""
221
-
222
- msgid "Label"
223
- msgstr ""
224
-
225
- #, fuzzy
226
- msgid "Job template ID"
227
- msgstr "ID"
228
-
229
- msgid "Remote execution feature updated"
230
- msgstr ""
231
-
232
- msgid "Could not update the remote execution feature"
233
- msgstr ""
234
-
235
- msgid "Manage template inputs"
236
- msgstr ""
237
-
238
- msgid "Input type"
239
- msgstr ""
240
-
241
- msgid "Fact name"
242
- msgstr ""
243
-
244
- msgid "Variable name"
245
- msgstr ""
246
-
247
- msgid "Puppet parameter name"
248
- msgstr ""
249
-
250
- msgid "Options"
251
- msgstr ""
252
-
253
- msgid "Template input created"
254
- msgstr ""
255
-
256
- msgid "Could not create the template input"
257
- msgstr ""
258
-
259
- msgid "Template input deleted"
260
- msgstr ""
261
-
262
- msgid "Could not delete the template input"
263
- msgstr ""