pdk 1.9.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +744 -711
  3. data/README.md +23 -21
  4. data/lib/pdk/answer_file.rb +3 -112
  5. data/lib/pdk/bolt.rb +20 -0
  6. data/lib/pdk/cli/build.rb +51 -54
  7. data/lib/pdk/cli/bundle.rb +33 -29
  8. data/lib/pdk/cli/console.rb +148 -0
  9. data/lib/pdk/cli/convert.rb +46 -37
  10. data/lib/pdk/cli/env.rb +51 -0
  11. data/lib/pdk/cli/errors.rb +4 -3
  12. data/lib/pdk/cli/exec/command.rb +285 -0
  13. data/lib/pdk/cli/exec/interactive_command.rb +109 -0
  14. data/lib/pdk/cli/exec.rb +32 -201
  15. data/lib/pdk/cli/exec_group.rb +79 -43
  16. data/lib/pdk/cli/get/config.rb +26 -0
  17. data/lib/pdk/cli/get.rb +22 -0
  18. data/lib/pdk/cli/new/class.rb +20 -22
  19. data/lib/pdk/cli/new/defined_type.rb +21 -21
  20. data/lib/pdk/cli/new/fact.rb +27 -0
  21. data/lib/pdk/cli/new/function.rb +27 -0
  22. data/lib/pdk/cli/new/module.rb +40 -29
  23. data/lib/pdk/cli/new/provider.rb +18 -18
  24. data/lib/pdk/cli/new/task.rb +23 -22
  25. data/lib/pdk/cli/new/test.rb +52 -0
  26. data/lib/pdk/cli/new/transport.rb +27 -0
  27. data/lib/pdk/cli/new.rb +15 -9
  28. data/lib/pdk/cli/release/prep.rb +39 -0
  29. data/lib/pdk/cli/release/publish.rb +46 -0
  30. data/lib/pdk/cli/release.rb +185 -0
  31. data/lib/pdk/cli/remove/config.rb +83 -0
  32. data/lib/pdk/cli/remove.rb +22 -0
  33. data/lib/pdk/cli/set/config.rb +121 -0
  34. data/lib/pdk/cli/set.rb +22 -0
  35. data/lib/pdk/cli/test/unit.rb +71 -69
  36. data/lib/pdk/cli/test.rb +9 -8
  37. data/lib/pdk/cli/update.rb +38 -21
  38. data/lib/pdk/cli/util/command_redirector.rb +13 -3
  39. data/lib/pdk/cli/util/interview.rb +25 -9
  40. data/lib/pdk/cli/util/option_normalizer.rb +6 -6
  41. data/lib/pdk/cli/util/option_validator.rb +19 -9
  42. data/lib/pdk/cli/util/spinner.rb +13 -0
  43. data/lib/pdk/cli/util/update_manager_printer.rb +82 -0
  44. data/lib/pdk/cli/util.rb +105 -48
  45. data/lib/pdk/cli/validate.rb +96 -111
  46. data/lib/pdk/cli.rb +134 -87
  47. data/lib/pdk/config/errors.rb +5 -0
  48. data/lib/pdk/config/ini_file.rb +184 -0
  49. data/lib/pdk/config/ini_file_setting.rb +35 -0
  50. data/lib/pdk/config/json.rb +35 -0
  51. data/lib/pdk/config/json_schema_namespace.rb +137 -0
  52. data/lib/pdk/config/json_schema_setting.rb +51 -0
  53. data/lib/pdk/config/json_with_schema.rb +47 -0
  54. data/lib/pdk/config/namespace.rb +362 -0
  55. data/lib/pdk/config/setting.rb +134 -0
  56. data/lib/pdk/config/task_schema.json +116 -0
  57. data/lib/pdk/config/validator.rb +31 -0
  58. data/lib/pdk/config/yaml.rb +41 -0
  59. data/lib/pdk/config/yaml_with_schema.rb +51 -0
  60. data/lib/pdk/config.rb +304 -0
  61. data/lib/pdk/context/control_repo.rb +61 -0
  62. data/lib/pdk/context/module.rb +28 -0
  63. data/lib/pdk/context/none.rb +22 -0
  64. data/lib/pdk/context.rb +98 -0
  65. data/lib/pdk/control_repo.rb +89 -0
  66. data/lib/pdk/generate/defined_type.rb +27 -33
  67. data/lib/pdk/generate/fact.rb +26 -0
  68. data/lib/pdk/generate/function.rb +49 -0
  69. data/lib/pdk/generate/module.rb +160 -153
  70. data/lib/pdk/generate/provider.rb +16 -69
  71. data/lib/pdk/generate/puppet_class.rb +27 -32
  72. data/lib/pdk/generate/puppet_object.rb +100 -159
  73. data/lib/pdk/generate/task.rb +34 -51
  74. data/lib/pdk/generate/transport.rb +34 -0
  75. data/lib/pdk/generate.rb +21 -8
  76. data/lib/pdk/logger.rb +24 -6
  77. data/lib/pdk/module/build.rb +125 -37
  78. data/lib/pdk/module/convert.rb +146 -65
  79. data/lib/pdk/module/metadata.rb +72 -71
  80. data/lib/pdk/module/release.rb +255 -0
  81. data/lib/pdk/module/update.rb +48 -37
  82. data/lib/pdk/module/update_manager.rb +75 -39
  83. data/lib/pdk/module.rb +10 -2
  84. data/lib/pdk/monkey_patches.rb +268 -0
  85. data/lib/pdk/report/event.rb +36 -48
  86. data/lib/pdk/report.rb +35 -22
  87. data/lib/pdk/template/fetcher/git.rb +84 -0
  88. data/lib/pdk/template/fetcher/local.rb +29 -0
  89. data/lib/pdk/template/fetcher.rb +100 -0
  90. data/lib/pdk/template/renderer/v1/legacy_template_dir.rb +108 -0
  91. data/lib/pdk/template/renderer/v1/renderer.rb +131 -0
  92. data/lib/pdk/template/renderer/v1/template_file.rb +100 -0
  93. data/lib/pdk/template/renderer/v1.rb +25 -0
  94. data/lib/pdk/template/renderer.rb +97 -0
  95. data/lib/pdk/template/template_dir.rb +67 -0
  96. data/lib/pdk/template.rb +52 -0
  97. data/lib/pdk/tests/unit.rb +101 -51
  98. data/lib/pdk/util/bundler.rb +44 -42
  99. data/lib/pdk/util/changelog_generator.rb +138 -0
  100. data/lib/pdk/util/env.rb +48 -0
  101. data/lib/pdk/util/filesystem.rb +139 -2
  102. data/lib/pdk/util/git.rb +108 -8
  103. data/lib/pdk/util/json_finder.rb +86 -0
  104. data/lib/pdk/util/puppet_strings.rb +125 -0
  105. data/lib/pdk/util/puppet_version.rb +71 -87
  106. data/lib/pdk/util/ruby_version.rb +49 -25
  107. data/lib/pdk/util/template_uri.rb +283 -0
  108. data/lib/pdk/util/vendored_file.rb +34 -42
  109. data/lib/pdk/util/version.rb +11 -10
  110. data/lib/pdk/util/windows/api_types.rb +74 -44
  111. data/lib/pdk/util/windows/file.rb +31 -27
  112. data/lib/pdk/util/windows/process.rb +74 -0
  113. data/lib/pdk/util/windows/string.rb +19 -12
  114. data/lib/pdk/util/windows.rb +2 -0
  115. data/lib/pdk/util.rb +111 -124
  116. data/lib/pdk/validate/control_repo/control_repo_validator_group.rb +23 -0
  117. data/lib/pdk/validate/control_repo/environment_conf_validator.rb +98 -0
  118. data/lib/pdk/validate/external_command_validator.rb +213 -0
  119. data/lib/pdk/validate/internal_ruby_validator.rb +101 -0
  120. data/lib/pdk/validate/invokable_validator.rb +238 -0
  121. data/lib/pdk/validate/metadata/metadata_json_lint_validator.rb +84 -0
  122. data/lib/pdk/validate/metadata/metadata_syntax_validator.rb +76 -0
  123. data/lib/pdk/validate/metadata/metadata_validator_group.rb +20 -0
  124. data/lib/pdk/validate/puppet/puppet_epp_validator.rb +131 -0
  125. data/lib/pdk/validate/puppet/puppet_lint_validator.rb +66 -0
  126. data/lib/pdk/validate/puppet/puppet_plan_syntax_validator.rb +38 -0
  127. data/lib/pdk/validate/puppet/puppet_syntax_validator.rb +135 -0
  128. data/lib/pdk/validate/puppet/puppet_validator_group.rb +22 -0
  129. data/lib/pdk/validate/ruby/ruby_rubocop_validator.rb +79 -0
  130. data/lib/pdk/validate/ruby/ruby_validator_group.rb +19 -0
  131. data/lib/pdk/validate/tasks/tasks_metadata_lint_validator.rb +83 -0
  132. data/lib/pdk/validate/tasks/tasks_name_validator.rb +45 -0
  133. data/lib/pdk/validate/tasks/tasks_validator_group.rb +20 -0
  134. data/lib/pdk/validate/validator.rb +120 -0
  135. data/lib/pdk/validate/validator_group.rb +107 -0
  136. data/lib/pdk/validate/yaml/yaml_syntax_validator.rb +86 -0
  137. data/lib/pdk/validate/yaml/yaml_validator_group.rb +19 -0
  138. data/lib/pdk/validate.rb +86 -12
  139. data/lib/pdk/version.rb +2 -2
  140. data/lib/pdk.rb +60 -10
  141. metadata +138 -100
  142. data/lib/pdk/cli/module/build.rb +0 -14
  143. data/lib/pdk/cli/module/generate.rb +0 -45
  144. data/lib/pdk/cli/module.rb +0 -14
  145. data/lib/pdk/i18n.rb +0 -4
  146. data/lib/pdk/module/templatedir.rb +0 -321
  147. data/lib/pdk/template_file.rb +0 -95
  148. data/lib/pdk/validate/base_validator.rb +0 -215
  149. data/lib/pdk/validate/metadata/metadata_json_lint.rb +0 -86
  150. data/lib/pdk/validate/metadata/metadata_syntax.rb +0 -109
  151. data/lib/pdk/validate/metadata_validator.rb +0 -30
  152. data/lib/pdk/validate/puppet/puppet_lint.rb +0 -67
  153. data/lib/pdk/validate/puppet/puppet_syntax.rb +0 -112
  154. data/lib/pdk/validate/puppet_validator.rb +0 -30
  155. data/lib/pdk/validate/ruby/rubocop.rb +0 -77
  156. data/lib/pdk/validate/ruby_validator.rb +0 -29
  157. data/lib/pdk/validate/tasks/metadata_lint.rb +0 -126
  158. data/lib/pdk/validate/tasks/name.rb +0 -88
  159. data/lib/pdk/validate/tasks_validator.rb +0 -33
  160. data/lib/pdk/validate/yaml/syntax.rb +0 -109
  161. data/lib/pdk/validate/yaml_validator.rb +0 -31
  162. data/locales/config.yaml +0 -21
  163. data/locales/pdk.pot +0 -1291
data/locales/pdk.pot DELETED
@@ -1,1291 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2019 Puppet, Inc.
3
- # This file is distributed under the same license as the puppet development kit package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2019.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: puppet development kit v1.8.0-22-g7b2950bc5f\n"
10
- "\n"
11
- "Report-Msgid-Bugs-To: docs@puppet.com\n"
12
- "POT-Creation-Date: 2019-01-25 16:10-0700\n"
13
- "PO-Revision-Date: 2019-01-25 16:10-0700\n"
14
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
- "Language-Team: LANGUAGE <LL@li.org>\n"
16
- "Language: \n"
17
- "MIME-Version: 1.0\n"
18
- "Content-Type: text/plain; charset=UTF-8\n"
19
- "Content-Transfer-Encoding: 8bit\n"
20
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
21
-
22
- #: ../lib/pdk/answer_file.rb:59
23
- msgid "Answer file can be updated only with a Hash"
24
- msgstr ""
25
-
26
- #: ../lib/pdk/answer_file.rb:86
27
- msgid "Unable to open '%{file}' for reading"
28
- msgstr ""
29
-
30
- #: ../lib/pdk/answer_file.rb:95
31
- msgid "Answer file '%{path}' did not contain a valid set of answers, recreating it"
32
- msgstr ""
33
-
34
- #: ../lib/pdk/answer_file.rb:101
35
- msgid "Answer file '%{path}' did not contain valid JSON, recreating it"
36
- msgstr ""
37
-
38
- #: ../lib/pdk/answer_file.rb:115
39
- msgid "Unable to write '%{file}': %{msg}"
40
- msgstr ""
41
-
42
- #: ../lib/pdk/cli.rb:42
43
- msgid "Specifies the URL to the template to use when creating new modules or classes. (default: %{default_url})"
44
- msgstr ""
45
-
46
- #: ../lib/pdk/cli.rb:48
47
- msgid "When specified, skips interactive querying of metadata."
48
- msgstr ""
49
-
50
- #: ../lib/pdk/cli.rb:52
51
- msgid "When specified, interactive querying of metadata will include all optional questions."
52
- msgstr ""
53
-
54
- #: ../lib/pdk/cli.rb:56
55
- msgid "Puppet version to run tests or validations against."
56
- msgstr ""
57
-
58
- #: ../lib/pdk/cli.rb:57
59
- msgid "Puppet Enterprise version to run tests or validations against."
60
- msgstr ""
61
-
62
- #: ../lib/pdk/cli.rb:63
63
- msgid "When specified, PDK will validate or test against the current Puppet source from github.com. To use this option, you must have network access to https://github.com."
64
- msgstr ""
65
-
66
- #: ../lib/pdk/cli.rb:68
67
- msgid "pdk command [options]"
68
- msgstr ""
69
-
70
- #: ../lib/pdk/cli.rb:69
71
- msgid "Puppet Development Kit"
72
- msgstr ""
73
-
74
- #: ../lib/pdk/cli.rb:70
75
- msgid "The shortest path to better modules."
76
- msgstr ""
77
-
78
- #: ../lib/pdk/cli.rb:73
79
- msgid "Show version of pdk."
80
- msgstr ""
81
-
82
- #: ../lib/pdk/cli.rb:78
83
- msgid "Show help for this command."
84
- msgstr ""
85
-
86
- #: ../lib/pdk/cli.rb:83
87
- msgid "Specify desired output format. Valid formats are '%{available_formats}'. You may also specify a file to which the formatted output is sent, for example: '--format=junit:report.xml'. This option may be specified multiple times if each option specifies a distinct target file."
88
- msgstr ""
89
-
90
- #: ../lib/pdk/cli.rb:94
91
- msgid "Enable debug output."
92
- msgstr ""
93
-
94
- #: ../lib/pdk/cli.rb:98
95
- msgid "Path to an answer file."
96
- msgstr ""
97
-
98
- #: ../lib/pdk/cli/build.rb:6
99
- msgid "build [options]"
100
- msgstr ""
101
-
102
- #: ../lib/pdk/cli/build.rb:7
103
- msgid "Builds a package from the module that can be published to the Puppet Forge."
104
- msgstr ""
105
-
106
- #: ../lib/pdk/cli/build.rb:10
107
- msgid "The target directory where you want PDK to write the package."
108
- msgstr ""
109
-
110
- #: ../lib/pdk/cli/build.rb:13
111
- msgid "Skips the prompts and builds the module package."
112
- msgstr ""
113
-
114
- #: ../lib/pdk/cli/build.rb:20
115
- msgid "`pdk build` can only be run from inside a valid module with a metadata.json."
116
- msgstr ""
117
-
118
- #: ../lib/pdk/cli/build.rb:31
119
- msgid "This module is missing required fields in the metadata.json. Re-run the build command without --force to add this information."
120
- msgstr ""
121
-
122
- #: ../lib/pdk/cli/build.rb:43
123
- msgid "The file '%{package}' already exists."
124
- msgstr ""
125
-
126
- #: ../lib/pdk/cli/build.rb:45
127
- msgid "Overwrite?"
128
- msgstr ""
129
-
130
- #: ../lib/pdk/cli/build.rb:46 ../lib/pdk/cli/build.rb:57
131
- msgid "Build cancelled; exiting."
132
- msgstr ""
133
-
134
- #: ../lib/pdk/cli/build.rb:52
135
- msgid "This module is not compatible with PDK, so PDK can not validate or test this build. Unvalidated modules may have errors when uploading to the Forge. To make this module PDK compatible and use validate features, cancel the build and run `pdk convert`."
136
- msgstr ""
137
-
138
- #: ../lib/pdk/cli/build.rb:56
139
- msgid "Continue build without converting?"
140
- msgstr ""
141
-
142
- #: ../lib/pdk/cli/build.rb:63
143
- msgid "Building %{module_name} version %{module_version}"
144
- msgstr ""
145
-
146
- #: ../lib/pdk/cli/build.rb:70
147
- msgid "Build of %{package_name} has completed successfully. Built package can be found here: %{package_path}"
148
- msgstr ""
149
-
150
- #: ../lib/pdk/cli/bundle.rb:5
151
- msgid "bundle [bundler_options]"
152
- msgstr ""
153
-
154
- #: ../lib/pdk/cli/bundle.rb:6
155
- msgid "(Experimental) Command pass-through to bundler"
156
- msgstr ""
157
-
158
- #: ../lib/pdk/cli/bundle.rb:7
159
- msgid ""
160
- "[experimental] For advanced users, pdk bundle runs arbitrary commands in the bundler environment that pdk manages.\n"
161
- "Careless use of this command can lead to errors that pdk can't help recover from.\n"
162
- "\n"
163
- "Note that for PowerShell the '--' needs to be escaped using a backtick: '`--' to avoid it being parsed by the shell.\n"
164
- msgstr ""
165
-
166
- #: ../lib/pdk/cli/bundle.rb:18
167
- msgid "`pdk bundle` can only be run from inside a valid module directory."
168
- msgstr ""
169
-
170
- #: ../lib/pdk/cli/convert.rb:6
171
- msgid "convert [options]"
172
- msgstr ""
173
-
174
- #: ../lib/pdk/cli/convert.rb:7
175
- msgid "Convert an existing module to be compatible with the PDK."
176
- msgstr ""
177
-
178
- #: ../lib/pdk/cli/convert.rb:12
179
- msgid "Do not convert the module, just output what would be done."
180
- msgstr ""
181
-
182
- #: ../lib/pdk/cli/convert.rb:13
183
- msgid "Convert the module automatically, with no prompts."
184
- msgstr ""
185
-
186
- #: ../lib/pdk/cli/convert.rb:20
187
- msgid "`pdk convert` can only be run from inside a valid module directory."
188
- msgstr ""
189
-
190
- #: ../lib/pdk/cli/convert.rb:25
191
- msgid "You can not specify --noop and --force when converting a module"
192
- msgstr ""
193
-
194
- #: ../lib/pdk/cli/convert.rb:29 ../lib/pdk/cli/new/module.rb:22
195
- msgid "Ignoring --full-interview and continuing with --skip-interview."
196
- msgstr ""
197
-
198
- #: ../lib/pdk/cli/convert.rb:34
199
- msgid "Ignoring --full-interview and continuing with --force."
200
- msgstr ""
201
-
202
- #: ../lib/pdk/cli/errors.rb:6
203
- msgid "An unexpected error has occurred. Try running the command again with --debug"
204
- msgstr ""
205
-
206
- #: ../lib/pdk/cli/exec.rb:23
207
- msgid "Unable to find `%{name}`. Check that it is installed and try again."
208
- msgstr ""
209
-
210
- #: ../lib/pdk/cli/exec.rb:45
211
- msgid "PDK package installation not found. Trying '%{fallback}' from the system PATH instead."
212
- msgstr ""
213
-
214
- #: ../lib/pdk/cli/exec.rb:54
215
- msgid "Could not find '%{vendored_bin}' in PDK package. Trying '%{fallback}' from the system PATH instead."
216
- msgstr ""
217
-
218
- #: ../lib/pdk/cli/exec.rb:61
219
- msgid "Using '%{vendored_bin}' from PDK package."
220
- msgstr ""
221
-
222
- #: ../lib/pdk/cli/exec.rb:98
223
- msgid "Expected execution context to be :system or :module but got '%{context}'."
224
- msgstr ""
225
-
226
- #: ../lib/pdk/cli/exec.rb:155
227
- msgid "Current working directory is not part of a module. (No metadata.json was found.)"
228
- msgstr ""
229
-
230
- #: ../lib/pdk/cli/exec.rb:210
231
- msgid "Executing '%{command}'"
232
- msgstr ""
233
-
234
- #: ../lib/pdk/cli/exec.rb:213
235
- msgid "Command environment:"
236
- msgstr ""
237
-
238
- #: ../lib/pdk/cli/exec.rb:224
239
- msgid "Failed to execute '%{command}': %{message}"
240
- msgstr ""
241
-
242
- #: ../lib/pdk/cli/exec.rb:240
243
- msgid "Execution of '%{command}' complete (duration: %{duration_in_seconds}s; exit code: %{exit_code})"
244
- msgstr ""
245
-
246
- #: ../lib/pdk/cli/module.rb:4
247
- msgid "module [options]"
248
- msgstr ""
249
-
250
- #: ../lib/pdk/cli/module.rb:5
251
- msgid "Provide CLI-backwards compatibility to the puppet module tool."
252
- msgstr ""
253
-
254
- #: ../lib/pdk/cli/module.rb:6
255
- msgid "This command is only for reminding you how to accomplish tasks with the PDK, when you were previously doing them with the puppet module command."
256
- msgstr ""
257
-
258
- #: ../lib/pdk/cli/module/build.rb:6
259
- msgid "build"
260
- msgstr ""
261
-
262
- #: ../lib/pdk/cli/module/build.rb:7
263
- msgid "This command is now 'pdk build'."
264
- msgstr ""
265
-
266
- #: ../lib/pdk/cli/module/build.rb:10
267
- msgid "Modules are built using the ‘pdk build’ command."
268
- msgstr ""
269
-
270
- #: ../lib/pdk/cli/module/generate.rb:6
271
- msgid "generate [options] <module_name>"
272
- msgstr ""
273
-
274
- #: ../lib/pdk/cli/module/generate.rb:7
275
- msgid "This command is now 'pdk new module'."
276
- msgstr ""
277
-
278
- #: ../lib/pdk/cli/module/generate.rb:22
279
- msgid "New modules are created using the ‘pdk new module’ command."
280
- msgstr ""
281
-
282
- #: ../lib/pdk/cli/module/generate.rb:38 ../lib/pdk/cli/new/module.rb:37
283
- msgid "Creating new module: %{modname}"
284
- msgstr ""
285
-
286
- #: ../lib/pdk/cli/new.rb:4
287
- msgid "new <thing> [options]"
288
- msgstr ""
289
-
290
- #: ../lib/pdk/cli/new.rb:5
291
- msgid "create a new module, etc."
292
- msgstr ""
293
-
294
- #: ../lib/pdk/cli/new.rb:6
295
- msgid "Creates a new <thing> using relevant options."
296
- msgstr ""
297
-
298
- #: ../lib/pdk/cli/new/class.rb:4
299
- msgid "class [options] <class_name>"
300
- msgstr ""
301
-
302
- #: ../lib/pdk/cli/new/class.rb:5
303
- msgid "Create a new class named <class_name> using given options"
304
- msgstr ""
305
-
306
- #: ../lib/pdk/cli/new/class.rb:13
307
- msgid "Classes can only be created from inside a valid module directory."
308
- msgstr ""
309
-
310
- #: ../lib/pdk/cli/new/class.rb:26
311
- msgid "'%{name}' is not a valid class name"
312
- msgstr ""
313
-
314
- #: ../lib/pdk/cli/new/defined_type.rb:4
315
- msgid "defined_type [options] <name>"
316
- msgstr ""
317
-
318
- #: ../lib/pdk/cli/new/defined_type.rb:5
319
- msgid "Create a new defined type named <name> using given options"
320
- msgstr ""
321
-
322
- #: ../lib/pdk/cli/new/defined_type.rb:11
323
- msgid "Defined types can only be created from inside a valid module directory."
324
- msgstr ""
325
-
326
- #: ../lib/pdk/cli/new/defined_type.rb:24
327
- msgid "'%{name}' is not a valid defined type name"
328
- msgstr ""
329
-
330
- #: ../lib/pdk/cli/new/module.rb:4
331
- msgid "module [options] [module_name] [target_dir]"
332
- msgstr ""
333
-
334
- #: ../lib/pdk/cli/new/module.rb:5
335
- msgid "Create a new module named [module_name] using given options"
336
- msgstr ""
337
-
338
- #: ../lib/pdk/cli/new/module.rb:11
339
- msgid "Specifies the license this module is written under. This should be a identifier from https://spdx.org/licenses/. Common values are 'Apache-2.0', 'MIT', or 'proprietary'."
340
- msgstr ""
341
-
342
- #: ../lib/pdk/cli/new/module.rb:13
343
- msgid "Do not automatically run `bundle install` after creating the module."
344
- msgstr ""
345
-
346
- #: ../lib/pdk/cli/new/provider.rb:4
347
- msgid "provider [options] <name>"
348
- msgstr ""
349
-
350
- #: ../lib/pdk/cli/new/provider.rb:5
351
- msgid "[experimental] Create a new ruby provider named <name> using given options"
352
- msgstr ""
353
-
354
- #: ../lib/pdk/cli/new/provider.rb:21
355
- msgid "'%{name}' is not a valid provider name"
356
- msgstr ""
357
-
358
- #: ../lib/pdk/cli/new/task.rb:4
359
- msgid "task [options] <name>"
360
- msgstr ""
361
-
362
- #: ../lib/pdk/cli/new/task.rb:5
363
- msgid "Create a new task named <name> using given options"
364
- msgstr ""
365
-
366
- #: ../lib/pdk/cli/new/task.rb:8
367
- msgid "A short description of the purpose of the task"
368
- msgstr ""
369
-
370
- #: ../lib/pdk/cli/new/task.rb:12
371
- msgid "Tasks can only be created from inside a valid module directory."
372
- msgstr ""
373
-
374
- #: ../lib/pdk/cli/new/task.rb:25
375
- msgid "'%{name}' is not a valid task name"
376
- msgstr ""
377
-
378
- #: ../lib/pdk/cli/test.rb:5
379
- msgid "test [subcommand] [options]"
380
- msgstr ""
381
-
382
- #: ../lib/pdk/cli/test.rb:6
383
- msgid "Run tests."
384
- msgstr ""
385
-
386
- #: ../lib/pdk/cli/test/unit.rb:7
387
- msgid "unit [options]"
388
- msgstr ""
389
-
390
- #: ../lib/pdk/cli/test/unit.rb:8
391
- msgid "Run unit tests."
392
- msgstr ""
393
-
394
- #: ../lib/pdk/cli/test/unit.rb:12
395
- msgid "List all available unit test files."
396
- msgstr ""
397
-
398
- #: ../lib/pdk/cli/test/unit.rb:13
399
- msgid "Run unit tests in parallel."
400
- msgstr ""
401
-
402
- #: ../lib/pdk/cli/test/unit.rb:14
403
- msgid "More verbose --list output. Displays a list of examples in each unit test file."
404
- msgstr ""
405
-
406
- #: ../lib/pdk/cli/test/unit.rb:15
407
- msgid "Clean up downloaded fixtures after the test run."
408
- msgstr ""
409
-
410
- #: ../lib/pdk/cli/test/unit.rb:17
411
- msgid "Specify a comma-separated list of unit test files to run."
412
- msgstr ""
413
-
414
- #: ../lib/pdk/cli/test/unit.rb:30
415
- msgid "Unit tests can only be run from inside a valid module directory."
416
- msgstr ""
417
-
418
- #: ../lib/pdk/cli/test/unit.rb:41
419
- msgid "No unit test files with examples were found."
420
- msgstr ""
421
-
422
- #: ../lib/pdk/cli/test/unit.rb:43
423
- msgid "Unit Test Files:"
424
- msgstr ""
425
-
426
- #: ../lib/pdk/cli/test/unit.rb:52
427
- msgid "\t%{id}\t%{description}"
428
- msgstr ""
429
-
430
- #: ../lib/pdk/cli/test/unit.rb:57
431
- msgid "--verbose has no effect when not used with --list"
432
- msgstr ""
433
-
434
- #: ../lib/pdk/cli/update.rb:7
435
- msgid "update [options]"
436
- msgstr ""
437
-
438
- #: ../lib/pdk/cli/update.rb:8
439
- msgid "Update a module that has been created by or converted for use by PDK."
440
- msgstr ""
441
-
442
- #: ../lib/pdk/cli/update.rb:10
443
- msgid "Do not update the module, just output what would be done."
444
- msgstr ""
445
-
446
- #: ../lib/pdk/cli/update.rb:11
447
- msgid "Update the module automatically, with no prompts."
448
- msgstr ""
449
-
450
- #: ../lib/pdk/cli/update.rb:17
451
- msgid "`pdk update` can only be run from inside a valid module directory."
452
- msgstr ""
453
-
454
- #: ../lib/pdk/cli/update.rb:21
455
- msgid "This module does not appear to be PDK compatible. To make the module compatible with PDK, run `pdk convert`."
456
- msgstr ""
457
-
458
- #: ../lib/pdk/cli/update.rb:24
459
- msgid "You can not specify --noop and --force when updating a module"
460
- msgstr ""
461
-
462
- #: ../lib/pdk/cli/util.rb:17
463
- msgid "This command must be run from inside a valid module (no metadata.json found)."
464
- msgstr ""
465
-
466
- #: ../lib/pdk/cli/util.rb:41
467
- msgid "Answer \"Y\" to continue or \"n\" to cancel."
468
- msgstr ""
469
-
470
- #: ../lib/pdk/cli/util.rb:65
471
- msgid "This module is not PDK compatible. Run `pdk convert` to make it compatible with your version of PDK."
472
- msgstr ""
473
-
474
- #: ../lib/pdk/cli/util.rb:71
475
- msgid "This module template is out of date. Run `pdk convert` to make it compatible with your version of PDK."
476
- msgstr ""
477
-
478
- #: ../lib/pdk/cli/util.rb:76
479
- msgid "This module is compatible with a newer version of PDK. Upgrade your version of PDK to ensure compatibility."
480
- msgstr ""
481
-
482
- #: ../lib/pdk/cli/util.rb:80
483
- msgid "This module is compatible with an older version of PDK. Run `pdk update` to update it to your version of PDK."
484
- msgstr ""
485
-
486
- #: ../lib/pdk/cli/util.rb:106
487
- msgid "Using Ruby %{version}"
488
- msgstr ""
489
-
490
- #: ../lib/pdk/cli/util.rb:116
491
- msgid "Using %{gem} %{version}"
492
- msgstr ""
493
-
494
- #: ../lib/pdk/cli/util.rb:146
495
- msgid "You cannot specify a %{first} and %{second} at the same time"
496
- msgstr ""
497
-
498
- #: ../lib/pdk/cli/util.rb:158
499
- msgid "You cannot specify a %{first} and %{second} at the same time."
500
- msgstr ""
501
-
502
- #: ../lib/pdk/cli/util/command_redirector.rb:18
503
- msgid "Did you mean '%{command}'?"
504
- msgstr ""
505
-
506
- #: ../lib/pdk/cli/util/interview.rb:30
507
- msgid "[Q %{current_number}/%{questions_total}]"
508
- msgstr ""
509
-
510
- #: ../lib/pdk/cli/util/interview.rb:34 ../lib/pdk/cli/util/interview.rb:43
511
- msgid "-->"
512
- msgstr ""
513
-
514
- #: ../lib/pdk/cli/util/option_normalizer.rb:6
515
- msgid "Error: expected comma separated list"
516
- msgstr ""
517
-
518
- #: ../lib/pdk/cli/util/option_normalizer.rb:32
519
- msgid "'%{name}' is not a valid report format (%{valid})"
520
- msgstr ""
521
-
522
- #: ../lib/pdk/cli/util/option_validator.rb:14
523
- msgid "Error: the following values are invalid: %{invalid_entries}"
524
- msgstr ""
525
-
526
- #: ../lib/pdk/cli/validate.rb:6
527
- msgid "validate [validators] [options] [targets]"
528
- msgstr ""
529
-
530
- #: ../lib/pdk/cli/validate.rb:7
531
- msgid "Run static analysis tests."
532
- msgstr ""
533
-
534
- #: ../lib/pdk/cli/validate.rb:8
535
- msgid ""
536
- "Run metadata, YAML, Puppet, Ruby, or Tasks validation.\n"
537
- "\n"
538
- "[validators] is an optional comma-separated list of validators to use. If not specified, all validators are used. Note that when using PowerShell, the list of validators must be enclosed in single quotes.\n"
539
- "\n"
540
- "[targets] is an optional space-separated list of files or directories to be validated. If not specified, validators are run against all applicable files in the module."
541
- msgstr ""
542
-
543
- #: ../lib/pdk/cli/validate.rb:19
544
- msgid "List all available validators."
545
- msgstr ""
546
-
547
- #: ../lib/pdk/cli/validate.rb:20
548
- msgid "Automatically correct problems where possible."
549
- msgstr ""
550
-
551
- #: ../lib/pdk/cli/validate.rb:21
552
- msgid "Run validations in parallel."
553
- msgstr ""
554
-
555
- #: ../lib/pdk/cli/validate.rb:34
556
- msgid "Available validators: %{validator_names}"
557
- msgstr ""
558
-
559
- #: ../lib/pdk/cli/validate.rb:41
560
- msgid "Code validation can only be run from inside a valid module directory"
561
- msgstr ""
562
-
563
- #: ../lib/pdk/cli/validate.rb:57
564
- msgid "Unknown validator '%{v}'. Available validators: %{validators}."
565
- msgstr ""
566
-
567
- #: ../lib/pdk/cli/validate.rb:67 ../lib/pdk/cli/validate.rb:71
568
- msgid "Running all available validators..."
569
- msgstr ""
570
-
571
- #: ../lib/pdk/cli/validate.rb:101
572
- msgid "Validating module using %{num_of_threads} threads"
573
- msgstr ""
574
-
575
- #: ../lib/pdk/generate/module.rb:24
576
- msgid ""
577
- "'%{module_name}' is not a valid module name.\n"
578
- "Module names must begin with a lowercase letter and can only include lowercase letters, digits, and underscores."
579
- msgstr ""
580
-
581
- #: ../lib/pdk/generate/module.rb:32
582
- msgid "The destination directory '%{dir}' already exists"
583
- msgstr ""
584
-
585
- #: ../lib/pdk/generate/module.rb:48
586
- msgid "You do not have permission to write to '%{parent_dir}'"
587
- msgstr ""
588
-
589
- #: ../lib/pdk/generate/module.rb:91
590
- msgid "Module '%{name}' generated at path '%{path}', from template '%{template_url}'."
591
- msgstr ""
592
-
593
- #: ../lib/pdk/generate/module.rb:92
594
- msgid "In your module directory, add classes with the 'pdk new class' command."
595
- msgstr ""
596
-
597
- #: ../lib/pdk/generate/module.rb:95
598
- msgid "Failed to move '%{source}' to '%{target}': %{message}"
599
- msgstr ""
600
-
601
- #: ../lib/pdk/generate/module.rb:109
602
- msgid "Your username is not a valid Forge username. Proceeding with the username %{username}. You can fix this later in metadata.json."
603
- msgstr ""
604
-
605
- #: ../lib/pdk/generate/module.rb:144
606
- msgid "Unable to create directory '%{dir}': %{message}"
607
- msgstr ""
608
-
609
- #: ../lib/pdk/generate/module.rb:156
610
- msgid "If you have a name for your module, add it here."
611
- msgstr ""
612
-
613
- #: ../lib/pdk/generate/module.rb:157
614
- msgid "This is the name that will be associated with your module, it should be relevant to the modules content."
615
- msgstr ""
616
-
617
- #: ../lib/pdk/generate/module.rb:160
618
- msgid "Module names must begin with a lowercase letter and can only include lowercase letters, numbers, and underscores."
619
- msgstr ""
620
-
621
- #: ../lib/pdk/generate/module.rb:164
622
- msgid "If you have a Puppet Forge username, add it here."
623
- msgstr ""
624
-
625
- #: ../lib/pdk/generate/module.rb:165
626
- msgid "We can use this to upload your module to the Forge when it's complete."
627
- msgstr ""
628
-
629
- #: ../lib/pdk/generate/module.rb:168
630
- msgid "Forge usernames can only contain lowercase letters and numbers"
631
- msgstr ""
632
-
633
- #: ../lib/pdk/generate/module.rb:173
634
- msgid "What version is this module?"
635
- msgstr ""
636
-
637
- #: ../lib/pdk/generate/module.rb:174
638
- msgid "Puppet uses Semantic Versioning (semver.org) to version modules."
639
- msgstr ""
640
-
641
- #: ../lib/pdk/generate/module.rb:177
642
- msgid "Semantic Version numbers must be in the form MAJOR.MINOR.PATCH"
643
- msgstr ""
644
-
645
- #: ../lib/pdk/generate/module.rb:183
646
- msgid "Who wrote this module?"
647
- msgstr ""
648
-
649
- #: ../lib/pdk/generate/module.rb:184
650
- msgid "This is used to credit the module's author."
651
- msgstr ""
652
-
653
- #: ../lib/pdk/generate/module.rb:190
654
- msgid "What license does this module code fall under?"
655
- msgstr ""
656
-
657
- #: ../lib/pdk/generate/module.rb:191
658
- msgid "This should be an identifier from https://spdx.org/licenses/. Common values are \"Apache-2.0\", \"MIT\", or \"proprietary\"."
659
- msgstr ""
660
-
661
- #: ../lib/pdk/generate/module.rb:197
662
- msgid "What operating systems does this module support?"
663
- msgstr ""
664
-
665
- #: ../lib/pdk/generate/module.rb:198
666
- msgid "Use the up and down keys to move between the choices, space to select and enter to continue."
667
- msgstr ""
668
-
669
- #: ../lib/pdk/generate/module.rb:208
670
- msgid "Summarize the purpose of this module in a single sentence."
671
- msgstr ""
672
-
673
- #: ../lib/pdk/generate/module.rb:209
674
- msgid "This helps other Puppet users understand what the module does."
675
- msgstr ""
676
-
677
- #: ../lib/pdk/generate/module.rb:216
678
- msgid "If there is a source code repository for this module, enter the URL here."
679
- msgstr ""
680
-
681
- #: ../lib/pdk/generate/module.rb:217
682
- msgid "Skip this if no repository exists yet. You can update this later in the metadata.json."
683
- msgstr ""
684
-
685
- #: ../lib/pdk/generate/module.rb:224
686
- msgid "If there is a URL where others can learn more about this module, enter it here."
687
- msgstr ""
688
-
689
- #: ../lib/pdk/generate/module.rb:225 ../lib/pdk/generate/module.rb:232
690
- msgid "Optional. You can update this later in the metadata.json."
691
- msgstr ""
692
-
693
- #: ../lib/pdk/generate/module.rb:231
694
- msgid "If there is a public issue tracker for this module, enter its URL here."
695
- msgstr ""
696
-
697
- #: ../lib/pdk/generate/module.rb:258
698
- msgid "create"
699
- msgstr ""
700
-
701
- #: ../lib/pdk/generate/module.rb:258
702
- msgid "update"
703
- msgstr ""
704
-
705
- #: ../lib/pdk/generate/module.rb:259
706
- msgid ""
707
- "\n"
708
- "We need to %{action} the metadata.json file for this module, so we\\'re going to ask you %{count} questions.\n"
709
- "If the question is not applicable to this module, accept the default option shown after each question. You can modify any answers at any time by manually updating the metadata.json file.\n"
710
- "\n"
711
- msgstr ""
712
-
713
- #: ../lib/pdk/generate/module.rb:273
714
- msgid "No answers given, interview cancelled."
715
- msgstr ""
716
-
717
- #: ../lib/pdk/generate/module.rb:297
718
- msgid "Metadata will be generated based on this information, continue?"
719
- msgstr ""
720
-
721
- #: ../lib/pdk/generate/module.rb:299
722
- msgid "Interview cancelled; exiting."
723
- msgstr ""
724
-
725
- #: ../lib/pdk/generate/module.rb:303
726
- msgid "Process cancelled; exiting."
727
- msgstr ""
728
-
729
- #: ../lib/pdk/generate/provider.rb:23
730
- msgid "%{error}: Creating a provider needs some local configuration in your module. Please follow the docs at https://github.com/puppetlabs/puppet-resource_api#getting-started."
731
- msgstr ""
732
-
733
- #: ../lib/pdk/generate/provider.rb:33
734
- msgid ".sync.yml not found"
735
- msgstr ""
736
-
737
- #: ../lib/pdk/generate/provider.rb:37
738
- msgid ".sync.yml contents is not a Hash"
739
- msgstr ""
740
-
741
- #: ../lib/pdk/generate/provider.rb:39
742
- msgid "Gemfile configuration not found"
743
- msgstr ""
744
-
745
- #: ../lib/pdk/generate/provider.rb:41
746
- msgid "Gemfile.optional configuration not found"
747
- msgstr ""
748
-
749
- #: ../lib/pdk/generate/provider.rb:43
750
- msgid "Gemfile.optional.:development configuration not found"
751
- msgstr ""
752
-
753
- #: ../lib/pdk/generate/provider.rb:45
754
- msgid "puppet-resource_api not found in the Gemfile config"
755
- msgstr ""
756
-
757
- #: ../lib/pdk/generate/provider.rb:47
758
- msgid "spec/spec_helper.rb configuration not found"
759
- msgstr ""
760
-
761
- #: ../lib/pdk/generate/provider.rb:49
762
- msgid "spec/spec_helper.rb.mock_with configuration not found"
763
- msgstr ""
764
-
765
- #: ../lib/pdk/generate/provider.rb:51
766
- msgid "spec/spec_helper.rb.mock_with not set to ':rspec'"
767
- msgstr ""
768
-
769
- #: ../lib/pdk/generate/puppet_object.rb:105
770
- msgid "Unable to generate %{object_type}; '%{file}' already exists."
771
- msgstr ""
772
-
773
- #: ../lib/pdk/generate/puppet_object.rb:171
774
- msgid "Creating '%{file}' from template."
775
- msgstr ""
776
-
777
- #: ../lib/pdk/generate/puppet_object.rb:178
778
- msgid "Unable to create directory '%{path}': %{message}"
779
- msgstr ""
780
-
781
- #: ../lib/pdk/generate/puppet_object.rb:186
782
- msgid "Unable to write to file '%{path}': %{message}"
783
- msgstr ""
784
-
785
- #: ../lib/pdk/generate/puppet_object.rb:209
786
- msgid "No %{dir_type} template specified; trying next template directory."
787
- msgstr ""
788
-
789
- #: ../lib/pdk/generate/puppet_object.rb:222
790
- msgid "Unable to find a %{type} template in %{url}; trying next template directory."
791
- msgstr ""
792
-
793
- #: ../lib/pdk/generate/puppet_object.rb:224
794
- msgid "Unable to find the %{type} template in %{url}."
795
- msgstr ""
796
-
797
- #: ../lib/pdk/generate/puppet_object.rb:283
798
- msgid "'%{dir}' does not contain valid Puppet module metadata: %{msg}"
799
- msgstr ""
800
-
801
- #: ../lib/pdk/generate/task.rb:54
802
- msgid "A task named '%{name}' already exists in this module; defined in %{file}"
803
- msgstr ""
804
-
805
- #: ../lib/pdk/module/build.rb:149
806
- msgid "Symlinks in modules are not supported and will not be included in the package. Please investigate symlink %{from} -> %{to}."
807
- msgstr ""
808
-
809
- #: ../lib/pdk/module/convert.rb:23 ../lib/pdk/module/update.rb:18
810
- msgid "No changes required."
811
- msgstr ""
812
-
813
- #: ../lib/pdk/module/convert.rb:34
814
- msgid "Module conversion is a potentially destructive action. Ensure that you have committed your module to a version control system or have a backup, and review the changes above before continuing."
815
- msgstr ""
816
-
817
- #: ../lib/pdk/module/convert.rb:39 ../lib/pdk/module/update.rb:30
818
- msgid "Do you want to continue and make these changes to your module?"
819
- msgstr ""
820
-
821
- #: ../lib/pdk/module/convert.rb:85
822
- msgid "skipping '%{path}'"
823
- msgstr ""
824
-
825
- #: ../lib/pdk/module/convert.rb:112
826
- msgid "Unable to update module metadata; %{path} exists but it is not readable."
827
- msgstr ""
828
-
829
- #: ../lib/pdk/module/convert.rb:128
830
- msgid "Unable to update module metadata; %{path} exists but it is not a file."
831
- msgstr ""
832
-
833
- #: ../lib/pdk/module/convert.rb:171 ../lib/pdk/module/convert.rb:176 ../lib/pdk/module/convert.rb:180
834
- msgid ""
835
- "\n"
836
- "%{banner}"
837
- msgstr ""
838
-
839
- #: ../lib/pdk/module/convert.rb:182
840
- msgid ""
841
- "\n"
842
- "%{summary}\n"
843
- "\n"
844
- msgstr ""
845
-
846
- #: ../lib/pdk/module/convert.rb:193
847
- msgid ""
848
- "\n"
849
- "You can find a report of differences in %{path}.\n"
850
- "\n"
851
- msgstr ""
852
-
853
- #: ../lib/pdk/module/metadata.rb:94
854
- msgid "Cannot read metadata from file: no path to file was given."
855
- msgstr ""
856
-
857
- #: ../lib/pdk/module/metadata.rb:98
858
- msgid "'%{file}' does not exist or is not a file."
859
- msgstr ""
860
-
861
- #: ../lib/pdk/module/metadata.rb:102
862
- msgid "Unable to open '%{file}' for reading."
863
- msgstr ""
864
-
865
- #: ../lib/pdk/module/metadata.rb:108
866
- msgid "Invalid JSON in metadata.json: %{msg}"
867
- msgstr ""
868
-
869
- #: ../lib/pdk/module/metadata.rb:139
870
- msgid "Module metadata does not contain any requirements."
871
- msgstr ""
872
-
873
- #: ../lib/pdk/module/metadata.rb:140
874
- msgid "Module metadata does not contain a \"puppet\" requirement."
875
- msgstr ""
876
-
877
- #: ../lib/pdk/module/metadata.rb:141
878
- msgid "The \"puppet\" requirement in module metadata does not specify a \"version_requirement\"."
879
- msgstr ""
880
-
881
- #: ../lib/pdk/module/metadata.rb:180
882
- msgid "Field must be a dash-separated user name and module name."
883
- msgstr ""
884
-
885
- #: ../lib/pdk/module/metadata.rb:182
886
- msgid "Module name must contain only alphanumeric or underscore characters."
887
- msgstr ""
888
-
889
- #: ../lib/pdk/module/metadata.rb:184
890
- msgid "Module name must begin with a letter."
891
- msgstr ""
892
-
893
- #: ../lib/pdk/module/metadata.rb:186
894
- msgid "Namespace must contain only alphanumeric characters."
895
- msgstr ""
896
-
897
- #: ../lib/pdk/module/metadata.rb:189
898
- msgid "Invalid 'name' field in metadata.json: %{err}"
899
- msgstr ""
900
-
901
- #: ../lib/pdk/module/templatedir.rb:42
902
- msgid "%{class_name} must be initialized with a block."
903
- msgstr ""
904
-
905
- #: ../lib/pdk/module/templatedir.rb:109
906
- msgid "Rendering '%{template}'..."
907
- msgstr ""
908
-
909
- #: ../lib/pdk/module/templatedir.rb:122
910
- msgid ""
911
- "Failed to render template '%{template}'\n"
912
- "%{exception}: %{message}"
913
- msgstr ""
914
-
915
- #: ../lib/pdk/module/templatedir.rb:191
916
- msgid "The built-in template has substantially changed. Please run \"pdk convert\" on your module to continue."
917
- msgstr ""
918
-
919
- #: ../lib/pdk/module/templatedir.rb:193
920
- msgid "The specified template '%{path}' is not a directory."
921
- msgstr ""
922
-
923
- #: ../lib/pdk/module/templatedir.rb:198
924
- msgid "The template at '%{path}' does not contain a 'moduleroot/' directory."
925
- msgstr ""
926
-
927
- #: ../lib/pdk/module/templatedir.rb:203
928
- msgid "The template at '%{path}' does not contain a 'moduleroot_init/' directory, which indicates you are using an older style of template. Before continuing please use the --template-url flag when running the pdk new commands to pass a new style template."
929
- msgstr ""
930
-
931
- #: ../lib/pdk/module/templatedir.rb:218
932
- msgid "The directory '%{dir}' doesn't exist"
933
- msgstr ""
934
-
935
- #: ../lib/pdk/module/templatedir.rb:273
936
- msgid "'%{file}' is not a valid YAML file: %{problem} %{context} at line %{line} column %{column}"
937
- msgstr ""
938
-
939
- #: ../lib/pdk/module/templatedir.rb:308
940
- msgid "Unable to set HEAD of git repository at '%{repo}' to ref:'%{ref}'."
941
- msgstr ""
942
-
943
- #: ../lib/pdk/module/templatedir.rb:314
944
- msgid "Unable to clone git repository at '%{repo}' into '%{dest}'."
945
- msgstr ""
946
-
947
- #: ../lib/pdk/module/update.rb:12
948
- msgid "This module is already up to date with version %{version} of the template."
949
- msgstr ""
950
-
951
- #: ../lib/pdk/module/update.rb:97
952
- msgid "Updating %{module_name} using the default template, from %{current_version} to %{new_version}"
953
- msgstr ""
954
-
955
- #: ../lib/pdk/module/update.rb:99
956
- msgid "Updating %{module_name} using the template at %{template_url}, from %{current_version} to %{new_version}"
957
- msgstr ""
958
-
959
- #: ../lib/pdk/module/update_manager.rb:110
960
- msgid "unlinking '%{path}'"
961
- msgstr ""
962
-
963
- #: ../lib/pdk/module/update_manager.rb:113
964
- msgid "'%{path}': already gone"
965
- msgstr ""
966
-
967
- #: ../lib/pdk/module/update_manager.rb:116
968
- msgid "Unable to remove '%{path}': %{message}"
969
- msgstr ""
970
-
971
- #: ../lib/pdk/module/update_manager.rb:134
972
- msgid "Unable to open '%{path}' for reading"
973
- msgstr ""
974
-
975
- #: ../lib/pdk/module/update_manager.rb:151
976
- msgid "writing '%{path}'"
977
- msgstr ""
978
-
979
- #: ../lib/pdk/module/update_manager.rb:154
980
- msgid "You do not have permission to write to '%{path}'"
981
- msgstr ""
982
-
983
- #: ../lib/pdk/report/event.rb:191
984
- msgid "File not specified."
985
- msgstr ""
986
-
987
- #: ../lib/pdk/report/event.rb:195
988
- msgid "File must be a String."
989
- msgstr ""
990
-
991
- #: ../lib/pdk/report/event.rb:228
992
- msgid "State not specified."
993
- msgstr ""
994
-
995
- #: ../lib/pdk/report/event.rb:233
996
- msgid "State must be a Symbol, not %{type}"
997
- msgstr ""
998
-
999
- #: ../lib/pdk/report/event.rb:238
1000
- msgid "Invalid state %{state}. Valid states are: %{valid}."
1001
- msgstr ""
1002
-
1003
- #: ../lib/pdk/report/event.rb:257
1004
- msgid "Source not specified."
1005
- msgstr ""
1006
-
1007
- #: ../lib/pdk/report/event.rb:278
1008
- msgid "Line must be an Integer or a String representation of an Integer."
1009
- msgstr ""
1010
-
1011
- #: ../lib/pdk/report/event.rb:282
1012
- msgid "The line number can contain only the digits 0-9."
1013
- msgstr ""
1014
-
1015
- #: ../lib/pdk/report/event.rb:303
1016
- msgid "Column must be an Integer or a String representation of an Integer."
1017
- msgstr ""
1018
-
1019
- #: ../lib/pdk/report/event.rb:307
1020
- msgid "The column number can contain only the digits 0-9."
1021
- msgstr ""
1022
-
1023
- #: ../lib/pdk/report/event.rb:325
1024
- msgid "Trace must be an Array of stack trace lines."
1025
- msgstr ""
1026
-
1027
- #: ../lib/pdk/template_file.rb:68
1028
- msgid "'%{template}' is not a readable file"
1029
- msgstr ""
1030
-
1031
- #: ../lib/pdk/tests/unit.rb:47
1032
- msgid "Cleaning up after running unit tests."
1033
- msgstr ""
1034
-
1035
- #: ../lib/pdk/tests/unit.rb:51
1036
- msgid "The spec_clean rake task failed with the following error(s):"
1037
- msgstr ""
1038
-
1039
- #: ../lib/pdk/tests/unit.rb:52
1040
- msgid "Failed to clean up after running unit tests"
1041
- msgstr ""
1042
-
1043
- #: ../lib/pdk/tests/unit.rb:56
1044
- msgid "Preparing to run the unit tests."
1045
- msgstr ""
1046
-
1047
- #: ../lib/pdk/tests/unit.rb:62
1048
- msgid "The spec_prep rake task failed with the following error(s):"
1049
- msgstr ""
1050
-
1051
- #: ../lib/pdk/tests/unit.rb:63
1052
- msgid "Failed to prepare to run the unit tests."
1053
- msgstr ""
1054
-
1055
- #: ../lib/pdk/tests/unit.rb:75
1056
- msgid "Running unit tests."
1057
- msgstr ""
1058
-
1059
- #: ../lib/pdk/tests/unit.rb:75
1060
- msgid "Running unit tests in parallel."
1061
- msgstr ""
1062
-
1063
- #: ../lib/pdk/tests/unit.rb:89
1064
- msgid "Unit test output did not contain a valid JSON result: %{output}"
1065
- msgstr ""
1066
-
1067
- #: ../lib/pdk/tests/unit.rb:141
1068
- msgid "Evaluated %{total} tests in %{duration} seconds: %{failures} failures, %{pending} pending."
1069
- msgstr ""
1070
-
1071
- #: ../lib/pdk/tests/unit.rb:197
1072
- msgid "Failed to find valid JSON in output from rspec: %{output}"
1073
- msgstr ""
1074
-
1075
- #: ../lib/pdk/tests/unit.rb:202
1076
- msgid "Unable to enumerate examples. rspec reported: %{message}"
1077
- msgstr ""
1078
-
1079
- #: ../lib/pdk/util.rb:60
1080
- msgid "Cannot resolve a full path to '%{path}', as it does not currently exist."
1081
- msgstr ""
1082
-
1083
- #: ../lib/pdk/util.rb:85
1084
- msgid "Package basedir requested for non-package install."
1085
- msgstr ""
1086
-
1087
- #: ../lib/pdk/util.rb:222
1088
- msgid "Unable to access the previously used template '%{template}', using the default template instead."
1089
- msgstr ""
1090
-
1091
- #: ../lib/pdk/util/bundler.rb:19
1092
- msgid "Bundler managed gems already up to date."
1093
- msgstr ""
1094
-
1095
- #: ../lib/pdk/util/bundler.rb:24
1096
- msgid "No Gemfile found in '%{cwd}'. Skipping bundler management."
1097
- msgstr ""
1098
-
1099
- #: ../lib/pdk/util/bundler.rb:97
1100
- msgid "Checking for missing Gemfile dependencies."
1101
- msgstr ""
1102
-
1103
- #: ../lib/pdk/util/bundler.rb:126
1104
- msgid "Vendored Gemfile.lock (%{source}) not found."
1105
- msgstr ""
1106
-
1107
- #: ../lib/pdk/util/bundler.rb:131
1108
- msgid "Using vendored Gemfile.lock from %{source}."
1109
- msgstr ""
1110
-
1111
- #: ../lib/pdk/util/bundler.rb:137
1112
- msgid "Resolving default Gemfile dependencies."
1113
- msgstr ""
1114
-
1115
- #: ../lib/pdk/util/bundler.rb:144
1116
- msgid "Unable to resolve default Gemfile dependencies."
1117
- msgstr ""
1118
-
1119
- #: ../lib/pdk/util/bundler.rb:157
1120
- msgid "Updating Gemfile dependencies."
1121
- msgstr ""
1122
-
1123
- #: ../lib/pdk/util/bundler.rb:185
1124
- msgid "Unable to resolve Gemfile dependencies."
1125
- msgstr ""
1126
-
1127
- #: ../lib/pdk/util/bundler.rb:196
1128
- msgid "Installing missing Gemfile dependencies."
1129
- msgstr ""
1130
-
1131
- #: ../lib/pdk/util/bundler.rb:204
1132
- msgid "Unable to install missing Gemfile dependencies."
1133
- msgstr ""
1134
-
1135
- #: ../lib/pdk/util/bundler.rb:218
1136
- msgid ""
1137
- "Failed to generate binstubs for '%{gems}':\n"
1138
- "%{output}"
1139
- msgstr ""
1140
-
1141
- #: ../lib/pdk/util/bundler.rb:219
1142
- msgid "Unable to install requested binstubs."
1143
- msgstr ""
1144
-
1145
- #: ../lib/pdk/util/git.rb:64
1146
- msgid "Unable to access the template repository \"%{repository}\""
1147
- msgstr ""
1148
-
1149
- #: ../lib/pdk/util/puppet_version.rb:38
1150
- msgid "Unable to find a Puppet gem in current Ruby environment or from Rubygems.org."
1151
- msgstr ""
1152
-
1153
- #: ../lib/pdk/util/puppet_version.rb:59
1154
- msgid "Unable to clone git repository at '%{repo}'."
1155
- msgstr ""
1156
-
1157
- #: ../lib/pdk/util/puppet_version.rb:68
1158
- msgid "Unable to fetch from git remote at '%{repo}'."
1159
- msgstr ""
1160
-
1161
- #: ../lib/pdk/util/puppet_version.rb:77
1162
- msgid "Unable to update git repository at '%{cachedir}'."
1163
- msgstr ""
1164
-
1165
- #: ../lib/pdk/util/puppet_version.rb:98
1166
- msgid "Unable to find a Puppet gem matching %{requirement}."
1167
- msgstr ""
1168
-
1169
- #: ../lib/pdk/util/puppet_version.rb:105
1170
- msgid "Puppet %{requested_version} is not available, activating %{found_version} instead."
1171
- msgstr ""
1172
-
1173
- #: ../lib/pdk/util/puppet_version.rb:122
1174
- msgid "Unable to map Puppet Enterprise version %{pe_version} to a Puppet version."
1175
- msgstr ""
1176
-
1177
- #: ../lib/pdk/util/puppet_version.rb:127
1178
- msgid "Puppet Enterprise %{pe_version} maps to Puppet %{puppet_version}."
1179
- msgstr ""
1180
-
1181
- #: ../lib/pdk/util/puppet_version.rb:140
1182
- msgid "Unable to determine Puppet version for module: no metadata.json present in module."
1183
- msgstr ""
1184
-
1185
- #: ../lib/pdk/util/puppet_version.rb:166
1186
- msgid "%{version} is not a valid version number."
1187
- msgstr ""
1188
-
1189
- #: ../lib/pdk/util/puppet_version.rb:200
1190
- msgid "Failed to parse Puppet Enterprise version map file."
1191
- msgstr ""
1192
-
1193
- #: ../lib/pdk/util/ruby_version.rb:33
1194
- msgid "Unknown Ruby version \"%{ruby_version}\""
1195
- msgstr ""
1196
-
1197
- #: ../lib/pdk/util/vendored_file.rb:49
1198
- msgid "%{file_name} was not found in the cache, downloading it from %{url}."
1199
- msgstr ""
1200
-
1201
- #: ../lib/pdk/util/vendored_file.rb:64
1202
- msgid "Unable to download %{url}. %{code}: %{message}."
1203
- msgstr ""
1204
-
1205
- #: ../lib/pdk/util/vendored_file.rb:73
1206
- msgid "Unable to download %{url}. Check internet connectivity and try again. %{error}"
1207
- msgstr ""
1208
-
1209
- #: ../lib/pdk/util/windows/api_types.rb:31
1210
- msgid "Unable to convert value %{string} to encoding %{encoding} due to %{error}"
1211
- msgstr ""
1212
-
1213
- #: ../lib/pdk/util/windows/file.rb:15
1214
- msgid "Failed to call GetLongPathName"
1215
- msgstr ""
1216
-
1217
- #: ../lib/pdk/validate/base_validator.rb:108
1218
- msgid "Invoking %{cmd}"
1219
- msgstr ""
1220
-
1221
- #: ../lib/pdk/validate/base_validator.rb:113
1222
- msgid "%{validator}: Skipped '%{target}'. Target does not contain any files to validate (%{pattern})."
1223
- msgstr ""
1224
-
1225
- #: ../lib/pdk/validate/base_validator.rb:117
1226
- msgid "Target does not contain any files to validate (%{pattern})."
1227
- msgstr ""
1228
-
1229
- #: ../lib/pdk/validate/base_validator.rb:126
1230
- msgid "%{validator}: Skipped '%{target}'. Target file not found."
1231
- msgstr ""
1232
-
1233
- #: ../lib/pdk/validate/base_validator.rb:130
1234
- msgid "File does not exist."
1235
- msgstr ""
1236
-
1237
- #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:23
1238
- msgid "Checking module metadata style (%{targets})."
1239
- msgstr ""
1240
-
1241
- #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:40
1242
- msgid "More than 1 target provided to PDK::Validate::MetadataJSONLint."
1243
- msgstr ""
1244
-
1245
- #: ../lib/pdk/validate/metadata/metadata_syntax.rb:18
1246
- msgid "Checking metadata syntax (%{targets})."
1247
- msgstr ""
1248
-
1249
- #: ../lib/pdk/validate/metadata/metadata_syntax.rb:69 ../lib/pdk/validate/tasks/metadata_lint.rb:77 ../lib/pdk/validate/yaml/syntax.rb:71
1250
- msgid "Could not be read."
1251
- msgstr ""
1252
-
1253
- #: ../lib/pdk/validate/puppet/puppet_lint.rb:22
1254
- msgid "Checking Puppet manifest style (%{pattern})."
1255
- msgstr ""
1256
-
1257
- #: ../lib/pdk/validate/puppet/puppet_syntax.rb:45
1258
- msgid "Checking Puppet manifest syntax (%{pattern})."
1259
- msgstr ""
1260
-
1261
- #: ../lib/pdk/validate/ruby/rubocop.rb:26
1262
- msgid "Checking Ruby code style (%{pattern})."
1263
- msgstr ""
1264
-
1265
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:23
1266
- msgid "Checking task metadata style (%{targets})."
1267
- msgstr ""
1268
-
1269
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:56
1270
- msgid "Failed to parse Task Metadata Schema file."
1271
- msgstr ""
1272
-
1273
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:92
1274
- msgid "Unable to validate Task Metadata. %{error}."
1275
- msgstr ""
1276
-
1277
- #: ../lib/pdk/validate/tasks/name.rb:9
1278
- msgid "Invalid task name. Task names must start with a lowercase letterand can only contain lowercase letters, numbers, and underscores."
1279
- msgstr ""
1280
-
1281
- #: ../lib/pdk/validate/tasks/name.rb:23
1282
- msgid "Checking task names (%{targets})."
1283
- msgstr ""
1284
-
1285
- #: ../lib/pdk/validate/yaml/syntax.rb:27
1286
- msgid "Checking YAML syntax (%{targets})."
1287
- msgstr ""
1288
-
1289
- #: ../lib/pdk/validate/yaml/syntax.rb:94
1290
- msgid "%{problem} %{context}"
1291
- msgstr ""