pdk-akerl 1.9.1.1 → 1.14.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +180 -0
  3. data/README.md +43 -4
  4. data/lib/pdk.rb +4 -2
  5. data/lib/pdk/analytics.rb +44 -0
  6. data/lib/pdk/analytics/client/google_analytics.rb +141 -0
  7. data/lib/pdk/analytics/client/noop.rb +23 -0
  8. data/lib/pdk/analytics/util.rb +17 -0
  9. data/lib/pdk/answer_file.rb +4 -1
  10. data/lib/pdk/cli.rb +50 -3
  11. data/lib/pdk/cli/build.rb +10 -4
  12. data/lib/pdk/cli/bundle.rb +10 -8
  13. data/lib/pdk/cli/config.rb +20 -0
  14. data/lib/pdk/cli/config/get.rb +24 -0
  15. data/lib/pdk/cli/console.rb +148 -0
  16. data/lib/pdk/cli/convert.rb +7 -2
  17. data/lib/pdk/cli/exec.rb +22 -190
  18. data/lib/pdk/cli/exec/command.rb +238 -0
  19. data/lib/pdk/cli/exec/interactive_command.rb +114 -0
  20. data/lib/pdk/cli/exec_group.rb +6 -6
  21. data/lib/pdk/cli/module/build.rb +0 -2
  22. data/lib/pdk/cli/module/generate.rb +4 -2
  23. data/lib/pdk/cli/new.rb +2 -0
  24. data/lib/pdk/cli/new/class.rb +2 -2
  25. data/lib/pdk/cli/new/defined_type.rb +4 -2
  26. data/lib/pdk/cli/new/module.rb +5 -0
  27. data/lib/pdk/cli/new/provider.rb +4 -2
  28. data/lib/pdk/cli/new/task.rb +4 -1
  29. data/lib/pdk/cli/new/test.rb +53 -0
  30. data/lib/pdk/cli/new/transport.rb +27 -0
  31. data/lib/pdk/cli/test.rb +0 -1
  32. data/lib/pdk/cli/test/unit.rb +18 -13
  33. data/lib/pdk/cli/update.rb +25 -3
  34. data/lib/pdk/cli/util.rb +111 -14
  35. data/lib/pdk/cli/util/interview.rb +10 -2
  36. data/lib/pdk/cli/util/option_validator.rb +4 -0
  37. data/lib/pdk/cli/util/spinner.rb +13 -0
  38. data/lib/pdk/cli/validate.rb +16 -5
  39. data/lib/pdk/config.rb +121 -0
  40. data/lib/pdk/config/analytics_schema.json +26 -0
  41. data/lib/pdk/config/errors.rb +5 -0
  42. data/lib/pdk/config/json.rb +34 -0
  43. data/lib/pdk/config/json_schema_namespace.rb +143 -0
  44. data/lib/pdk/config/json_schema_setting.rb +53 -0
  45. data/lib/pdk/config/json_with_schema.rb +50 -0
  46. data/lib/pdk/config/namespace.rb +332 -0
  47. data/lib/pdk/config/setting.rb +132 -0
  48. data/lib/pdk/config/yaml.rb +43 -0
  49. data/lib/pdk/config/yaml_with_schema.rb +59 -0
  50. data/lib/pdk/generate.rb +10 -3
  51. data/lib/pdk/generate/defined_type.rb +1 -0
  52. data/lib/pdk/generate/module.rb +62 -35
  53. data/lib/pdk/generate/provider.rb +0 -5
  54. data/lib/pdk/generate/puppet_class.rb +1 -0
  55. data/lib/pdk/generate/puppet_object.rb +88 -41
  56. data/lib/pdk/generate/transport.rb +87 -0
  57. data/lib/pdk/logger.rb +21 -1
  58. data/lib/pdk/module.rb +2 -2
  59. data/lib/pdk/module/build.rb +103 -10
  60. data/lib/pdk/module/convert.rb +85 -19
  61. data/lib/pdk/module/metadata.rb +17 -12
  62. data/lib/pdk/module/templatedir.rb +108 -40
  63. data/lib/pdk/module/update.rb +27 -15
  64. data/lib/pdk/module/update_manager.rb +23 -15
  65. data/lib/pdk/report.rb +4 -3
  66. data/lib/pdk/report/event.rb +8 -6
  67. data/lib/pdk/template_file.rb +1 -1
  68. data/lib/pdk/tests/unit.rb +48 -21
  69. data/lib/pdk/util.rb +29 -63
  70. data/lib/pdk/util/bundler.rb +19 -15
  71. data/lib/pdk/util/filesystem.rb +64 -1
  72. data/lib/pdk/util/git.rb +52 -1
  73. data/lib/pdk/util/puppet_strings.rb +123 -0
  74. data/lib/pdk/util/puppet_version.rb +27 -12
  75. data/lib/pdk/util/ruby_version.rb +30 -7
  76. data/lib/pdk/util/template_uri.rb +281 -0
  77. data/lib/pdk/util/vendored_file.rb +28 -24
  78. data/lib/pdk/util/version.rb +7 -8
  79. data/lib/pdk/util/windows.rb +1 -0
  80. data/lib/pdk/util/windows/api_types.rb +0 -7
  81. data/lib/pdk/util/windows/file.rb +1 -1
  82. data/lib/pdk/util/windows/string.rb +1 -1
  83. data/lib/pdk/validate/base_validator.rb +12 -14
  84. data/lib/pdk/validate/metadata/metadata_json_lint.rb +0 -4
  85. data/lib/pdk/validate/metadata/metadata_syntax.rb +5 -3
  86. data/lib/pdk/validate/metadata_validator.rb +0 -2
  87. data/lib/pdk/validate/puppet/puppet_epp.rb +137 -0
  88. data/lib/pdk/validate/puppet/puppet_lint.rb +0 -3
  89. data/lib/pdk/validate/puppet/puppet_syntax.rb +5 -5
  90. data/lib/pdk/validate/puppet_validator.rb +2 -3
  91. data/lib/pdk/validate/ruby/rubocop.rb +1 -6
  92. data/lib/pdk/validate/ruby_validator.rb +0 -2
  93. data/lib/pdk/validate/tasks/metadata_lint.rb +9 -5
  94. data/lib/pdk/validate/tasks/name.rb +5 -3
  95. data/lib/pdk/validate/tasks_validator.rb +0 -2
  96. data/lib/pdk/validate/yaml/syntax.rb +6 -4
  97. data/lib/pdk/validate/yaml_validator.rb +0 -2
  98. data/lib/pdk/version.rb +1 -1
  99. data/locales/pdk.pot +634 -307
  100. metadata +100 -45
@@ -1,13 +1,11 @@
1
- require 'pdk'
2
1
  require 'pdk/validate/base_validator'
3
- require 'pdk/util'
4
2
 
5
3
  module PDK
6
4
  module Validate
7
5
  class Tasks
8
6
  class Name < BaseValidator
9
7
  INVALID_TASK_MSG = _(
10
- 'Invalid task name. Task names must start with a lowercase letter' \
8
+ 'Invalid task name. Task names must start with a lowercase letter ' \
11
9
  'and can only contain lowercase letters, numbers, and underscores.',
12
10
  )
13
11
 
@@ -26,6 +24,8 @@ module PDK
26
24
  end
27
25
 
28
26
  def self.create_spinner(targets = [], options = {})
27
+ require 'pdk/cli/util'
28
+
29
29
  return unless PDK::CLI::Util.interactive?
30
30
  options = options.merge(PDK::CLI::Util.spinner_opts_for_platform)
31
31
 
@@ -33,6 +33,8 @@ module PDK
33
33
  @spinner = if exec_group
34
34
  exec_group.add_spinner(spinner_text(targets), options)
35
35
  else
36
+ require 'pdk/cli/util/spinner'
37
+
36
38
  TTY::Spinner.new("[:spinner] #{spinner_text(targets)}", options)
37
39
  end
38
40
  @spinner.auto_spin
@@ -1,5 +1,3 @@
1
- require 'pdk'
2
- require 'pdk/cli/exec'
3
1
  require 'pdk/validate/base_validator'
4
2
  require 'pdk/validate/tasks/metadata_lint'
5
3
  require 'pdk/validate/tasks/name'
@@ -1,8 +1,4 @@
1
- require 'pdk'
2
- require 'pdk/cli/exec'
3
1
  require 'pdk/validate/base_validator'
4
- require 'pdk/util'
5
- require 'pathname'
6
2
 
7
3
  module PDK
8
4
  module Validate
@@ -31,6 +27,8 @@ module PDK
31
27
  end
32
28
 
33
29
  def self.create_spinner(targets = [], options = {})
30
+ require 'pdk/cli/util'
31
+
34
32
  return unless PDK::CLI::Util.interactive?
35
33
  options = options.merge(PDK::CLI::Util.spinner_opts_for_platform)
36
34
 
@@ -38,6 +36,8 @@ module PDK
38
36
  @spinner = if exec_group
39
37
  exec_group.add_spinner(spinner_text(targets), options)
40
38
  else
39
+ require 'pdk/cli/util/spinner'
40
+
41
41
  TTY::Spinner.new("[:spinner] #{spinner_text(targets)}", options)
42
42
  end
43
43
  @spinner.auto_spin
@@ -62,6 +62,8 @@ module PDK
62
62
  return_val = 0
63
63
  create_spinner(targets, options)
64
64
 
65
+ PDK.logger.debug(_('Validating yaml content of %{parsed_targets}') % { parsed_targets: targets.to_s })
66
+
65
67
  targets.each do |target|
66
68
  next unless File.file?(target)
67
69
 
@@ -1,5 +1,3 @@
1
- require 'pdk'
2
- require 'pdk/cli/exec'
3
1
  require 'pdk/validate/base_validator'
4
2
  require 'pdk/validate/yaml/syntax'
5
3
 
data/lib/pdk/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module PDK
2
- VERSION = '1.9.1'.freeze
2
+ VERSION = '1.14.0'.freeze
3
3
  TEMPLATE_REF = VERSION
4
4
  end
data/locales/pdk.pot CHANGED
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: puppet development kit v1.9.0-15-g264d3c07ab\n"
9
+ "Project-Id-Version: puppet development kit v1.13.0-68-g46cd813\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: docs@puppet.com\n"
12
- "POT-Creation-Date: 2019-03-01 11:43-0700\n"
13
- "PO-Revision-Date: 2019-03-01 11:43-0700\n"
12
+ "POT-Creation-Date: 2019-10-09 14:07+1100\n"
13
+ "PO-Revision-Date: 2019-10-09 14:07+1100\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -19,95 +19,103 @@ msgstr ""
19
19
  "Content-Transfer-Encoding: 8bit\n"
20
20
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
21
21
 
22
- #: ../lib/pdk/answer_file.rb:59
22
+ #: ../lib/pdk/analytics/client/google_analytics.rb:43 ../lib/pdk/analytics/client/google_analytics.rb:58
23
+ msgid "Unknown analytics key '%{key}'"
24
+ msgstr ""
25
+
26
+ #: ../lib/pdk/answer_file.rb:58
23
27
  msgid "Answer file can be updated only with a Hash"
24
28
  msgstr ""
25
29
 
26
- #: ../lib/pdk/answer_file.rb:86
30
+ #: ../lib/pdk/answer_file.rb:87
27
31
  msgid "Unable to open '%{file}' for reading"
28
32
  msgstr ""
29
33
 
30
- #: ../lib/pdk/answer_file.rb:95
34
+ #: ../lib/pdk/answer_file.rb:96
31
35
  msgid "Answer file '%{path}' did not contain a valid set of answers, recreating it"
32
36
  msgstr ""
33
37
 
34
- #: ../lib/pdk/answer_file.rb:101
38
+ #: ../lib/pdk/answer_file.rb:102
35
39
  msgid "Answer file '%{path}' did not contain valid JSON, recreating it"
36
40
  msgstr ""
37
41
 
38
- #: ../lib/pdk/answer_file.rb:115
42
+ #: ../lib/pdk/answer_file.rb:118
39
43
  msgid "Unable to write '%{file}': %{msg}"
40
44
  msgstr ""
41
45
 
42
- #: ../lib/pdk/cli.rb:42
46
+ #: ../lib/pdk/cli.rb:82
43
47
  msgid "Specifies the URL to the template to use when creating new modules or classes. (default: %{default_url})"
44
48
  msgstr ""
45
49
 
46
- #: ../lib/pdk/cli.rb:48
50
+ #: ../lib/pdk/cli.rb:88
51
+ msgid "Specifies the template git branch or tag to use when creating new modules or classes."
52
+ msgstr ""
53
+
54
+ #: ../lib/pdk/cli.rb:92
47
55
  msgid "When specified, skips interactive querying of metadata."
48
56
  msgstr ""
49
57
 
50
- #: ../lib/pdk/cli.rb:52
58
+ #: ../lib/pdk/cli.rb:96
51
59
  msgid "When specified, interactive querying of metadata will include all optional questions."
52
60
  msgstr ""
53
61
 
54
- #: ../lib/pdk/cli.rb:56
62
+ #: ../lib/pdk/cli.rb:100
55
63
  msgid "Puppet version to run tests or validations against."
56
64
  msgstr ""
57
65
 
58
- #: ../lib/pdk/cli.rb:57
66
+ #: ../lib/pdk/cli.rb:101
59
67
  msgid "Puppet Enterprise version to run tests or validations against."
60
68
  msgstr ""
61
69
 
62
- #: ../lib/pdk/cli.rb:63
70
+ #: ../lib/pdk/cli.rb:107
63
71
  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
72
  msgstr ""
65
73
 
66
- #: ../lib/pdk/cli.rb:68
74
+ #: ../lib/pdk/cli.rb:112
67
75
  msgid "pdk command [options]"
68
76
  msgstr ""
69
77
 
70
- #: ../lib/pdk/cli.rb:69
78
+ #: ../lib/pdk/cli.rb:113
71
79
  msgid "Puppet Development Kit"
72
80
  msgstr ""
73
81
 
74
- #: ../lib/pdk/cli.rb:70
82
+ #: ../lib/pdk/cli.rb:114
75
83
  msgid "The shortest path to better modules."
76
84
  msgstr ""
77
85
 
78
- #: ../lib/pdk/cli.rb:73
86
+ #: ../lib/pdk/cli.rb:117
79
87
  msgid "Show version of pdk."
80
88
  msgstr ""
81
89
 
82
- #: ../lib/pdk/cli.rb:78
90
+ #: ../lib/pdk/cli.rb:122
83
91
  msgid "Show help for this command."
84
92
  msgstr ""
85
93
 
86
- #: ../lib/pdk/cli.rb:83
94
+ #: ../lib/pdk/cli.rb:127
87
95
  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
96
  msgstr ""
89
97
 
90
- #: ../lib/pdk/cli.rb:94
98
+ #: ../lib/pdk/cli.rb:138
91
99
  msgid "Enable debug output."
92
100
  msgstr ""
93
101
 
94
- #: ../lib/pdk/cli.rb:98
102
+ #: ../lib/pdk/cli.rb:142
95
103
  msgid "Path to an answer file."
96
104
  msgstr ""
97
105
 
98
- #: ../lib/pdk/cli/build.rb:6
106
+ #: ../lib/pdk/cli/build.rb:4
99
107
  msgid "build [options]"
100
108
  msgstr ""
101
109
 
102
- #: ../lib/pdk/cli/build.rb:7
110
+ #: ../lib/pdk/cli/build.rb:5
103
111
  msgid "Builds a package from the module that can be published to the Puppet Forge."
104
112
  msgstr ""
105
113
 
106
- #: ../lib/pdk/cli/build.rb:10
114
+ #: ../lib/pdk/cli/build.rb:8
107
115
  msgid "The target directory where you want PDK to write the package."
108
116
  msgstr ""
109
117
 
110
- #: ../lib/pdk/cli/build.rb:13
118
+ #: ../lib/pdk/cli/build.rb:11
111
119
  msgid "Skips the prompts and builds the module package."
112
120
  msgstr ""
113
121
 
@@ -115,87 +123,141 @@ msgstr ""
115
123
  msgid "`pdk build` can only be run from inside a valid module with a metadata.json."
116
124
  msgstr ""
117
125
 
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."
126
+ #: ../lib/pdk/cli/build.rb:33
127
+ msgid "This module is missing the following fields in the metadata.json: %{fields}. These missing fields may affect the visibility of the module on the Forge."
120
128
  msgstr ""
121
129
 
122
- #: ../lib/pdk/cli/build.rb:43
130
+ #: ../lib/pdk/cli/build.rb:49
123
131
  msgid "The file '%{package}' already exists."
124
132
  msgstr ""
125
133
 
126
- #: ../lib/pdk/cli/build.rb:45
134
+ #: ../lib/pdk/cli/build.rb:51
127
135
  msgid "Overwrite?"
128
136
  msgstr ""
129
137
 
130
- #: ../lib/pdk/cli/build.rb:46 ../lib/pdk/cli/build.rb:57
138
+ #: ../lib/pdk/cli/build.rb:52 ../lib/pdk/cli/build.rb:63
131
139
  msgid "Build cancelled; exiting."
132
140
  msgstr ""
133
141
 
134
- #: ../lib/pdk/cli/build.rb:52
142
+ #: ../lib/pdk/cli/build.rb:58
135
143
  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
144
  msgstr ""
137
145
 
138
- #: ../lib/pdk/cli/build.rb:56
146
+ #: ../lib/pdk/cli/build.rb:62
139
147
  msgid "Continue build without converting?"
140
148
  msgstr ""
141
149
 
142
- #: ../lib/pdk/cli/build.rb:63
150
+ #: ../lib/pdk/cli/build.rb:69
143
151
  msgid "Building %{module_name} version %{module_version}"
144
152
  msgstr ""
145
153
 
146
- #: ../lib/pdk/cli/build.rb:70
154
+ #: ../lib/pdk/cli/build.rb:76
147
155
  msgid "Build of %{package_name} has completed successfully. Built package can be found here: %{package_path}"
148
156
  msgstr ""
149
157
 
150
- #: ../lib/pdk/cli/bundle.rb:5
158
+ #: ../lib/pdk/cli/bundle.rb:4
151
159
  msgid "bundle [bundler_options]"
152
160
  msgstr ""
153
161
 
154
- #: ../lib/pdk/cli/bundle.rb:6
162
+ #: ../lib/pdk/cli/bundle.rb:5
155
163
  msgid "(Experimental) Command pass-through to bundler"
156
164
  msgstr ""
157
165
 
158
- #: ../lib/pdk/cli/bundle.rb:7
166
+ #: ../lib/pdk/cli/bundle.rb:6
159
167
  msgid ""
160
168
  "[experimental] For advanced users, pdk bundle runs arbitrary commands in the bundler environment that pdk manages.\n"
161
169
  "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
170
  msgstr ""
165
171
 
166
172
  #: ../lib/pdk/cli/bundle.rb:18
167
173
  msgid "`pdk bundle` can only be run from inside a valid module directory."
168
174
  msgstr ""
169
175
 
170
- #: ../lib/pdk/cli/convert.rb:6
176
+ #: ../lib/pdk/cli/config.rb:4
177
+ msgid "config [subcommand] [options]"
178
+ msgstr ""
179
+
180
+ #: ../lib/pdk/cli/config.rb:5
181
+ msgid "Configure the Puppet Development Kit."
182
+ msgstr ""
183
+
184
+ #: ../lib/pdk/cli/config/get.rb:4
185
+ msgid "config get [name]"
186
+ msgstr ""
187
+
188
+ #: ../lib/pdk/cli/config/get.rb:5
189
+ msgid "Retrieve the configuration for <name>. If not specified, retrieve all configuration settings"
190
+ msgstr ""
191
+
192
+ #: ../lib/pdk/cli/config/get.rb:12
193
+ msgid "Configuration item '%{name}' does not exist"
194
+ msgstr ""
195
+
196
+ #: ../lib/pdk/cli/config/get.rb:17
197
+ msgid "%{value}"
198
+ msgstr ""
199
+
200
+ #: ../lib/pdk/cli/config/get.rb:21
201
+ msgid "%{name}=%{value}"
202
+ msgstr ""
203
+
204
+ #: ../lib/pdk/cli/console.rb:4
205
+ msgid "console [console_options]"
206
+ msgstr ""
207
+
208
+ #: ../lib/pdk/cli/console.rb:5
209
+ msgid "(Experimental) Start a session of the puppet debugger console."
210
+ msgstr ""
211
+
212
+ #: ../lib/pdk/cli/console.rb:7
213
+ msgid ""
214
+ "The pdk console runs a interactive session of the puppet debugger tool to test out snippets of code, run\n"
215
+ "language evaluations, datatype prototyping and much more. A virtual playground for your puppet code!\n"
216
+ "For usage details see the puppet debugger docs at https://docs.puppet-debugger.com.\n"
217
+ "\n"
218
+ msgstr ""
219
+
220
+ #: ../lib/pdk/cli/console.rb:26
221
+ msgid "Console can only be run from inside a valid module directory"
222
+ msgstr ""
223
+
224
+ #: ../lib/pdk/cli/console.rb:89
225
+ msgid "Module fixtures not found, please run pdk bundle exec rake spec_prep."
226
+ msgstr ""
227
+
228
+ #: ../lib/pdk/cli/convert.rb:4
171
229
  msgid "convert [options]"
172
230
  msgstr ""
173
231
 
174
- #: ../lib/pdk/cli/convert.rb:7
232
+ #: ../lib/pdk/cli/convert.rb:5
175
233
  msgid "Convert an existing module to be compatible with the PDK."
176
234
  msgstr ""
177
235
 
178
- #: ../lib/pdk/cli/convert.rb:12
236
+ #: ../lib/pdk/cli/convert.rb:11
179
237
  msgid "Do not convert the module, just output what would be done."
180
238
  msgstr ""
181
239
 
182
- #: ../lib/pdk/cli/convert.rb:13
240
+ #: ../lib/pdk/cli/convert.rb:12
183
241
  msgid "Convert the module automatically, with no prompts."
184
242
  msgstr ""
185
243
 
186
- #: ../lib/pdk/cli/convert.rb:20
244
+ #: ../lib/pdk/cli/convert.rb:13
245
+ msgid "Add any missing tests while converting the module."
246
+ msgstr ""
247
+
248
+ #: ../lib/pdk/cli/convert.rb:21
187
249
  msgid "`pdk convert` can only be run from inside a valid module directory."
188
250
  msgstr ""
189
251
 
190
- #: ../lib/pdk/cli/convert.rb:25
252
+ #: ../lib/pdk/cli/convert.rb:28
191
253
  msgid "You can not specify --noop and --force when converting a module"
192
254
  msgstr ""
193
255
 
194
- #: ../lib/pdk/cli/convert.rb:29 ../lib/pdk/cli/new/module.rb:22
256
+ #: ../lib/pdk/cli/convert.rb:34 ../lib/pdk/cli/new/module.rb:27
195
257
  msgid "Ignoring --full-interview and continuing with --skip-interview."
196
258
  msgstr ""
197
259
 
198
- #: ../lib/pdk/cli/convert.rb:34
260
+ #: ../lib/pdk/cli/convert.rb:39
199
261
  msgid "Ignoring --full-interview and continuing with --force."
200
262
  msgstr ""
201
263
 
@@ -203,46 +265,80 @@ msgstr ""
203
265
  msgid "An unexpected error has occurred. Try running the command again with --debug"
204
266
  msgstr ""
205
267
 
206
- #: ../lib/pdk/cli/exec.rb:23
268
+ #: ../lib/pdk/cli/exec.rb:31
207
269
  msgid "Unable to find `%{name}`. Check that it is installed and try again."
208
270
  msgstr ""
209
271
 
210
- #: ../lib/pdk/cli/exec.rb:45
272
+ #: ../lib/pdk/cli/exec.rb:57
211
273
  msgid "PDK package installation not found. Trying '%{fallback}' from the system PATH instead."
212
274
  msgstr ""
213
275
 
214
- #: ../lib/pdk/cli/exec.rb:54
276
+ #: ../lib/pdk/cli/exec.rb:66
215
277
  msgid "Could not find '%{vendored_bin}' in PDK package. Trying '%{fallback}' from the system PATH instead."
216
278
  msgstr ""
217
279
 
218
- #: ../lib/pdk/cli/exec.rb:61
280
+ #: ../lib/pdk/cli/exec.rb:73
219
281
  msgid "Using '%{vendored_bin}' from PDK package."
220
282
  msgstr ""
221
283
 
222
- #: ../lib/pdk/cli/exec.rb:98
284
+ #: ../lib/pdk/cli/exec/command.rb:38
223
285
  msgid "Expected execution context to be :system or :module but got '%{context}'."
224
286
  msgstr ""
225
287
 
226
- #: ../lib/pdk/cli/exec.rb:155
288
+ #: ../lib/pdk/cli/exec/command.rb:84 ../lib/pdk/cli/exec/interactive_command.rb:46
227
289
  msgid "Current working directory is not part of a module. (No metadata.json was found.)"
228
290
  msgstr ""
229
291
 
230
- #: ../lib/pdk/cli/exec.rb:210
292
+ #: ../lib/pdk/cli/exec/command.rb:111
293
+ msgid "STDOUT: %{output}"
294
+ msgstr ""
295
+
296
+ #: ../lib/pdk/cli/exec/command.rb:114
297
+ msgid "STDERR: %{output}"
298
+ msgstr ""
299
+
300
+ #: ../lib/pdk/cli/exec/command.rb:128
301
+ msgid "PUPPET_GEM_VERSION is not supported by PDK. Use the --puppet-version option on your PDK command or set the PDK_PUPPET_VERSION environment variable instead"
302
+ msgstr ""
303
+
304
+ #: ../lib/pdk/cli/exec/command.rb:137
305
+ msgid "%{varname} is not supported by PDK."
306
+ msgstr ""
307
+
308
+ #: ../lib/pdk/cli/exec/command.rb:202
231
309
  msgid "Executing '%{command}'"
232
310
  msgstr ""
233
311
 
234
- #: ../lib/pdk/cli/exec.rb:213
312
+ #: ../lib/pdk/cli/exec/command.rb:205 ../lib/pdk/cli/exec/interactive_command.rb:78
235
313
  msgid "Command environment:"
236
314
  msgstr ""
237
315
 
238
- #: ../lib/pdk/cli/exec.rb:224
316
+ #: ../lib/pdk/cli/exec/command.rb:216
239
317
  msgid "Failed to execute '%{command}': %{message}"
240
318
  msgstr ""
241
319
 
242
- #: ../lib/pdk/cli/exec.rb:240
320
+ #: ../lib/pdk/cli/exec/command.rb:232
243
321
  msgid "Execution of '%{command}' complete (duration: %{duration_in_seconds}s; exit code: %{exit_code})"
244
322
  msgstr ""
245
323
 
324
+ #: ../lib/pdk/cli/exec/interactive_command.rb:18 ../lib/pdk/cli/exec/interactive_command.rb:22 ../lib/pdk/cli/exec/interactive_command.rb:26 ../lib/pdk/cli/exec/interactive_command.rb:30 ../lib/pdk/cli/exec/interactive_command.rb:34 ../lib/pdk/cli/exec/interactive_command.rb:109
325
+ msgid "This method is not implemented for PDK::CLI::Exec::InteractiveCommand"
326
+ msgstr ""
327
+
328
+ #: ../lib/pdk/cli/exec/interactive_command.rb:75
329
+ msgid "Executing '%{command}' interactively"
330
+ msgstr ""
331
+
332
+ #: ../lib/pdk/cli/exec/interactive_command.rb:91
333
+ msgid ""
334
+ "Execution of '%{command}' complete (duration: \\\n"
335
+ " %{duration_in_seconds}s; exit code: %{exit_code})"
336
+ msgstr ""
337
+
338
+ #: ../lib/pdk/cli/exec_group.rb:28
339
+ msgid "No block registered"
340
+ msgstr ""
341
+
246
342
  #: ../lib/pdk/cli/module.rb:4
247
343
  msgid "module [options]"
248
344
  msgstr ""
@@ -255,31 +351,31 @@ msgstr ""
255
351
  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
352
  msgstr ""
257
353
 
258
- #: ../lib/pdk/cli/module/build.rb:6
354
+ #: ../lib/pdk/cli/module/build.rb:4
259
355
  msgid "build"
260
356
  msgstr ""
261
357
 
262
- #: ../lib/pdk/cli/module/build.rb:7
358
+ #: ../lib/pdk/cli/module/build.rb:5
263
359
  msgid "This command is now 'pdk build'."
264
360
  msgstr ""
265
361
 
266
- #: ../lib/pdk/cli/module/build.rb:10
362
+ #: ../lib/pdk/cli/module/build.rb:8
267
363
  msgid "Modules are built using the ‘pdk build’ command."
268
364
  msgstr ""
269
365
 
270
- #: ../lib/pdk/cli/module/generate.rb:6
366
+ #: ../lib/pdk/cli/module/generate.rb:4
271
367
  msgid "generate [options] <module_name>"
272
368
  msgstr ""
273
369
 
274
- #: ../lib/pdk/cli/module/generate.rb:7
370
+ #: ../lib/pdk/cli/module/generate.rb:5
275
371
  msgid "This command is now 'pdk new module'."
276
372
  msgstr ""
277
373
 
278
- #: ../lib/pdk/cli/module/generate.rb:22
374
+ #: ../lib/pdk/cli/module/generate.rb:24
279
375
  msgid "New modules are created using the ‘pdk new module’ command."
280
376
  msgstr ""
281
377
 
282
- #: ../lib/pdk/cli/module/generate.rb:38 ../lib/pdk/cli/new/module.rb:37
378
+ #: ../lib/pdk/cli/module/generate.rb:40 ../lib/pdk/cli/new/module.rb:42
283
379
  msgid "Creating new module: %{modname}"
284
380
  msgstr ""
285
381
 
@@ -303,11 +399,11 @@ msgstr ""
303
399
  msgid "Create a new class named <class_name> using given options"
304
400
  msgstr ""
305
401
 
306
- #: ../lib/pdk/cli/new/class.rb:13
402
+ #: ../lib/pdk/cli/new/class.rb:11
307
403
  msgid "Classes can only be created from inside a valid module directory."
308
404
  msgstr ""
309
405
 
310
- #: ../lib/pdk/cli/new/class.rb:26
406
+ #: ../lib/pdk/cli/new/class.rb:24
311
407
  msgid "'%{name}' is not a valid class name"
312
408
  msgstr ""
313
409
 
@@ -319,11 +415,11 @@ msgstr ""
319
415
  msgid "Create a new defined type named <name> using given options"
320
416
  msgstr ""
321
417
 
322
- #: ../lib/pdk/cli/new/defined_type.rb:11
418
+ #: ../lib/pdk/cli/new/defined_type.rb:9
323
419
  msgid "Defined types can only be created from inside a valid module directory."
324
420
  msgstr ""
325
421
 
326
- #: ../lib/pdk/cli/new/defined_type.rb:24
422
+ #: ../lib/pdk/cli/new/defined_type.rb:22
327
423
  msgid "'%{name}' is not a valid defined type name"
328
424
  msgstr ""
329
425
 
@@ -335,11 +431,11 @@ msgstr ""
335
431
  msgid "Create a new module named [module_name] using given options"
336
432
  msgstr ""
337
433
 
338
- #: ../lib/pdk/cli/new/module.rb:11
434
+ #: ../lib/pdk/cli/new/module.rb:12
339
435
  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
436
  msgstr ""
341
437
 
342
- #: ../lib/pdk/cli/new/module.rb:13
438
+ #: ../lib/pdk/cli/new/module.rb:14
343
439
  msgid "Do not automatically run `bundle install` after creating the module."
344
440
  msgstr ""
345
441
 
@@ -351,7 +447,7 @@ msgstr ""
351
447
  msgid "[experimental] Create a new ruby provider named <name> using given options"
352
448
  msgstr ""
353
449
 
354
- #: ../lib/pdk/cli/new/provider.rb:21
450
+ #: ../lib/pdk/cli/new/provider.rb:19
355
451
  msgid "'%{name}' is not a valid provider name"
356
452
  msgstr ""
357
453
 
@@ -363,51 +459,91 @@ msgstr ""
363
459
  msgid "Create a new task named <name> using given options"
364
460
  msgstr ""
365
461
 
366
- #: ../lib/pdk/cli/new/task.rb:8
462
+ #: ../lib/pdk/cli/new/task.rb:7
367
463
  msgid "A short description of the purpose of the task"
368
464
  msgstr ""
369
465
 
370
- #: ../lib/pdk/cli/new/task.rb:12
466
+ #: ../lib/pdk/cli/new/task.rb:13
371
467
  msgid "Tasks can only be created from inside a valid module directory."
372
468
  msgstr ""
373
469
 
374
- #: ../lib/pdk/cli/new/task.rb:25
470
+ #: ../lib/pdk/cli/new/task.rb:26
375
471
  msgid "'%{name}' is not a valid task name"
376
472
  msgstr ""
377
473
 
378
- #: ../lib/pdk/cli/test.rb:5
474
+ #: ../lib/pdk/cli/new/test.rb:4
475
+ msgid "test [options] <name>"
476
+ msgstr ""
477
+
478
+ #: ../lib/pdk/cli/new/test.rb:5
479
+ msgid "Create a new test for the object named <name>"
480
+ msgstr ""
481
+
482
+ #: ../lib/pdk/cli/new/test.rb:6
483
+ msgid "Create a new unit test."
484
+ msgstr ""
485
+
486
+ #: ../lib/pdk/cli/new/test.rb:16
487
+ msgid "Tests can only be created from inside a valid module directory."
488
+ msgstr ""
489
+
490
+ #: ../lib/pdk/cli/new/test.rb:31
491
+ msgid "Test type not specified, assuming unit."
492
+ msgstr ""
493
+
494
+ #: ../lib/pdk/cli/new/test.rb:47
495
+ msgid "Unable to find anything called \"%{object}\" to generate unit tests for."
496
+ msgstr ""
497
+
498
+ #: ../lib/pdk/cli/new/test.rb:49
499
+ msgid "PDK does not support generating unit tests for \"%{object_type}\" objects."
500
+ msgstr ""
501
+
502
+ #: ../lib/pdk/cli/new/transport.rb:4
503
+ msgid "transport [options] <name>"
504
+ msgstr ""
505
+
506
+ #: ../lib/pdk/cli/new/transport.rb:5
507
+ msgid "[experimental] Create a new ruby transport named <name> using given options"
508
+ msgstr ""
509
+
510
+ #: ../lib/pdk/cli/new/transport.rb:19
511
+ msgid "'%{name}' is not a valid transport name"
512
+ msgstr ""
513
+
514
+ #: ../lib/pdk/cli/test.rb:4
379
515
  msgid "test [subcommand] [options]"
380
516
  msgstr ""
381
517
 
382
- #: ../lib/pdk/cli/test.rb:6
518
+ #: ../lib/pdk/cli/test.rb:5
383
519
  msgid "Run tests."
384
520
  msgstr ""
385
521
 
386
- #: ../lib/pdk/cli/test/unit.rb:7
522
+ #: ../lib/pdk/cli/test/unit.rb:4
387
523
  msgid "unit [options]"
388
524
  msgstr ""
389
525
 
390
- #: ../lib/pdk/cli/test/unit.rb:8
526
+ #: ../lib/pdk/cli/test/unit.rb:5
391
527
  msgid "Run unit tests."
392
528
  msgstr ""
393
529
 
394
- #: ../lib/pdk/cli/test/unit.rb:12
530
+ #: ../lib/pdk/cli/test/unit.rb:9
395
531
  msgid "List all available unit test files."
396
532
  msgstr ""
397
533
 
398
- #: ../lib/pdk/cli/test/unit.rb:13
534
+ #: ../lib/pdk/cli/test/unit.rb:10
399
535
  msgid "Run unit tests in parallel."
400
536
  msgstr ""
401
537
 
402
- #: ../lib/pdk/cli/test/unit.rb:14
538
+ #: ../lib/pdk/cli/test/unit.rb:11
403
539
  msgid "More verbose --list output. Displays a list of examples in each unit test file."
404
540
  msgstr ""
405
541
 
406
- #: ../lib/pdk/cli/test/unit.rb:15
542
+ #: ../lib/pdk/cli/test/unit.rb:12
407
543
  msgid "Clean up downloaded fixtures after the test run."
408
544
  msgstr ""
409
545
 
410
- #: ../lib/pdk/cli/test/unit.rb:17
546
+ #: ../lib/pdk/cli/test/unit.rb:14
411
547
  msgid "Specify a comma-separated list of unit test files to run."
412
548
  msgstr ""
413
549
 
@@ -415,50 +551,58 @@ msgstr ""
415
551
  msgid "Unit tests can only be run from inside a valid module directory."
416
552
  msgstr ""
417
553
 
418
- #: ../lib/pdk/cli/test/unit.rb:41
554
+ #: ../lib/pdk/cli/test/unit.rb:53
419
555
  msgid "No unit test files with examples were found."
420
556
  msgstr ""
421
557
 
422
- #: ../lib/pdk/cli/test/unit.rb:43
558
+ #: ../lib/pdk/cli/test/unit.rb:55
423
559
  msgid "Unit Test Files:"
424
560
  msgstr ""
425
561
 
426
- #: ../lib/pdk/cli/test/unit.rb:52
562
+ #: ../lib/pdk/cli/test/unit.rb:64
427
563
  msgid "\t%{id}\t%{description}"
428
564
  msgstr ""
429
565
 
430
- #: ../lib/pdk/cli/test/unit.rb:57
566
+ #: ../lib/pdk/cli/test/unit.rb:69
431
567
  msgid "--verbose has no effect when not used with --list"
432
568
  msgstr ""
433
569
 
434
- #: ../lib/pdk/cli/update.rb:7
570
+ #: ../lib/pdk/cli/update.rb:4
435
571
  msgid "update [options]"
436
572
  msgstr ""
437
573
 
438
- #: ../lib/pdk/cli/update.rb:8
574
+ #: ../lib/pdk/cli/update.rb:5
439
575
  msgid "Update a module that has been created by or converted for use by PDK."
440
576
  msgstr ""
441
577
 
442
- #: ../lib/pdk/cli/update.rb:10
578
+ #: ../lib/pdk/cli/update.rb:7
443
579
  msgid "Do not update the module, just output what would be done."
444
580
  msgstr ""
445
581
 
446
- #: ../lib/pdk/cli/update.rb:11
582
+ #: ../lib/pdk/cli/update.rb:8
447
583
  msgid "Update the module automatically, with no prompts."
448
584
  msgstr ""
449
585
 
450
- #: ../lib/pdk/cli/update.rb:17
586
+ #: ../lib/pdk/cli/update.rb:18
451
587
  msgid "`pdk update` can only be run from inside a valid module directory."
452
588
  msgstr ""
453
589
 
454
- #: ../lib/pdk/cli/update.rb:21
590
+ #: ../lib/pdk/cli/update.rb:22
455
591
  msgid "This module does not appear to be PDK compatible. To make the module compatible with PDK, run `pdk convert`."
456
592
  msgstr ""
457
593
 
458
- #: ../lib/pdk/cli/update.rb:24
594
+ #: ../lib/pdk/cli/update.rb:25
459
595
  msgid "You can not specify --noop and --force when updating a module"
460
596
  msgstr ""
461
597
 
598
+ #: ../lib/pdk/cli/update.rb:29
599
+ msgid "This module has been updated to PDK %{module_pdk_version} which is newer than your PDK version (%{user_pdk_version}), proceed with caution!"
600
+ msgstr ""
601
+
602
+ #: ../lib/pdk/cli/update.rb:39
603
+ msgid "Please update your PDK installation and try again. You may also use the --force flag to override this and continue at your own risk."
604
+ msgstr ""
605
+
462
606
  #: ../lib/pdk/cli/util.rb:17
463
607
  msgid "This command must be run from inside a valid module (no metadata.json found)."
464
608
  msgstr ""
@@ -467,47 +611,55 @@ msgstr ""
467
611
  msgid "Answer \"Y\" to continue or \"n\" to cancel."
468
612
  msgstr ""
469
613
 
470
- #: ../lib/pdk/cli/util.rb:65
614
+ #: ../lib/pdk/cli/util.rb:88
471
615
  msgid "This module is not PDK compatible. Run `pdk convert` to make it compatible with your version of PDK."
472
616
  msgstr ""
473
617
 
474
- #: ../lib/pdk/cli/util.rb:71
618
+ #: ../lib/pdk/cli/util.rb:94
475
619
  msgid "This module template is out of date. Run `pdk convert` to make it compatible with your version of PDK."
476
620
  msgstr ""
477
621
 
478
- #: ../lib/pdk/cli/util.rb:76
622
+ #: ../lib/pdk/cli/util.rb:99
479
623
  msgid "This module is compatible with a newer version of PDK. Upgrade your version of PDK to ensure compatibility."
480
624
  msgstr ""
481
625
 
482
- #: ../lib/pdk/cli/util.rb:80
626
+ #: ../lib/pdk/cli/util.rb:103
483
627
  msgid "This module is compatible with an older version of PDK. Run `pdk update` to update it to your version of PDK."
484
628
  msgstr ""
485
629
 
486
- #: ../lib/pdk/cli/util.rb:106
630
+ #: ../lib/pdk/cli/util.rb:114
631
+ msgid "Support for Puppet versions older than %{version} is deprecated and will be removed in a future version of PDK."
632
+ msgstr ""
633
+
634
+ #: ../lib/pdk/cli/util.rb:151
487
635
  msgid "Using Ruby %{version}"
488
636
  msgstr ""
489
637
 
490
- #: ../lib/pdk/cli/util.rb:116
638
+ #: ../lib/pdk/cli/util.rb:165
491
639
  msgid "Using %{gem} %{version}"
492
640
  msgstr ""
493
641
 
494
- #: ../lib/pdk/cli/util.rb:146
495
- msgid "You cannot specify a %{first} and %{second} at the same time"
642
+ #: ../lib/pdk/cli/util.rb:196 ../lib/pdk/cli/util.rb:208
643
+ msgid "You cannot specify a %{first} and %{second} at the same time."
496
644
  msgstr ""
497
645
 
498
- #: ../lib/pdk/cli/util.rb:158
499
- msgid "You cannot specify a %{first} and %{second} at the same time."
646
+ #: ../lib/pdk/cli/util.rb:244
647
+ msgid "--template-ref requires --template-url to also be specified."
648
+ msgstr ""
649
+
650
+ #: ../lib/pdk/cli/util.rb:248
651
+ msgid "--template-url may not be used to specify paths containing #'s."
500
652
  msgstr ""
501
653
 
502
654
  #: ../lib/pdk/cli/util/command_redirector.rb:18
503
655
  msgid "Did you mean '%{command}'?"
504
656
  msgstr ""
505
657
 
506
- #: ../lib/pdk/cli/util/interview.rb:30
658
+ #: ../lib/pdk/cli/util/interview.rb:32
507
659
  msgid "[Q %{current_number}/%{questions_total}]"
508
660
  msgstr ""
509
661
 
510
- #: ../lib/pdk/cli/util/interview.rb:34 ../lib/pdk/cli/util/interview.rb:43
662
+ #: ../lib/pdk/cli/util/interview.rb:38 ../lib/pdk/cli/util/interview.rb:42 ../lib/pdk/cli/util/interview.rb:51
511
663
  msgid "-->"
512
664
  msgstr ""
513
665
 
@@ -523,15 +675,15 @@ msgstr ""
523
675
  msgid "Error: the following values are invalid: %{invalid_entries}"
524
676
  msgstr ""
525
677
 
526
- #: ../lib/pdk/cli/validate.rb:6
678
+ #: ../lib/pdk/cli/validate.rb:4
527
679
  msgid "validate [validators] [options] [targets]"
528
680
  msgstr ""
529
681
 
530
- #: ../lib/pdk/cli/validate.rb:7
682
+ #: ../lib/pdk/cli/validate.rb:5
531
683
  msgid "Run static analysis tests."
532
684
  msgstr ""
533
685
 
534
- #: ../lib/pdk/cli/validate.rb:8
686
+ #: ../lib/pdk/cli/validate.rb:6
535
687
  msgid ""
536
688
  "Run metadata, YAML, Puppet, Ruby, or Tasks validation.\n"
537
689
  "\n"
@@ -540,189 +692,272 @@ msgid ""
540
692
  "[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
693
  msgstr ""
542
694
 
543
- #: ../lib/pdk/cli/validate.rb:19
695
+ #: ../lib/pdk/cli/validate.rb:17
544
696
  msgid "List all available validators."
545
697
  msgstr ""
546
698
 
547
- #: ../lib/pdk/cli/validate.rb:20
699
+ #: ../lib/pdk/cli/validate.rb:18
548
700
  msgid "Automatically correct problems where possible."
549
701
  msgstr ""
550
702
 
551
- #: ../lib/pdk/cli/validate.rb:21
703
+ #: ../lib/pdk/cli/validate.rb:19
552
704
  msgid "Run validations in parallel."
553
705
  msgstr ""
554
706
 
555
- #: ../lib/pdk/cli/validate.rb:34
707
+ #: ../lib/pdk/cli/validate.rb:35
556
708
  msgid "Available validators: %{validator_names}"
557
709
  msgstr ""
558
710
 
559
- #: ../lib/pdk/cli/validate.rb:41
711
+ #: ../lib/pdk/cli/validate.rb:42
560
712
  msgid "Code validation can only be run from inside a valid module directory"
561
713
  msgstr ""
562
714
 
563
- #: ../lib/pdk/cli/validate.rb:57
715
+ #: ../lib/pdk/cli/validate.rb:58
564
716
  msgid "Unknown validator '%{v}'. Available validators: %{validators}."
565
717
  msgstr ""
566
718
 
567
- #: ../lib/pdk/cli/validate.rb:67 ../lib/pdk/cli/validate.rb:71
719
+ #: ../lib/pdk/cli/validate.rb:68 ../lib/pdk/cli/validate.rb:72
568
720
  msgid "Running all available validators..."
569
721
  msgstr ""
570
722
 
571
- #: ../lib/pdk/cli/validate.rb:101
723
+ #: ../lib/pdk/cli/validate.rb:112
572
724
  msgid "Validating module using %{num_of_threads} threads"
573
725
  msgstr ""
574
726
 
575
- #: ../lib/pdk/generate/module.rb:24
727
+ #: ../lib/pdk/config.rb:47
728
+ msgid "Unable to load %{file}: %{message}"
729
+ msgstr ""
730
+
731
+ #: ../lib/pdk/config.rb:80
732
+ msgid ""
733
+ "PDK collects anonymous usage information to help us understand how it is being used and make decisions on how to improve it. You can find out more about what data we collect and how it is used in the PDK documentation at %{url}.\n"
734
+ msgstr ""
735
+
736
+ #: ../lib/pdk/config.rb:86
737
+ msgid "You can opt in or out of the usage data collection at any time by editing the analytics configuration file at %{path} and changing the '%{key}' value."
738
+ msgstr ""
739
+
740
+ #: ../lib/pdk/config.rb:98
741
+ msgid "Do you consent to the collection of anonymous PDK usage information?"
742
+ msgstr ""
743
+
744
+ #: ../lib/pdk/config.rb:112
745
+ msgid "No answer given, opting out of analytics collection."
746
+ msgstr ""
747
+
748
+ #: ../lib/pdk/config/json_schema_namespace.rb:100
749
+ msgid "Setting '#{key}' does not exist'"
750
+ msgstr ""
751
+
752
+ #: ../lib/pdk/config/json_schema_namespace.rb:124
753
+ msgid "Unable to open %{file} for reading. File does not exist"
754
+ msgstr ""
755
+
756
+ #: ../lib/pdk/config/json_schema_namespace.rb:136
757
+ msgid "Unable to open %{file} for reading. JSON Error: %{msg}"
758
+ msgstr ""
759
+
760
+ #: ../lib/pdk/config/json_schema_setting.rb:27 ../lib/pdk/config/setting.rb:96
761
+ msgid "%{key} %{message}"
762
+ msgstr ""
763
+
764
+ #: ../lib/pdk/config/json_with_schema.rb:23 ../lib/pdk/config/yaml_with_schema.rb:23
765
+ msgid "The configuration file %{filename} is not valid: %{message}"
766
+ msgstr ""
767
+
768
+ #: ../lib/pdk/config/namespace.rb:65
769
+ msgid "Only PDK::Config::Namespace objects can be mounted into a namespace"
770
+ msgstr ""
771
+
772
+ #: ../lib/pdk/config/namespace.rb:137
773
+ msgid "Namespace mounts can not be set a value"
774
+ msgstr ""
775
+
776
+ #: ../lib/pdk/config/namespace.rb:286
777
+ msgid "Unable to open %{file} for reading"
778
+ msgstr ""
779
+
780
+ #: ../lib/pdk/config/namespace.rb:309
781
+ msgid "Unable to open %{file} for writing"
782
+ msgstr ""
783
+
784
+ #: ../lib/pdk/config/setting.rb:77
785
+ msgid "`validator` must be a Hash"
786
+ msgstr ""
787
+
788
+ #: ../lib/pdk/config/setting.rb:78
789
+ msgid "the :proc key must contain a Proc"
790
+ msgstr ""
791
+
792
+ #: ../lib/pdk/config/setting.rb:79
793
+ msgid "the :message key must contain a String"
794
+ msgstr ""
795
+
796
+ #: ../lib/pdk/config/setting.rb:110
797
+ msgid "must be passed a block"
798
+ msgstr ""
799
+
800
+ #: ../lib/pdk/config/yaml.rb:22 ../lib/pdk/config/yaml_with_schema.rb:39
801
+ msgid "Syntax error when loading %{file}: %{error}"
802
+ msgstr ""
803
+
804
+ #: ../lib/pdk/config/yaml.rb:27 ../lib/pdk/config/yaml_with_schema.rb:44
805
+ msgid "Unsupported class in %{file}: %{error}"
806
+ msgstr ""
807
+
808
+ #: ../lib/pdk/generate/module.rb:12
576
809
  msgid ""
577
810
  "'%{module_name}' is not a valid module name.\n"
578
811
  "Module names must begin with a lowercase letter and can only include lowercase letters, digits, and underscores."
579
812
  msgstr ""
580
813
 
581
- #: ../lib/pdk/generate/module.rb:32
814
+ #: ../lib/pdk/generate/module.rb:20
582
815
  msgid "The destination directory '%{dir}' already exists"
583
816
  msgstr ""
584
817
 
585
- #: ../lib/pdk/generate/module.rb:48
818
+ #: ../lib/pdk/generate/module.rb:42
586
819
  msgid "You do not have permission to write to '%{parent_dir}'"
587
820
  msgstr ""
588
821
 
589
- #: ../lib/pdk/generate/module.rb:91
590
- msgid "Module '%{name}' generated at path '%{path}', from template '%{template_url}'."
822
+ #: ../lib/pdk/generate/module.rb:94
823
+ msgid "Module '%{name}' generated at path '%{path}', from template '%{url}'."
591
824
  msgstr ""
592
825
 
593
- #: ../lib/pdk/generate/module.rb:92
826
+ #: ../lib/pdk/generate/module.rb:95
594
827
  msgid "In your module directory, add classes with the 'pdk new class' command."
595
828
  msgstr ""
596
829
 
597
- #: ../lib/pdk/generate/module.rb:95
830
+ #: ../lib/pdk/generate/module.rb:98
598
831
  msgid "Failed to move '%{source}' to '%{target}': %{message}"
599
832
  msgstr ""
600
833
 
601
- #: ../lib/pdk/generate/module.rb:109
834
+ #: ../lib/pdk/generate/module.rb:114
602
835
  msgid "Your username is not a valid Forge username. Proceeding with the username %{username}. You can fix this later in metadata.json."
603
836
  msgstr ""
604
837
 
605
- #: ../lib/pdk/generate/module.rb:144
838
+ #: ../lib/pdk/generate/module.rb:154
606
839
  msgid "Unable to create directory '%{dir}': %{message}"
607
840
  msgstr ""
608
841
 
609
- #: ../lib/pdk/generate/module.rb:156
842
+ #: ../lib/pdk/generate/module.rb:169
610
843
  msgid "If you have a name for your module, add it here."
611
844
  msgstr ""
612
845
 
613
- #: ../lib/pdk/generate/module.rb:157
846
+ #: ../lib/pdk/generate/module.rb:170
614
847
  msgid "This is the name that will be associated with your module, it should be relevant to the modules content."
615
848
  msgstr ""
616
849
 
617
- #: ../lib/pdk/generate/module.rb:160
850
+ #: ../lib/pdk/generate/module.rb:173
618
851
  msgid "Module names must begin with a lowercase letter and can only include lowercase letters, numbers, and underscores."
619
852
  msgstr ""
620
853
 
621
- #: ../lib/pdk/generate/module.rb:164
854
+ #: ../lib/pdk/generate/module.rb:177
622
855
  msgid "If you have a Puppet Forge username, add it here."
623
856
  msgstr ""
624
857
 
625
- #: ../lib/pdk/generate/module.rb:165
858
+ #: ../lib/pdk/generate/module.rb:178
626
859
  msgid "We can use this to upload your module to the Forge when it's complete."
627
860
  msgstr ""
628
861
 
629
- #: ../lib/pdk/generate/module.rb:168
862
+ #: ../lib/pdk/generate/module.rb:181
630
863
  msgid "Forge usernames can only contain lowercase letters and numbers"
631
864
  msgstr ""
632
865
 
633
- #: ../lib/pdk/generate/module.rb:173
866
+ #: ../lib/pdk/generate/module.rb:186
634
867
  msgid "What version is this module?"
635
868
  msgstr ""
636
869
 
637
- #: ../lib/pdk/generate/module.rb:174
870
+ #: ../lib/pdk/generate/module.rb:187
638
871
  msgid "Puppet uses Semantic Versioning (semver.org) to version modules."
639
872
  msgstr ""
640
873
 
641
- #: ../lib/pdk/generate/module.rb:177
874
+ #: ../lib/pdk/generate/module.rb:190
642
875
  msgid "Semantic Version numbers must be in the form MAJOR.MINOR.PATCH"
643
876
  msgstr ""
644
877
 
645
- #: ../lib/pdk/generate/module.rb:183
878
+ #: ../lib/pdk/generate/module.rb:196
646
879
  msgid "Who wrote this module?"
647
880
  msgstr ""
648
881
 
649
- #: ../lib/pdk/generate/module.rb:184
882
+ #: ../lib/pdk/generate/module.rb:197
650
883
  msgid "This is used to credit the module's author."
651
884
  msgstr ""
652
885
 
653
- #: ../lib/pdk/generate/module.rb:190
886
+ #: ../lib/pdk/generate/module.rb:203
654
887
  msgid "What license does this module code fall under?"
655
888
  msgstr ""
656
889
 
657
- #: ../lib/pdk/generate/module.rb:191
890
+ #: ../lib/pdk/generate/module.rb:204
658
891
  msgid "This should be an identifier from https://spdx.org/licenses/. Common values are \"Apache-2.0\", \"MIT\", or \"proprietary\"."
659
892
  msgstr ""
660
893
 
661
- #: ../lib/pdk/generate/module.rb:197
894
+ #: ../lib/pdk/generate/module.rb:210
662
895
  msgid "What operating systems does this module support?"
663
896
  msgstr ""
664
897
 
665
- #: ../lib/pdk/generate/module.rb:198
898
+ #: ../lib/pdk/generate/module.rb:211
666
899
  msgid "Use the up and down keys to move between the choices, space to select and enter to continue."
667
900
  msgstr ""
668
901
 
669
- #: ../lib/pdk/generate/module.rb:208
902
+ #: ../lib/pdk/generate/module.rb:222
670
903
  msgid "Summarize the purpose of this module in a single sentence."
671
904
  msgstr ""
672
905
 
673
- #: ../lib/pdk/generate/module.rb:209
906
+ #: ../lib/pdk/generate/module.rb:223
674
907
  msgid "This helps other Puppet users understand what the module does."
675
908
  msgstr ""
676
909
 
677
- #: ../lib/pdk/generate/module.rb:216
910
+ #: ../lib/pdk/generate/module.rb:230
678
911
  msgid "If there is a source code repository for this module, enter the URL here."
679
912
  msgstr ""
680
913
 
681
- #: ../lib/pdk/generate/module.rb:217
914
+ #: ../lib/pdk/generate/module.rb:231
682
915
  msgid "Skip this if no repository exists yet. You can update this later in the metadata.json."
683
916
  msgstr ""
684
917
 
685
- #: ../lib/pdk/generate/module.rb:224
918
+ #: ../lib/pdk/generate/module.rb:238
686
919
  msgid "If there is a URL where others can learn more about this module, enter it here."
687
920
  msgstr ""
688
921
 
689
- #: ../lib/pdk/generate/module.rb:225 ../lib/pdk/generate/module.rb:232
922
+ #: ../lib/pdk/generate/module.rb:239 ../lib/pdk/generate/module.rb:246
690
923
  msgid "Optional. You can update this later in the metadata.json."
691
924
  msgstr ""
692
925
 
693
- #: ../lib/pdk/generate/module.rb:231
926
+ #: ../lib/pdk/generate/module.rb:245
694
927
  msgid "If there is a public issue tracker for this module, enter its URL here."
695
928
  msgstr ""
696
929
 
697
- #: ../lib/pdk/generate/module.rb:258
698
- msgid "update"
930
+ #: ../lib/pdk/generate/module.rb:273
931
+ msgid ""
932
+ "\n"
933
+ "We need to update the metadata.json file for this module, so we\\'re going to ask you %{count} questions.\n"
699
934
  msgstr ""
700
935
 
701
- #: ../lib/pdk/generate/module.rb:258
702
- msgid "create"
936
+ #: ../lib/pdk/generate/module.rb:280
937
+ msgid ""
938
+ "\n"
939
+ "We need to create the metadata.json file for this module, so we\\'re going to ask you %{count} questions.\n"
703
940
  msgstr ""
704
941
 
705
- #: ../lib/pdk/generate/module.rb:259
942
+ #: ../lib/pdk/generate/module.rb:288
706
943
  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
944
  "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
945
  "\n"
711
946
  msgstr ""
712
947
 
713
- #: ../lib/pdk/generate/module.rb:273
948
+ #: ../lib/pdk/generate/module.rb:297
714
949
  msgid "No answers given, interview cancelled."
715
950
  msgstr ""
716
951
 
717
- #: ../lib/pdk/generate/module.rb:297
952
+ #: ../lib/pdk/generate/module.rb:323
718
953
  msgid "Metadata will be generated based on this information, continue?"
719
954
  msgstr ""
720
955
 
721
- #: ../lib/pdk/generate/module.rb:299
956
+ #: ../lib/pdk/generate/module.rb:325
722
957
  msgid "Interview cancelled; exiting."
723
958
  msgstr ""
724
959
 
725
- #: ../lib/pdk/generate/module.rb:303
960
+ #: ../lib/pdk/generate/module.rb:329
726
961
  msgid "Process cancelled; exiting."
727
962
  msgstr ""
728
963
 
@@ -730,135 +965,151 @@ msgstr ""
730
965
  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
966
  msgstr ""
732
967
 
733
- #: ../lib/pdk/generate/provider.rb:33
968
+ #: ../lib/pdk/generate/provider.rb:33 ../lib/pdk/generate/transport.rb:33
734
969
  msgid ".sync.yml not found"
735
970
  msgstr ""
736
971
 
737
- #: ../lib/pdk/generate/provider.rb:37
972
+ #: ../lib/pdk/generate/provider.rb:37 ../lib/pdk/generate/transport.rb:37
738
973
  msgid ".sync.yml contents is not a Hash"
739
974
  msgstr ""
740
975
 
741
- #: ../lib/pdk/generate/provider.rb:39
976
+ #: ../lib/pdk/generate/provider.rb:39 ../lib/pdk/generate/transport.rb:39
742
977
  msgid "Gemfile configuration not found"
743
978
  msgstr ""
744
979
 
745
- #: ../lib/pdk/generate/provider.rb:41
980
+ #: ../lib/pdk/generate/provider.rb:41 ../lib/pdk/generate/transport.rb:41
746
981
  msgid "Gemfile.optional configuration not found"
747
982
  msgstr ""
748
983
 
749
- #: ../lib/pdk/generate/provider.rb:43
984
+ #: ../lib/pdk/generate/provider.rb:43 ../lib/pdk/generate/transport.rb:43
750
985
  msgid "Gemfile.optional.:development configuration not found"
751
986
  msgstr ""
752
987
 
753
- #: ../lib/pdk/generate/provider.rb:45
988
+ #: ../lib/pdk/generate/provider.rb:45 ../lib/pdk/generate/transport.rb:45
754
989
  msgid "puppet-resource_api not found in the Gemfile config"
755
990
  msgstr ""
756
991
 
757
- #: ../lib/pdk/generate/provider.rb:47
992
+ #: ../lib/pdk/generate/provider.rb:47 ../lib/pdk/generate/transport.rb:47
758
993
  msgid "spec/spec_helper.rb configuration not found"
759
994
  msgstr ""
760
995
 
761
- #: ../lib/pdk/generate/provider.rb:49
996
+ #: ../lib/pdk/generate/provider.rb:49 ../lib/pdk/generate/transport.rb:49
762
997
  msgid "spec/spec_helper.rb.mock_with configuration not found"
763
998
  msgstr ""
764
999
 
765
- #: ../lib/pdk/generate/provider.rb:51
1000
+ #: ../lib/pdk/generate/provider.rb:51 ../lib/pdk/generate/transport.rb:51
766
1001
  msgid "spec/spec_helper.rb.mock_with not set to ':rspec'"
767
1002
  msgstr ""
768
1003
 
769
- #: ../lib/pdk/generate/puppet_object.rb:105
1004
+ #: ../lib/pdk/generate/puppet_object.rb:140
770
1005
  msgid "Unable to generate %{object_type}; '%{file}' already exists."
771
1006
  msgstr ""
772
1007
 
773
- #: ../lib/pdk/generate/puppet_object.rb:171
1008
+ #: ../lib/pdk/generate/puppet_object.rb:224
774
1009
  msgid "Creating '%{file}' from template."
775
1010
  msgstr ""
776
1011
 
777
- #: ../lib/pdk/generate/puppet_object.rb:178
1012
+ #: ../lib/pdk/generate/puppet_object.rb:231
778
1013
  msgid "Unable to create directory '%{path}': %{message}"
779
1014
  msgstr ""
780
1015
 
781
- #: ../lib/pdk/generate/puppet_object.rb:186
1016
+ #: ../lib/pdk/generate/puppet_object.rb:239
782
1017
  msgid "Unable to write to file '%{path}': %{message}"
783
1018
  msgstr ""
784
1019
 
785
- #: ../lib/pdk/generate/puppet_object.rb:209
786
- msgid "No %{dir_type} template specified; trying next template directory."
1020
+ #: ../lib/pdk/generate/puppet_object.rb:266
1021
+ msgid "No %{dir_type} template found; trying next template directory."
787
1022
  msgstr ""
788
1023
 
789
- #: ../lib/pdk/generate/puppet_object.rb:222
1024
+ #: ../lib/pdk/generate/puppet_object.rb:279
790
1025
  msgid "Unable to find a %{type} template in %{url}; trying next template directory."
791
1026
  msgstr ""
792
1027
 
793
- #: ../lib/pdk/generate/puppet_object.rb:224
1028
+ #: ../lib/pdk/generate/puppet_object.rb:281
794
1029
  msgid "Unable to find the %{type} template in %{url}."
795
1030
  msgstr ""
796
1031
 
797
- #: ../lib/pdk/generate/puppet_object.rb:283
798
- msgid "'%{dir}' does not contain valid Puppet module metadata: %{msg}"
799
- msgstr ""
800
-
801
1032
  #: ../lib/pdk/generate/task.rb:54
802
1033
  msgid "A task named '%{name}' already exists in this module; defined in %{file}"
803
1034
  msgstr ""
804
1035
 
805
- #: ../lib/pdk/module/build.rb:149
1036
+ #: ../lib/pdk/generate/transport.rb:23
1037
+ msgid "%{error}: Creating a transport needs some local configuration in your module. Please follow the docs at https://github.com/puppetlabs/puppet-resource_api#getting-started."
1038
+ msgstr ""
1039
+
1040
+ #: ../lib/pdk/module/build.rb:130
1041
+ msgid "%{message} Rename the file or exclude it from the package by adding it to the .pdkignore file in your module."
1042
+ msgstr ""
1043
+
1044
+ #: ../lib/pdk/module/build.rb:160
806
1045
  msgid "Symlinks in modules are not supported and will not be included in the package. Please investigate symlink %{from} -> %{to}."
807
1046
  msgstr ""
808
1047
 
809
- #: ../lib/pdk/module/convert.rb:23 ../lib/pdk/module/update.rb:18
1048
+ #: ../lib/pdk/module/build.rb:187
1049
+ msgid "The path '%{path}' is longer than 256 bytes."
1050
+ msgstr ""
1051
+
1052
+ #: ../lib/pdk/module/build.rb:211
1053
+ msgid "'%{path}' could not be split at a directory separator into two parts, the first having a maximum length of 155 bytes and the second having a maximum length of 100 bytes."
1054
+ msgstr ""
1055
+
1056
+ #: ../lib/pdk/module/build.rb:247
1057
+ msgid "Updated permissions of packaged '%{entry}' to %{new_mode}"
1058
+ msgstr ""
1059
+
1060
+ #: ../lib/pdk/module/convert.rb:27 ../lib/pdk/module/update.rb:20
810
1061
  msgid "No changes required."
811
1062
  msgstr ""
812
1063
 
813
- #: ../lib/pdk/module/convert.rb:34
1064
+ #: ../lib/pdk/module/convert.rb:42
814
1065
  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
1066
  msgstr ""
816
1067
 
817
- #: ../lib/pdk/module/convert.rb:39 ../lib/pdk/module/update.rb:30
1068
+ #: ../lib/pdk/module/convert.rb:47 ../lib/pdk/module/update.rb:32
818
1069
  msgid "Do you want to continue and make these changes to your module?"
819
1070
  msgstr ""
820
1071
 
821
- #: ../lib/pdk/module/convert.rb:85
1072
+ #: ../lib/pdk/module/convert.rb:133
822
1073
  msgid "skipping '%{path}'"
823
1074
  msgstr ""
824
1075
 
825
- #: ../lib/pdk/module/convert.rb:112
1076
+ #: ../lib/pdk/module/convert.rb:172
826
1077
  msgid "Unable to update module metadata; %{path} exists but it is not readable."
827
1078
  msgstr ""
828
1079
 
829
- #: ../lib/pdk/module/convert.rb:128
1080
+ #: ../lib/pdk/module/convert.rb:188
830
1081
  msgid "Unable to update module metadata; %{path} exists but it is not a file."
831
1082
  msgstr ""
832
1083
 
833
- #: ../lib/pdk/module/convert.rb:171 ../lib/pdk/module/convert.rb:176 ../lib/pdk/module/convert.rb:180
1084
+ #: ../lib/pdk/module/convert.rb:233 ../lib/pdk/module/convert.rb:238 ../lib/pdk/module/convert.rb:244
834
1085
  msgid ""
835
1086
  "\n"
836
1087
  "%{banner}"
837
1088
  msgstr ""
838
1089
 
839
- #: ../lib/pdk/module/convert.rb:182
1090
+ #: ../lib/pdk/module/convert.rb:246
840
1091
  msgid ""
841
1092
  "\n"
842
1093
  "%{summary}\n"
843
1094
  "\n"
844
1095
  msgstr ""
845
1096
 
846
- #: ../lib/pdk/module/convert.rb:193
1097
+ #: ../lib/pdk/module/convert.rb:259
847
1098
  msgid ""
848
1099
  "\n"
849
1100
  "You can find a report of differences in %{path}.\n"
850
1101
  "\n"
851
1102
  msgstr ""
852
1103
 
853
- #: ../lib/pdk/module/metadata.rb:94
1104
+ #: ../lib/pdk/module/metadata.rb:93
854
1105
  msgid "Cannot read metadata from file: no path to file was given."
855
1106
  msgstr ""
856
1107
 
857
- #: ../lib/pdk/module/metadata.rb:98
1108
+ #: ../lib/pdk/module/metadata.rb:97
858
1109
  msgid "'%{file}' does not exist or is not a file."
859
1110
  msgstr ""
860
1111
 
861
- #: ../lib/pdk/module/metadata.rb:102
1112
+ #: ../lib/pdk/module/metadata.rb:101
862
1113
  msgid "Unable to open '%{file}' for reading."
863
1114
  msgstr ""
864
1115
 
@@ -866,161 +1117,173 @@ msgstr ""
866
1117
  msgid "Invalid JSON in metadata.json: %{msg}"
867
1118
  msgstr ""
868
1119
 
869
- #: ../lib/pdk/module/metadata.rb:139
1120
+ #: ../lib/pdk/module/metadata.rb:144
870
1121
  msgid "Module metadata does not contain any requirements."
871
1122
  msgstr ""
872
1123
 
873
- #: ../lib/pdk/module/metadata.rb:140
1124
+ #: ../lib/pdk/module/metadata.rb:145
874
1125
  msgid "Module metadata does not contain a \"puppet\" requirement."
875
1126
  msgstr ""
876
1127
 
877
- #: ../lib/pdk/module/metadata.rb:141
1128
+ #: ../lib/pdk/module/metadata.rb:146
878
1129
  msgid "The \"puppet\" requirement in module metadata does not specify a \"version_requirement\"."
879
1130
  msgstr ""
880
1131
 
881
- #: ../lib/pdk/module/metadata.rb:181
1132
+ #: ../lib/pdk/module/metadata.rb:186
882
1133
  msgid "Field must be a dash-separated user name and module name."
883
1134
  msgstr ""
884
1135
 
885
- #: ../lib/pdk/module/metadata.rb:183
1136
+ #: ../lib/pdk/module/metadata.rb:188
886
1137
  msgid "Module name must contain only alphanumeric or underscore characters."
887
1138
  msgstr ""
888
1139
 
889
- #: ../lib/pdk/module/metadata.rb:185
1140
+ #: ../lib/pdk/module/metadata.rb:190
890
1141
  msgid "Module name must begin with a letter."
891
1142
  msgstr ""
892
1143
 
893
- #: ../lib/pdk/module/metadata.rb:187
1144
+ #: ../lib/pdk/module/metadata.rb:192
894
1145
  msgid "Namespace must contain only alphanumeric characters."
895
1146
  msgstr ""
896
1147
 
897
- #: ../lib/pdk/module/metadata.rb:190
1148
+ #: ../lib/pdk/module/metadata.rb:195
898
1149
  msgid "Invalid 'name' field in metadata.json: %{err}"
899
1150
  msgstr ""
900
1151
 
901
- #: ../lib/pdk/module/templatedir.rb:42
1152
+ #: ../lib/pdk/module/templatedir.rb:40
902
1153
  msgid "%{class_name} must be initialized with a block."
903
1154
  msgstr ""
904
1155
 
905
- #: ../lib/pdk/module/templatedir.rb:109
1156
+ #: ../lib/pdk/module/templatedir.rb:43
1157
+ msgid "PDK::Module::TemplateDir.new must be initialized with a PDK::Util::TemplateURI, got a %{uri_type}"
1158
+ msgstr ""
1159
+
1160
+ #: ../lib/pdk/module/templatedir.rb:57
1161
+ msgid "Repository '%{repo}' has a work-tree; skipping git reset."
1162
+ msgstr ""
1163
+
1164
+ #: ../lib/pdk/module/templatedir.rb:124
906
1165
  msgid "Rendering '%{template}'..."
907
1166
  msgstr ""
908
1167
 
909
- #: ../lib/pdk/module/templatedir.rb:122
1168
+ #: ../lib/pdk/module/templatedir.rb:142
910
1169
  msgid ""
911
1170
  "Failed to render template '%{template}'\n"
912
1171
  "%{exception}: %{message}"
913
1172
  msgstr ""
914
1173
 
915
- #: ../lib/pdk/module/templatedir.rb:191
1174
+ #: ../lib/pdk/module/templatedir.rb:215
916
1175
  msgid "The built-in template has substantially changed. Please run \"pdk convert\" on your module to continue."
917
1176
  msgstr ""
918
1177
 
919
- #: ../lib/pdk/module/templatedir.rb:193
1178
+ #: ../lib/pdk/module/templatedir.rb:217
920
1179
  msgid "The specified template '%{path}' is not a directory."
921
1180
  msgstr ""
922
1181
 
923
- #: ../lib/pdk/module/templatedir.rb:198
1182
+ #: ../lib/pdk/module/templatedir.rb:222
924
1183
  msgid "The template at '%{path}' does not contain a 'moduleroot/' directory."
925
1184
  msgstr ""
926
1185
 
927
- #: ../lib/pdk/module/templatedir.rb:203
1186
+ #: ../lib/pdk/module/templatedir.rb:227
928
1187
  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
1188
  msgstr ""
930
1189
 
931
- #: ../lib/pdk/module/templatedir.rb:218
1190
+ #: ../lib/pdk/module/templatedir.rb:243
932
1191
  msgid "The directory '%{dir}' doesn't exist"
933
1192
  msgstr ""
934
1193
 
935
- #: ../lib/pdk/module/templatedir.rb:273
1194
+ #: ../lib/pdk/module/templatedir.rb:318
936
1195
  msgid "'%{file}' is not a valid YAML file: %{problem} %{context} at line %{line} column %{column}"
937
1196
  msgstr ""
938
1197
 
939
- #: ../lib/pdk/module/templatedir.rb:308
940
- msgid "Unable to set HEAD of git repository at '%{repo}' to ref:'%{ref}'."
1198
+ #: ../lib/pdk/module/templatedir.rb:356
1199
+ msgid "Unable to clone git repository at '%{repo}' into '%{dest}'."
941
1200
  msgstr ""
942
1201
 
943
- #: ../lib/pdk/module/templatedir.rb:314
944
- msgid "Unable to clone git repository at '%{repo}' into '%{dest}'."
1202
+ #: ../lib/pdk/module/templatedir.rb:375
1203
+ msgid "Unable to checkout '%{ref}' of git repository at '%{path}'."
1204
+ msgstr ""
1205
+
1206
+ #: ../lib/pdk/module/templatedir.rb:378
1207
+ msgid "Uncommitted changes found when attempting to checkout '%{ref}' of git repository at '%{path}'; skipping git reset."
945
1208
  msgstr ""
946
1209
 
947
- #: ../lib/pdk/module/update.rb:12
1210
+ #: ../lib/pdk/module/update.rb:14
948
1211
  msgid "This module is already up to date with version %{version} of the template."
949
1212
  msgstr ""
950
1213
 
951
- #: ../lib/pdk/module/update.rb:97
1214
+ #: ../lib/pdk/module/update.rb:109
952
1215
  msgid "Updating %{module_name} using the default template, from %{current_version} to %{new_version}"
953
1216
  msgstr ""
954
1217
 
955
- #: ../lib/pdk/module/update.rb:99
1218
+ #: ../lib/pdk/module/update.rb:111
956
1219
  msgid "Updating %{module_name} using the template at %{template_url}, from %{current_version} to %{new_version}"
957
1220
  msgstr ""
958
1221
 
959
- #: ../lib/pdk/module/update_manager.rb:110
1222
+ #: ../lib/pdk/module/update_manager.rb:109
960
1223
  msgid "unlinking '%{path}'"
961
1224
  msgstr ""
962
1225
 
963
- #: ../lib/pdk/module/update_manager.rb:113
1226
+ #: ../lib/pdk/module/update_manager.rb:112
964
1227
  msgid "'%{path}': already gone"
965
1228
  msgstr ""
966
1229
 
967
- #: ../lib/pdk/module/update_manager.rb:116
1230
+ #: ../lib/pdk/module/update_manager.rb:115
968
1231
  msgid "Unable to remove '%{path}': %{message}"
969
1232
  msgstr ""
970
1233
 
971
- #: ../lib/pdk/module/update_manager.rb:134
1234
+ #: ../lib/pdk/module/update_manager.rb:135
972
1235
  msgid "Unable to open '%{path}' for reading"
973
1236
  msgstr ""
974
1237
 
975
- #: ../lib/pdk/module/update_manager.rb:151
1238
+ #: ../lib/pdk/module/update_manager.rb:154
976
1239
  msgid "writing '%{path}'"
977
1240
  msgstr ""
978
1241
 
979
- #: ../lib/pdk/module/update_manager.rb:154
1242
+ #: ../lib/pdk/module/update_manager.rb:157
980
1243
  msgid "You do not have permission to write to '%{path}'"
981
1244
  msgstr ""
982
1245
 
983
- #: ../lib/pdk/report/event.rb:191
1246
+ #: ../lib/pdk/report/event.rb:190
984
1247
  msgid "File not specified."
985
1248
  msgstr ""
986
1249
 
987
- #: ../lib/pdk/report/event.rb:195
1250
+ #: ../lib/pdk/report/event.rb:194
988
1251
  msgid "File must be a String."
989
1252
  msgstr ""
990
1253
 
991
- #: ../lib/pdk/report/event.rb:228
1254
+ #: ../lib/pdk/report/event.rb:230
992
1255
  msgid "State not specified."
993
1256
  msgstr ""
994
1257
 
995
- #: ../lib/pdk/report/event.rb:233
1258
+ #: ../lib/pdk/report/event.rb:235
996
1259
  msgid "State must be a Symbol, not %{type}"
997
1260
  msgstr ""
998
1261
 
999
- #: ../lib/pdk/report/event.rb:238
1262
+ #: ../lib/pdk/report/event.rb:240
1000
1263
  msgid "Invalid state %{state}. Valid states are: %{valid}."
1001
1264
  msgstr ""
1002
1265
 
1003
- #: ../lib/pdk/report/event.rb:257
1266
+ #: ../lib/pdk/report/event.rb:259
1004
1267
  msgid "Source not specified."
1005
1268
  msgstr ""
1006
1269
 
1007
- #: ../lib/pdk/report/event.rb:278
1270
+ #: ../lib/pdk/report/event.rb:280
1008
1271
  msgid "Line must be an Integer or a String representation of an Integer."
1009
1272
  msgstr ""
1010
1273
 
1011
- #: ../lib/pdk/report/event.rb:282
1274
+ #: ../lib/pdk/report/event.rb:284
1012
1275
  msgid "The line number can contain only the digits 0-9."
1013
1276
  msgstr ""
1014
1277
 
1015
- #: ../lib/pdk/report/event.rb:303
1278
+ #: ../lib/pdk/report/event.rb:305
1016
1279
  msgid "Column must be an Integer or a String representation of an Integer."
1017
1280
  msgstr ""
1018
1281
 
1019
- #: ../lib/pdk/report/event.rb:307
1282
+ #: ../lib/pdk/report/event.rb:309
1020
1283
  msgid "The column number can contain only the digits 0-9."
1021
1284
  msgstr ""
1022
1285
 
1023
- #: ../lib/pdk/report/event.rb:325
1286
+ #: ../lib/pdk/report/event.rb:327
1024
1287
  msgid "Trace must be an Array of stack trace lines."
1025
1288
  msgstr ""
1026
1289
 
@@ -1028,185 +1291,241 @@ msgstr ""
1028
1291
  msgid "'%{template}' is not a readable file"
1029
1292
  msgstr ""
1030
1293
 
1031
- #: ../lib/pdk/tests/unit.rb:47
1294
+ #: ../lib/pdk/tests/unit.rb:64
1032
1295
  msgid "Cleaning up after running unit tests."
1033
1296
  msgstr ""
1034
1297
 
1035
- #: ../lib/pdk/tests/unit.rb:51
1298
+ #: ../lib/pdk/tests/unit.rb:68
1036
1299
  msgid "The spec_clean rake task failed with the following error(s):"
1037
1300
  msgstr ""
1038
1301
 
1039
- #: ../lib/pdk/tests/unit.rb:52
1302
+ #: ../lib/pdk/tests/unit.rb:69
1040
1303
  msgid "Failed to clean up after running unit tests"
1041
1304
  msgstr ""
1042
1305
 
1043
- #: ../lib/pdk/tests/unit.rb:56
1306
+ #: ../lib/pdk/tests/unit.rb:73
1044
1307
  msgid "Preparing to run the unit tests."
1045
1308
  msgstr ""
1046
1309
 
1047
- #: ../lib/pdk/tests/unit.rb:62
1310
+ #: ../lib/pdk/tests/unit.rb:79
1048
1311
  msgid "The spec_prep rake task failed with the following error(s):"
1049
1312
  msgstr ""
1050
1313
 
1051
- #: ../lib/pdk/tests/unit.rb:63
1314
+ #: ../lib/pdk/tests/unit.rb:80
1052
1315
  msgid "Failed to prepare to run the unit tests."
1053
1316
  msgstr ""
1054
1317
 
1055
- #: ../lib/pdk/tests/unit.rb:75
1056
- msgid "Running unit tests."
1318
+ #: ../lib/pdk/tests/unit.rb:95
1319
+ msgid "Running unit tests in parallel."
1057
1320
  msgstr ""
1058
1321
 
1059
- #: ../lib/pdk/tests/unit.rb:75
1060
- msgid "Running unit tests in parallel."
1322
+ #: ../lib/pdk/tests/unit.rb:95
1323
+ msgid "Running unit tests."
1061
1324
  msgstr ""
1062
1325
 
1063
- #: ../lib/pdk/tests/unit.rb:89
1326
+ #: ../lib/pdk/tests/unit.rb:115
1064
1327
  msgid "Unit test output did not contain a valid JSON result: %{output}"
1065
1328
  msgstr ""
1066
1329
 
1067
- #: ../lib/pdk/tests/unit.rb:141
1330
+ #: ../lib/pdk/tests/unit.rb:167
1068
1331
  msgid "Evaluated %{total} tests in %{duration} seconds: %{failures} failures, %{pending} pending."
1069
1332
  msgstr ""
1070
1333
 
1071
- #: ../lib/pdk/tests/unit.rb:197
1334
+ #: ../lib/pdk/tests/unit.rb:221
1335
+ msgid "Finding unit tests."
1336
+ msgstr ""
1337
+
1338
+ #: ../lib/pdk/tests/unit.rb:224
1072
1339
  msgid "Failed to find valid JSON in output from rspec: %{output}"
1073
1340
  msgstr ""
1074
1341
 
1075
- #: ../lib/pdk/tests/unit.rb:202
1342
+ #: ../lib/pdk/tests/unit.rb:229
1076
1343
  msgid "Unable to enumerate examples. rspec reported: %{message}"
1077
1344
  msgstr ""
1078
1345
 
1079
- #: ../lib/pdk/util.rb:60
1346
+ #: ../lib/pdk/util.rb:59
1080
1347
  msgid "Cannot resolve a full path to '%{path}', as it does not currently exist."
1081
1348
  msgstr ""
1082
1349
 
1083
- #: ../lib/pdk/util.rb:85
1350
+ #: ../lib/pdk/util.rb:88
1084
1351
  msgid "Package basedir requested for non-package install."
1085
1352
  msgstr ""
1086
1353
 
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
1354
+ #: ../lib/pdk/util/bundler.rb:15
1092
1355
  msgid "Bundler managed gems already up to date."
1093
1356
  msgstr ""
1094
1357
 
1095
- #: ../lib/pdk/util/bundler.rb:24
1358
+ #: ../lib/pdk/util/bundler.rb:20
1096
1359
  msgid "No Gemfile found in '%{cwd}'. Skipping bundler management."
1097
1360
  msgstr ""
1098
1361
 
1099
- #: ../lib/pdk/util/bundler.rb:97
1362
+ #: ../lib/pdk/util/bundler.rb:96
1100
1363
  msgid "Checking for missing Gemfile dependencies."
1101
1364
  msgstr ""
1102
1365
 
1103
- #: ../lib/pdk/util/bundler.rb:126
1366
+ #: ../lib/pdk/util/bundler.rb:125
1104
1367
  msgid "Vendored Gemfile.lock (%{source}) not found."
1105
1368
  msgstr ""
1106
1369
 
1107
- #: ../lib/pdk/util/bundler.rb:131
1370
+ #: ../lib/pdk/util/bundler.rb:130
1108
1371
  msgid "Using vendored Gemfile.lock from %{source}."
1109
1372
  msgstr ""
1110
1373
 
1111
- #: ../lib/pdk/util/bundler.rb:137
1374
+ #: ../lib/pdk/util/bundler.rb:136
1112
1375
  msgid "Resolving default Gemfile dependencies."
1113
1376
  msgstr ""
1114
1377
 
1115
- #: ../lib/pdk/util/bundler.rb:144
1378
+ #: ../lib/pdk/util/bundler.rb:143
1116
1379
  msgid "Unable to resolve default Gemfile dependencies."
1117
1380
  msgstr ""
1118
1381
 
1119
- #: ../lib/pdk/util/bundler.rb:157
1382
+ #: ../lib/pdk/util/bundler.rb:156
1120
1383
  msgid "Updating Gemfile dependencies."
1121
1384
  msgstr ""
1122
1385
 
1123
- #: ../lib/pdk/util/bundler.rb:185
1386
+ #: ../lib/pdk/util/bundler.rb:184
1124
1387
  msgid "Unable to resolve Gemfile dependencies."
1125
1388
  msgstr ""
1126
1389
 
1127
- #: ../lib/pdk/util/bundler.rb:196
1390
+ #: ../lib/pdk/util/bundler.rb:197
1128
1391
  msgid "Installing missing Gemfile dependencies."
1129
1392
  msgstr ""
1130
1393
 
1131
- #: ../lib/pdk/util/bundler.rb:204
1394
+ #: ../lib/pdk/util/bundler.rb:205
1132
1395
  msgid "Unable to install missing Gemfile dependencies."
1133
1396
  msgstr ""
1134
1397
 
1135
- #: ../lib/pdk/util/bundler.rb:218
1398
+ #: ../lib/pdk/util/bundler.rb:219
1136
1399
  msgid ""
1137
1400
  "Failed to generate binstubs for '%{gems}':\n"
1138
1401
  "%{output}"
1139
1402
  msgstr ""
1140
1403
 
1141
- #: ../lib/pdk/util/bundler.rb:219
1404
+ #: ../lib/pdk/util/bundler.rb:220
1142
1405
  msgid "Unable to install requested binstubs."
1143
1406
  msgstr ""
1144
1407
 
1145
- #: ../lib/pdk/util/git.rb:64
1408
+ #: ../lib/pdk/util/git.rb:15
1409
+ msgid "Git command failed: git %{args}"
1410
+ msgstr ""
1411
+
1412
+ #: ../lib/pdk/util/git.rb:90
1413
+ msgid "Unable to locate git work dir \"%{workdir}\""
1414
+ msgstr ""
1415
+
1416
+ #: ../lib/pdk/util/git.rb:91
1417
+ msgid "Unable to locate git dir \"%{gitdir}\""
1418
+ msgstr ""
1419
+
1420
+ #: ../lib/pdk/util/git.rb:106
1146
1421
  msgid "Unable to access the template repository \"%{repository}\""
1147
1422
  msgstr ""
1148
1423
 
1149
- #: ../lib/pdk/util/puppet_version.rb:38
1424
+ #: ../lib/pdk/util/git.rb:113
1425
+ msgid "Unable to find a branch or tag named \"%{ref}\" in %{repo}"
1426
+ msgstr ""
1427
+
1428
+ #: ../lib/pdk/util/puppet_strings.rb:23
1429
+ msgid "Examining module contents"
1430
+ msgstr ""
1431
+
1432
+ #: ../lib/pdk/util/puppet_strings.rb:45
1433
+ msgid "Unable to parse puppet-strings output"
1434
+ msgstr ""
1435
+
1436
+ #: ../lib/pdk/util/puppet_version.rb:39
1150
1437
  msgid "Unable to find a Puppet gem in current Ruby environment or from Rubygems.org."
1151
1438
  msgstr ""
1152
1439
 
1153
- #: ../lib/pdk/util/puppet_version.rb:59
1154
- msgid "Unable to clone git repository at '%{repo}'."
1440
+ #: ../lib/pdk/util/puppet_version.rb:63
1441
+ msgid "Unable to clone git repository from '%{repo}'."
1155
1442
  msgstr ""
1156
1443
 
1157
- #: ../lib/pdk/util/puppet_version.rb:68
1444
+ #: ../lib/pdk/util/puppet_version.rb:72
1158
1445
  msgid "Unable to fetch from git remote at '%{repo}'."
1159
1446
  msgstr ""
1160
1447
 
1161
- #: ../lib/pdk/util/puppet_version.rb:77
1448
+ #: ../lib/pdk/util/puppet_version.rb:81
1162
1449
  msgid "Unable to update git repository at '%{cachedir}'."
1163
1450
  msgstr ""
1164
1451
 
1165
- #: ../lib/pdk/util/puppet_version.rb:98
1452
+ #: ../lib/pdk/util/puppet_version.rb:102
1166
1453
  msgid "Unable to find a Puppet gem matching %{requirement}."
1167
1454
  msgstr ""
1168
1455
 
1169
- #: ../lib/pdk/util/puppet_version.rb:105
1456
+ #: ../lib/pdk/util/puppet_version.rb:109
1170
1457
  msgid "Puppet %{requested_version} is not available, activating %{found_version} instead."
1171
1458
  msgstr ""
1172
1459
 
1173
- #: ../lib/pdk/util/puppet_version.rb:122
1460
+ #: ../lib/pdk/util/puppet_version.rb:126
1174
1461
  msgid "Unable to map Puppet Enterprise version %{pe_version} to a Puppet version."
1175
1462
  msgstr ""
1176
1463
 
1177
- #: ../lib/pdk/util/puppet_version.rb:127
1464
+ #: ../lib/pdk/util/puppet_version.rb:131
1178
1465
  msgid "Puppet Enterprise %{pe_version} maps to Puppet %{puppet_version}."
1179
1466
  msgstr ""
1180
1467
 
1181
- #: ../lib/pdk/util/puppet_version.rb:140
1468
+ #: ../lib/pdk/util/puppet_version.rb:147
1182
1469
  msgid "Unable to determine Puppet version for module: no metadata.json present in module."
1183
1470
  msgstr ""
1184
1471
 
1185
- #: ../lib/pdk/util/puppet_version.rb:166
1472
+ #: ../lib/pdk/util/puppet_version.rb:173
1186
1473
  msgid "%{version} is not a valid version number."
1187
1474
  msgstr ""
1188
1475
 
1189
- #: ../lib/pdk/util/puppet_version.rb:200
1476
+ #: ../lib/pdk/util/puppet_version.rb:209
1190
1477
  msgid "Failed to parse Puppet Enterprise version map file."
1191
1478
  msgstr ""
1192
1479
 
1193
- #: ../lib/pdk/util/ruby_version.rb:33
1480
+ #: ../lib/pdk/util/ruby_version.rb:36
1194
1481
  msgid "Unknown Ruby version \"%{ruby_version}\""
1195
1482
  msgstr ""
1196
1483
 
1197
- #: ../lib/pdk/util/vendored_file.rb:49
1484
+ #: ../lib/pdk/util/template_uri.rb:49
1485
+ msgid "PDK::Util::TemplateURI attempted initialization with a non-uri string: {string}"
1486
+ msgstr ""
1487
+
1488
+ #: ../lib/pdk/util/template_uri.rb:165
1489
+ msgid "%{scp_uri} appears to be an SCP style URL; it will be converted to an RFC compliant URI: %{rfc_uri}"
1490
+ msgstr ""
1491
+
1492
+ #: ../lib/pdk/util/template_uri.rb:216
1493
+ msgid "--template-url"
1494
+ msgstr ""
1495
+
1496
+ #: ../lib/pdk/util/template_uri.rb:217
1497
+ msgid "metadata.json"
1498
+ msgstr ""
1499
+
1500
+ #: ../lib/pdk/util/template_uri.rb:218
1501
+ msgid "PDK answers"
1502
+ msgstr ""
1503
+
1504
+ #: ../lib/pdk/util/template_uri.rb:219
1505
+ msgid "default"
1506
+ msgstr ""
1507
+
1508
+ #: ../lib/pdk/util/template_uri.rb:243
1509
+ msgid "Unable to find a valid module template to use."
1510
+ msgstr ""
1511
+
1512
+ #: ../lib/pdk/util/template_uri.rb:268
1513
+ msgid "Unable to find a valid template at %{uri}"
1514
+ msgstr ""
1515
+
1516
+ #: ../lib/pdk/util/vendored_file.rb:48
1198
1517
  msgid "%{file_name} was not found in the cache, downloading it from %{url}."
1199
1518
  msgstr ""
1200
1519
 
1201
- #: ../lib/pdk/util/vendored_file.rb:64
1520
+ #: ../lib/pdk/util/vendored_file.rb:63
1202
1521
  msgid "Unable to download %{url}. %{code}: %{message}."
1203
1522
  msgstr ""
1204
1523
 
1205
- #: ../lib/pdk/util/vendored_file.rb:73
1524
+ #: ../lib/pdk/util/vendored_file.rb:72
1206
1525
  msgid "Unable to download %{url}. Check internet connectivity and try again. %{error}"
1207
1526
  msgstr ""
1208
1527
 
1209
- #: ../lib/pdk/util/windows/api_types.rb:31
1528
+ #: ../lib/pdk/util/windows/api_types.rb:24
1210
1529
  msgid "Unable to convert value %{string} to encoding %{encoding} due to %{error}"
1211
1530
  msgstr ""
1212
1531
 
@@ -1214,82 +1533,90 @@ msgstr ""
1214
1533
  msgid "Failed to call GetLongPathName"
1215
1534
  msgstr ""
1216
1535
 
1217
- #: ../lib/pdk/validate/base_validator.rb:108
1536
+ #: ../lib/pdk/validate/base_validator.rb:103
1218
1537
  msgid "Invoking %{cmd}"
1219
1538
  msgstr ""
1220
1539
 
1221
- #: ../lib/pdk/validate/base_validator.rb:113
1540
+ #: ../lib/pdk/validate/base_validator.rb:108
1222
1541
  msgid "%{validator}: Skipped '%{target}'. Target does not contain any files to validate (%{pattern})."
1223
1542
  msgstr ""
1224
1543
 
1225
- #: ../lib/pdk/validate/base_validator.rb:117
1544
+ #: ../lib/pdk/validate/base_validator.rb:112
1226
1545
  msgid "Target does not contain any files to validate (%{pattern})."
1227
1546
  msgstr ""
1228
1547
 
1229
- #: ../lib/pdk/validate/base_validator.rb:126
1548
+ #: ../lib/pdk/validate/base_validator.rb:121
1230
1549
  msgid "%{validator}: Skipped '%{target}'. Target file not found."
1231
1550
  msgstr ""
1232
1551
 
1233
- #: ../lib/pdk/validate/base_validator.rb:130
1552
+ #: ../lib/pdk/validate/base_validator.rb:125
1234
1553
  msgid "File does not exist."
1235
1554
  msgstr ""
1236
1555
 
1237
- #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:23
1556
+ #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:19
1238
1557
  msgid "Checking module metadata style (%{targets})."
1239
1558
  msgstr ""
1240
1559
 
1241
- #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:40
1560
+ #: ../lib/pdk/validate/metadata/metadata_json_lint.rb:36
1242
1561
  msgid "More than 1 target provided to PDK::Validate::MetadataJSONLint."
1243
1562
  msgstr ""
1244
1563
 
1245
- #: ../lib/pdk/validate/metadata/metadata_syntax.rb:18
1564
+ #: ../lib/pdk/validate/metadata/metadata_syntax.rb:15
1246
1565
  msgid "Checking metadata syntax (%{targets})."
1247
1566
  msgstr ""
1248
1567
 
1249
- #: ../lib/pdk/validate/metadata/metadata_syntax.rb:69 ../lib/pdk/validate/tasks/metadata_lint.rb:77 ../lib/pdk/validate/yaml/syntax.rb:74
1568
+ #: ../lib/pdk/validate/metadata/metadata_syntax.rb:71 ../lib/pdk/validate/tasks/metadata_lint.rb:81 ../lib/pdk/validate/yaml/syntax.rb:76
1250
1569
  msgid "Could not be read."
1251
1570
  msgstr ""
1252
1571
 
1253
- #: ../lib/pdk/validate/puppet/puppet_lint.rb:22
1572
+ #: ../lib/pdk/validate/puppet/puppet_epp.rb:43
1573
+ msgid "Checking Puppet EPP syntax (%{pattern})."
1574
+ msgstr ""
1575
+
1576
+ #: ../lib/pdk/validate/puppet/puppet_lint.rb:19
1254
1577
  msgid "Checking Puppet manifest style (%{pattern})."
1255
1578
  msgstr ""
1256
1579
 
1257
- #: ../lib/pdk/validate/puppet/puppet_syntax.rb:47
1580
+ #: ../lib/pdk/validate/puppet/puppet_syntax.rb:43
1258
1581
  msgid "Checking Puppet manifest syntax (%{pattern})."
1259
1582
  msgstr ""
1260
1583
 
1261
- #: ../lib/pdk/validate/ruby/rubocop.rb:26
1584
+ #: ../lib/pdk/validate/ruby/rubocop.rb:21
1262
1585
  msgid "Checking Ruby code style (%{pattern})."
1263
1586
  msgstr ""
1264
1587
 
1265
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:23
1588
+ #: ../lib/pdk/validate/tasks/metadata_lint.rb:18
1266
1589
  msgid "Checking task metadata style (%{targets})."
1267
1590
  msgstr ""
1268
1591
 
1269
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:56
1592
+ #: ../lib/pdk/validate/tasks/metadata_lint.rb:58
1270
1593
  msgid "Failed to parse Task Metadata Schema file."
1271
1594
  msgstr ""
1272
1595
 
1273
- #: ../lib/pdk/validate/tasks/metadata_lint.rb:92
1596
+ #: ../lib/pdk/validate/tasks/metadata_lint.rb:96
1274
1597
  msgid "Unable to validate Task Metadata. %{error}."
1275
1598
  msgstr ""
1276
1599
 
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."
1600
+ #: ../lib/pdk/validate/tasks/name.rb:7
1601
+ msgid "Invalid task name. Task names must start with a lowercase letter and can only contain lowercase letters, numbers, and underscores."
1279
1602
  msgstr ""
1280
1603
 
1281
- #: ../lib/pdk/validate/tasks/name.rb:23
1604
+ #: ../lib/pdk/validate/tasks/name.rb:21
1282
1605
  msgid "Checking task names (%{targets})."
1283
1606
  msgstr ""
1284
1607
 
1285
- #: ../lib/pdk/validate/yaml/syntax.rb:28
1608
+ #: ../lib/pdk/validate/yaml/syntax.rb:24
1286
1609
  msgid "Checking YAML syntax (%{targets})."
1287
1610
  msgstr ""
1288
1611
 
1289
- #: ../lib/pdk/validate/yaml/syntax.rb:97
1612
+ #: ../lib/pdk/validate/yaml/syntax.rb:65
1613
+ msgid "Validating yaml content of %{parsed_targets}"
1614
+ msgstr ""
1615
+
1616
+ #: ../lib/pdk/validate/yaml/syntax.rb:99
1290
1617
  msgid "%{problem} %{context}"
1291
1618
  msgstr ""
1292
1619
 
1293
- #: ../lib/pdk/validate/yaml/syntax.rb:109
1620
+ #: ../lib/pdk/validate/yaml/syntax.rb:111
1294
1621
  msgid "Unsupported class: %{message}"
1295
1622
  msgstr ""