pdk 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/lib/pdk/cli.rb +1 -1
- data/lib/pdk/cli/bundle.rb +3 -1
- data/lib/pdk/cli/convert.rb +6 -1
- data/lib/pdk/cli/errors.rb +6 -4
- data/lib/pdk/cli/new/class.rb +4 -1
- data/lib/pdk/cli/new/defined_type.rb +4 -1
- data/lib/pdk/cli/new/task.rb +4 -1
- data/lib/pdk/cli/test/unit.rb +4 -1
- data/lib/pdk/cli/util.rb +2 -2
- data/lib/pdk/cli/validate.rb +4 -1
- data/lib/pdk/util.rb +6 -0
- data/lib/pdk/util/git.rb +6 -0
- data/lib/pdk/version.rb +2 -2
- data/locales/pdk.pot +266 -134
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8152056a45f108c734ac1eb4a017e986cad496b1
|
4
|
+
data.tar.gz: 1a0c6eb3e786de37918cc21fa6247a6460c848bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 372986f1e28505390b9f27e0ff3edb28249b3a142719a5f89392cbd222c76260c4de03c452b3a6c2a59e8e9d775be353a24143c2df4adcb933d4799860973eac
|
7
|
+
data.tar.gz: d6e711d87610a449e833f48afeb3dc6105ef880ef7b70041384a7107b020e97b52618699101a4ff4a8c14adb13ef4f085b4d561b1138c2474667d36ce15d45a1
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,20 @@ All changes to this repo will be documented in this file.
|
|
4
4
|
See the [release notes](https://puppet.com/docs/pdk/latest/release_notes.html) for a high-level summary.
|
5
5
|
|
6
6
|
|
7
|
+
## [v1.3.2](https://github.com/puppetlabs/pdk/tree/v1.3.2) (2018-01-16)
|
8
|
+
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v1.3.1...v1.3.2)
|
9
|
+
|
10
|
+
**Closed issues:**
|
11
|
+
|
12
|
+
- "pdk convert" and "pdk new module" fails on OSX Sierra [\#396](https://github.com/puppetlabs/pdk/issues/396)
|
13
|
+
- Update shipped ruby [\#395](https://github.com/puppetlabs/pdk/issues/395)
|
14
|
+
|
15
|
+
**Merged pull requests:**
|
16
|
+
|
17
|
+
- \(maint\) Default PDK::TEMPLATE\_REF to PDK::VERSION [\#405](https://github.com/puppetlabs/pdk/pull/405) ([rodjek](https://github.com/rodjek))
|
18
|
+
- \(PDK-552\) Soften PDK::CLI::Util.ensure\_in\_module! error messages [\#401](https://github.com/puppetlabs/pdk/pull/401) ([rodjek](https://github.com/rodjek))
|
19
|
+
- \(PDK-739\) Fall back to default template if necessary [\#400](https://github.com/puppetlabs/pdk/pull/400) ([rodjek](https://github.com/rodjek))
|
20
|
+
|
7
21
|
## [v1.3.1](https://github.com/puppetlabs/pdk/tree/v1.3.1) (2017-12-20)
|
8
22
|
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v1.3.0...v1.3.1)
|
9
23
|
|
@@ -11,6 +25,10 @@ See the [release notes](https://puppet.com/docs/pdk/latest/release_notes.html) f
|
|
11
25
|
|
12
26
|
- \(PDK-736\) Improve handling of old template-url and template-ref [\#397](https://github.com/puppetlabs/pdk/pull/397) ([scotje](https://github.com/scotje))
|
13
27
|
|
28
|
+
**Merged pull requests:**
|
29
|
+
|
30
|
+
- Release Prep for 1.3.1 Hotfix [\#398](https://github.com/puppetlabs/pdk/pull/398) ([HelenCampbell](https://github.com/HelenCampbell))
|
31
|
+
|
14
32
|
## [v1.3.0](https://github.com/puppetlabs/pdk/tree/v1.3.0) (2017-12-15)
|
15
33
|
[Full Changelog](https://github.com/puppetlabs/pdk/compare/v1.2.1...v1.3.0)
|
16
34
|
|
data/lib/pdk/cli.rb
CHANGED
data/lib/pdk/cli/bundle.rb
CHANGED
@@ -17,7 +17,9 @@ EOF
|
|
17
17
|
)
|
18
18
|
|
19
19
|
run do |_opts, args, _cmd|
|
20
|
-
PDK::CLI::Util.ensure_in_module!
|
20
|
+
PDK::CLI::Util.ensure_in_module!(
|
21
|
+
message: _('`pdk bundle` can only be run from inside a valid module directory.'),
|
22
|
+
)
|
21
23
|
|
22
24
|
command = PDK::CLI::Exec::Command.new(PDK::CLI::Exec.bundle_bin, *args).tap do |c|
|
23
25
|
c.context = :module
|
data/lib/pdk/cli/convert.rb
CHANGED
@@ -13,7 +13,12 @@ module PDK::CLI
|
|
13
13
|
|
14
14
|
run do |opts, _args, _cmd|
|
15
15
|
require 'pdk/module/convert'
|
16
|
-
|
16
|
+
|
17
|
+
PDK::CLI::Util.ensure_in_module!(
|
18
|
+
check_module_layout: true,
|
19
|
+
message: _('`pdk convert` can only be run from inside a valid module directory.'),
|
20
|
+
log_level: :info,
|
21
|
+
)
|
17
22
|
|
18
23
|
if opts[:noop] && opts[:force]
|
19
24
|
raise PDK::CLI::ExitWithError, _('You can not specify --noop and --force when converting a module')
|
data/lib/pdk/cli/errors.rb
CHANGED
@@ -3,17 +3,19 @@ module PDK
|
|
3
3
|
class FatalError < StandardError
|
4
4
|
attr_reader :exit_code
|
5
5
|
|
6
|
-
def initialize(msg = _('An unexpected error has occurred. Try running the command again with --debug'),
|
7
|
-
@exit_code = exit_code
|
6
|
+
def initialize(msg = _('An unexpected error has occurred. Try running the command again with --debug'), opts = {})
|
7
|
+
@exit_code = opts.fetch(:exit_code, 1)
|
8
8
|
super(msg)
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
12
|
class ExitWithError < StandardError
|
13
13
|
attr_reader :exit_code
|
14
|
+
attr_reader :log_level
|
14
15
|
|
15
|
-
def initialize(msg,
|
16
|
-
@exit_code = exit_code
|
16
|
+
def initialize(msg, opts = {})
|
17
|
+
@exit_code = opts.fetch(:exit_code, 1)
|
18
|
+
@log_level = opts.fetch(:log_level, :error)
|
17
19
|
super(msg)
|
18
20
|
end
|
19
21
|
end
|
data/lib/pdk/cli/new/class.rb
CHANGED
@@ -9,7 +9,10 @@ module PDK::CLI
|
|
9
9
|
run do |opts, args, _cmd|
|
10
10
|
require 'pdk/generate/puppet_class'
|
11
11
|
|
12
|
-
PDK::CLI::Util.ensure_in_module!
|
12
|
+
PDK::CLI::Util.ensure_in_module!(
|
13
|
+
message: _('Classes can only be created from inside a valid module directory.'),
|
14
|
+
log_level: :info,
|
15
|
+
)
|
13
16
|
|
14
17
|
class_name = args[0]
|
15
18
|
module_dir = Dir.pwd
|
@@ -7,7 +7,10 @@ module PDK::CLI
|
|
7
7
|
PDK::CLI.template_url_option(self)
|
8
8
|
|
9
9
|
run do |opts, args, _cmd|
|
10
|
-
PDK::CLI::Util.ensure_in_module!
|
10
|
+
PDK::CLI::Util.ensure_in_module!(
|
11
|
+
message: _('Defined types can only be created from inside a valid module directory.'),
|
12
|
+
log_level: :info,
|
13
|
+
)
|
11
14
|
|
12
15
|
defined_type_name = args[0]
|
13
16
|
module_dir = Dir.pwd
|
data/lib/pdk/cli/new/task.rb
CHANGED
@@ -8,7 +8,10 @@ module PDK::CLI
|
|
8
8
|
option nil, :description, _('A short description of the purpose of the task'), argument: :required
|
9
9
|
|
10
10
|
run do |opts, args, _cmd|
|
11
|
-
PDK::CLI::Util.ensure_in_module!
|
11
|
+
PDK::CLI::Util.ensure_in_module!(
|
12
|
+
message: _('Tasks can only be created from inside a valid module directory.'),
|
13
|
+
log_level: :info,
|
14
|
+
)
|
12
15
|
|
13
16
|
task_name = args[0]
|
14
17
|
module_dir = Dir.pwd
|
data/lib/pdk/cli/test/unit.rb
CHANGED
@@ -21,7 +21,10 @@ module PDK::CLI
|
|
21
21
|
run do |opts, _args, _cmd|
|
22
22
|
require 'pdk/tests/unit'
|
23
23
|
|
24
|
-
PDK::CLI::Util.ensure_in_module!
|
24
|
+
PDK::CLI::Util.ensure_in_module!(
|
25
|
+
message: _('Unit tests can only be run from inside a valid module directory.'),
|
26
|
+
log_level: :info,
|
27
|
+
)
|
25
28
|
|
26
29
|
report = nil
|
27
30
|
|
data/lib/pdk/cli/util.rb
CHANGED
@@ -23,8 +23,8 @@ module PDK
|
|
23
23
|
return unless PDK::Util.module_root.nil?
|
24
24
|
return if opts[:check_module_layout] && PDK::CLI::Util::MODULE_FOLDERS.any? { |dir| File.directory?(dir) }
|
25
25
|
|
26
|
-
message = _('This command must be run from inside a valid module (no metadata.json found).')
|
27
|
-
raise PDK::CLI::ExitWithError,
|
26
|
+
message = opts.fetch(:message, _('This command must be run from inside a valid module (no metadata.json found).'))
|
27
|
+
raise PDK::CLI::ExitWithError.new(message, opts)
|
28
28
|
end
|
29
29
|
module_function :ensure_in_module!
|
30
30
|
|
data/lib/pdk/cli/validate.rb
CHANGED
@@ -32,7 +32,10 @@ module PDK::CLI
|
|
32
32
|
exit 0
|
33
33
|
end
|
34
34
|
|
35
|
-
PDK::CLI::Util.ensure_in_module!
|
35
|
+
PDK::CLI::Util.ensure_in_module!(
|
36
|
+
message: _('Code validation can only be run from inside a valid module directory'),
|
37
|
+
log_level: :info,
|
38
|
+
)
|
36
39
|
|
37
40
|
if args[0]
|
38
41
|
# This may be a single validator, a list of validators, or a target.
|
data/lib/pdk/util.rb
CHANGED
@@ -181,6 +181,12 @@ module PDK
|
|
181
181
|
return puppetlabs_template_url if answer_file_url == 'https://github.com/puppetlabs/pdk-module-template'
|
182
182
|
return puppetlabs_template_url if answer_file_url == puppetlabs_template_url
|
183
183
|
|
184
|
+
unless PDK::Util::Git.repo_exists?(answer_file_url)
|
185
|
+
PDK.logger.warn(_("Unable to access the previously used template '%{template}', using the default template instead.") % { template: answer_file_url })
|
186
|
+
PDK.answers.update!('template-url' => nil)
|
187
|
+
return puppetlabs_template_url
|
188
|
+
end
|
189
|
+
|
184
190
|
answer_file_url
|
185
191
|
end
|
186
192
|
module_function :default_template_url
|
data/lib/pdk/util/git.rb
CHANGED
data/lib/pdk/version.rb
CHANGED
data/locales/pdk.pot
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2018 Puppet, Inc.
|
3
3
|
# This file is distributed under the same license as the puppet development kit package.
|
4
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>,
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: puppet development kit v1.1
|
9
|
+
"Project-Id-Version: puppet development kit v1.3.1-7-g6c96455\n"
|
10
10
|
"\n"
|
11
11
|
"Report-Msgid-Bugs-To: docs@puppet.com\n"
|
12
|
-
"POT-Creation-Date:
|
13
|
-
"PO-Revision-Date:
|
12
|
+
"POT-Creation-Date: 2018-01-16 14:39-0700\n"
|
13
|
+
"PO-Revision-Date: 2018-01-16 14:39-0700\n"
|
14
14
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
15
15
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16
16
|
"Language: \n"
|
@@ -99,47 +99,75 @@ msgid ""
|
|
99
99
|
"Note that for PowerShell the '--' needs to be escaped using a backtick: '`--' to avoid it being parsed by the shell.\n"
|
100
100
|
msgstr ""
|
101
101
|
|
102
|
+
#: ../lib/pdk/cli/bundle.rb:21
|
103
|
+
msgid "`pdk bundle` can only be run from inside a valid module directory."
|
104
|
+
msgstr ""
|
105
|
+
|
106
|
+
#: ../lib/pdk/cli/convert.rb:6
|
107
|
+
msgid "convert [options]"
|
108
|
+
msgstr ""
|
109
|
+
|
110
|
+
#: ../lib/pdk/cli/convert.rb:7
|
111
|
+
msgid "Convert an existing module to be compatible with the PDK."
|
112
|
+
msgstr ""
|
113
|
+
|
114
|
+
#: ../lib/pdk/cli/convert.rb:11
|
115
|
+
msgid "Do not convert the module, just output what would be done."
|
116
|
+
msgstr ""
|
117
|
+
|
118
|
+
#: ../lib/pdk/cli/convert.rb:12
|
119
|
+
msgid "Convert the module automatically, with no prompts."
|
120
|
+
msgstr ""
|
121
|
+
|
122
|
+
#: ../lib/pdk/cli/convert.rb:19
|
123
|
+
msgid "`pdk convert` can only be run from inside a valid module directory."
|
124
|
+
msgstr ""
|
125
|
+
|
126
|
+
#: ../lib/pdk/cli/convert.rb:24
|
127
|
+
msgid "You can not specify --noop and --force when converting a module"
|
128
|
+
msgstr ""
|
129
|
+
|
102
130
|
#: ../lib/pdk/cli/errors.rb:6
|
103
131
|
msgid "An unexpected error has occurred. Try running the command again with --debug"
|
104
132
|
msgstr ""
|
105
133
|
|
106
|
-
#: ../lib/pdk/cli/exec.rb:
|
134
|
+
#: ../lib/pdk/cli/exec.rb:18
|
107
135
|
msgid "Unable to find `%{name}`. Check that it is installed and try again."
|
108
136
|
msgstr ""
|
109
137
|
|
110
|
-
#: ../lib/pdk/cli/exec.rb:
|
138
|
+
#: ../lib/pdk/cli/exec.rb:40
|
111
139
|
msgid "PDK package installation not found. Trying '%{fallback}' from the system PATH instead."
|
112
140
|
msgstr ""
|
113
141
|
|
114
|
-
#: ../lib/pdk/cli/exec.rb:
|
142
|
+
#: ../lib/pdk/cli/exec.rb:45
|
115
143
|
msgid "Using '%{vendored_bin_path}' from PDK package."
|
116
144
|
msgstr ""
|
117
145
|
|
118
|
-
#: ../lib/pdk/cli/exec.rb:
|
146
|
+
#: ../lib/pdk/cli/exec.rb:48
|
119
147
|
msgid "Could not find '%{vendored_bin_path}' in PDK package. Trying '%{fallback}' from the system PATH instead."
|
120
148
|
msgstr ""
|
121
149
|
|
122
|
-
#: ../lib/pdk/cli/exec.rb:
|
150
|
+
#: ../lib/pdk/cli/exec.rb:86
|
123
151
|
msgid "Expected execution context to be :system or :module but got '%{context}'."
|
124
152
|
msgstr ""
|
125
153
|
|
126
|
-
#: ../lib/pdk/cli/exec.rb:
|
154
|
+
#: ../lib/pdk/cli/exec.rb:150
|
127
155
|
msgid "Current working directory is not part of a module. (No metadata.json was found.)"
|
128
156
|
msgstr ""
|
129
157
|
|
130
|
-
#: ../lib/pdk/cli/exec.rb:
|
158
|
+
#: ../lib/pdk/cli/exec.rb:204
|
131
159
|
msgid "Executing '%{command}'"
|
132
160
|
msgstr ""
|
133
161
|
|
134
|
-
#: ../lib/pdk/cli/exec.rb:
|
162
|
+
#: ../lib/pdk/cli/exec.rb:206
|
135
163
|
msgid "Command environment: GEM_HOME is '%{gem_home}' and GEM_PATH is '%{gem_path}'"
|
136
164
|
msgstr ""
|
137
165
|
|
138
|
-
#: ../lib/pdk/cli/exec.rb:
|
166
|
+
#: ../lib/pdk/cli/exec.rb:213
|
139
167
|
msgid "Failed to execute '%{command}': %{message}"
|
140
168
|
msgstr ""
|
141
169
|
|
142
|
-
#: ../lib/pdk/cli/exec.rb:
|
170
|
+
#: ../lib/pdk/cli/exec.rb:227
|
143
171
|
msgid "Execution of '%{command}' complete (duration: %{duration_in_seconds}s; exit code: %{exit_code})"
|
144
172
|
msgstr ""
|
145
173
|
|
@@ -148,11 +176,11 @@ msgid "module [options]"
|
|
148
176
|
msgstr ""
|
149
177
|
|
150
178
|
#: ../lib/pdk/cli/module.rb:5
|
151
|
-
msgid "
|
179
|
+
msgid "Provide CLI-backwards compatibility to the puppet module tool."
|
152
180
|
msgstr ""
|
153
181
|
|
154
182
|
#: ../lib/pdk/cli/module.rb:6
|
155
|
-
msgid "
|
183
|
+
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."
|
156
184
|
msgstr ""
|
157
185
|
|
158
186
|
#: ../lib/pdk/cli/module/generate.rb:6
|
@@ -163,11 +191,11 @@ msgstr ""
|
|
163
191
|
msgid "This command is now 'pdk new module'."
|
164
192
|
msgstr ""
|
165
193
|
|
166
|
-
#: ../lib/pdk/cli/module/generate.rb:
|
194
|
+
#: ../lib/pdk/cli/module/generate.rb:22
|
167
195
|
msgid "New modules are created using the ‘pdk new module’ command."
|
168
196
|
msgstr ""
|
169
197
|
|
170
|
-
#: ../lib/pdk/cli/module/generate.rb:
|
198
|
+
#: ../lib/pdk/cli/module/generate.rb:38 ../lib/pdk/cli/new/module.rb:30
|
171
199
|
msgid "Creating new module: %{modname}"
|
172
200
|
msgstr ""
|
173
201
|
|
@@ -191,7 +219,11 @@ msgstr ""
|
|
191
219
|
msgid "Create a new class named <class_name> using given options"
|
192
220
|
msgstr ""
|
193
221
|
|
194
|
-
#: ../lib/pdk/cli/new/class.rb:
|
222
|
+
#: ../lib/pdk/cli/new/class.rb:13
|
223
|
+
msgid "Classes can only be created from inside a valid module directory."
|
224
|
+
msgstr ""
|
225
|
+
|
226
|
+
#: ../lib/pdk/cli/new/class.rb:26
|
195
227
|
msgid "'%{name}' is not a valid class name"
|
196
228
|
msgstr ""
|
197
229
|
|
@@ -203,16 +235,20 @@ msgstr ""
|
|
203
235
|
msgid "Create a new defined type named <name> using given options"
|
204
236
|
msgstr ""
|
205
237
|
|
206
|
-
#: ../lib/pdk/cli/new/defined_type.rb:
|
238
|
+
#: ../lib/pdk/cli/new/defined_type.rb:11
|
239
|
+
msgid "Defined types can only be created from inside a valid module directory."
|
240
|
+
msgstr ""
|
241
|
+
|
242
|
+
#: ../lib/pdk/cli/new/defined_type.rb:24
|
207
243
|
msgid "'%{name}' is not a valid defined type name"
|
208
244
|
msgstr ""
|
209
245
|
|
210
246
|
#: ../lib/pdk/cli/new/module.rb:4
|
211
|
-
msgid "module [options]
|
247
|
+
msgid "module [options] [module_name] [target_dir]"
|
212
248
|
msgstr ""
|
213
249
|
|
214
250
|
#: ../lib/pdk/cli/new/module.rb:5
|
215
|
-
msgid "Create a new module named
|
251
|
+
msgid "Create a new module named [module_name] using given options"
|
216
252
|
msgstr ""
|
217
253
|
|
218
254
|
#: ../lib/pdk/cli/new/module.rb:10
|
@@ -231,7 +267,11 @@ msgstr ""
|
|
231
267
|
msgid "A short description of the purpose of the task"
|
232
268
|
msgstr ""
|
233
269
|
|
234
|
-
#: ../lib/pdk/cli/new/task.rb:
|
270
|
+
#: ../lib/pdk/cli/new/task.rb:12
|
271
|
+
msgid "Tasks can only be created from inside a valid module directory."
|
272
|
+
msgstr ""
|
273
|
+
|
274
|
+
#: ../lib/pdk/cli/new/task.rb:25
|
235
275
|
msgid "'%{name}' is not a valid task name"
|
236
276
|
msgstr ""
|
237
277
|
|
@@ -252,33 +292,45 @@ msgid "Run unit tests."
|
|
252
292
|
msgstr ""
|
253
293
|
|
254
294
|
#: ../lib/pdk/cli/test/unit.rb:10
|
255
|
-
msgid "
|
295
|
+
msgid "List all available unit test files."
|
256
296
|
msgstr ""
|
257
297
|
|
258
298
|
#: ../lib/pdk/cli/test/unit.rb:11
|
259
|
-
msgid "
|
299
|
+
msgid "Run unit tests in parallel."
|
260
300
|
msgstr ""
|
261
301
|
|
262
|
-
#: ../lib/pdk/cli/test/unit.rb:
|
263
|
-
msgid "
|
302
|
+
#: ../lib/pdk/cli/test/unit.rb:12
|
303
|
+
msgid "More verbose output. Displays examples in each unit test file."
|
264
304
|
msgstr ""
|
265
305
|
|
266
|
-
#: ../lib/pdk/cli/test/unit.rb:
|
267
|
-
msgid "
|
306
|
+
#: ../lib/pdk/cli/test/unit.rb:14
|
307
|
+
msgid "Specify a comma-separated list of unit test files to run."
|
268
308
|
msgstr ""
|
269
309
|
|
270
|
-
#: ../lib/pdk/cli/test/unit.rb:
|
271
|
-
msgid "
|
310
|
+
#: ../lib/pdk/cli/test/unit.rb:25
|
311
|
+
msgid "Unit tests can only be run from inside a valid module directory."
|
272
312
|
msgstr ""
|
273
313
|
|
274
314
|
#: ../lib/pdk/cli/test/unit.rb:34
|
275
|
-
msgid "
|
315
|
+
msgid "No unit test files with examples were found."
|
276
316
|
msgstr ""
|
277
317
|
|
278
|
-
#: ../lib/pdk/cli/
|
318
|
+
#: ../lib/pdk/cli/test/unit.rb:36
|
319
|
+
msgid "Unit Test Files:"
|
320
|
+
msgstr ""
|
321
|
+
|
322
|
+
#: ../lib/pdk/cli/test/unit.rb:45
|
323
|
+
msgid "\t%{id}\t%{description}"
|
324
|
+
msgstr ""
|
325
|
+
|
326
|
+
#: ../lib/pdk/cli/util.rb:26
|
279
327
|
msgid "This command must be run from inside a valid module (no metadata.json found)."
|
280
328
|
msgstr ""
|
281
329
|
|
330
|
+
#: ../lib/pdk/cli/util.rb:49
|
331
|
+
msgid "Answer \"Y\" to continue or \"n\" to cancel."
|
332
|
+
msgstr ""
|
333
|
+
|
282
334
|
#: ../lib/pdk/cli/util/command_redirector.rb:18
|
283
335
|
msgid "Did you mean '%{command}'?"
|
284
336
|
msgstr ""
|
@@ -348,250 +400,326 @@ msgstr ""
|
|
348
400
|
msgid "Available validators: %{validator_names}"
|
349
401
|
msgstr ""
|
350
402
|
|
351
|
-
#: ../lib/pdk/cli/validate.rb:
|
403
|
+
#: ../lib/pdk/cli/validate.rb:36
|
404
|
+
msgid "Code validation can only be run from inside a valid module directory"
|
405
|
+
msgstr ""
|
406
|
+
|
407
|
+
#: ../lib/pdk/cli/validate.rb:50
|
352
408
|
msgid "Unknown validator '%{v}'. Available validators: %{validators}."
|
353
409
|
msgstr ""
|
354
410
|
|
355
|
-
#: ../lib/pdk/cli/validate.rb:
|
411
|
+
#: ../lib/pdk/cli/validate.rb:60 ../lib/pdk/cli/validate.rb:64
|
356
412
|
msgid "Running all available validators..."
|
357
413
|
msgstr ""
|
358
414
|
|
359
|
-
#: ../lib/pdk/cli/validate.rb:
|
415
|
+
#: ../lib/pdk/cli/validate.rb:88
|
360
416
|
msgid "Validating module using %{num_of_threads} threads"
|
361
417
|
msgstr ""
|
362
418
|
|
363
|
-
#: ../lib/pdk/
|
419
|
+
#: ../lib/pdk/generate/module.rb:22
|
364
420
|
msgid ""
|
365
421
|
"'%{module_name}' is not a valid module name.\n"
|
366
422
|
"Module names must begin with a lowercase letter and can only include lowercase letters, digits, and underscores."
|
367
423
|
msgstr ""
|
368
424
|
|
369
|
-
#: ../lib/pdk/
|
425
|
+
#: ../lib/pdk/generate/module.rb:30
|
370
426
|
msgid "The destination directory '%{dir}' already exists"
|
371
427
|
msgstr ""
|
372
428
|
|
373
|
-
#: ../lib/pdk/
|
429
|
+
#: ../lib/pdk/generate/module.rb:46
|
374
430
|
msgid "You do not have permission to write to '%{parent_dir}'"
|
375
431
|
msgstr ""
|
376
432
|
|
377
|
-
#: ../lib/pdk/
|
378
|
-
msgid "Module '%{name}' generated at path '%{path}'."
|
433
|
+
#: ../lib/pdk/generate/module.rb:83
|
434
|
+
msgid "Module '%{name}' generated at path '%{path}', from template '%{template_url}'."
|
379
435
|
msgstr ""
|
380
436
|
|
381
|
-
#: ../lib/pdk/
|
437
|
+
#: ../lib/pdk/generate/module.rb:84
|
382
438
|
msgid "In your module directory, add classes with the 'pdk new class' command."
|
383
439
|
msgstr ""
|
384
440
|
|
385
|
-
#: ../lib/pdk/
|
441
|
+
#: ../lib/pdk/generate/module.rb:87
|
386
442
|
msgid "Failed to move '%{source}' to '%{target}': %{message}"
|
387
443
|
msgstr ""
|
388
444
|
|
389
|
-
#: ../lib/pdk/
|
445
|
+
#: ../lib/pdk/generate/module.rb:101
|
390
446
|
msgid "Your username is not a valid Forge username. Proceeding with the username %{username}. You can fix this later in metadata.json."
|
391
447
|
msgstr ""
|
392
448
|
|
393
|
-
#: ../lib/pdk/
|
449
|
+
#: ../lib/pdk/generate/module.rb:144
|
394
450
|
msgid "Unable to create directory '%{dir}': %{message}"
|
395
451
|
msgstr ""
|
396
452
|
|
397
|
-
#: ../lib/pdk/
|
453
|
+
#: ../lib/pdk/generate/module.rb:156
|
454
|
+
msgid "If you have a name for your module, add it here."
|
455
|
+
msgstr ""
|
456
|
+
|
457
|
+
#: ../lib/pdk/generate/module.rb:157
|
458
|
+
msgid "This is the name that will be associated with your module, it should be relevant to the modules content."
|
459
|
+
msgstr ""
|
460
|
+
|
461
|
+
#: ../lib/pdk/generate/module.rb:160
|
462
|
+
msgid "Module names can only contain lowercase letters and numbers"
|
463
|
+
msgstr ""
|
464
|
+
|
465
|
+
#: ../lib/pdk/generate/module.rb:164
|
398
466
|
msgid "If you have a Puppet Forge username, add it here."
|
399
467
|
msgstr ""
|
400
468
|
|
401
|
-
#: ../lib/pdk/
|
469
|
+
#: ../lib/pdk/generate/module.rb:165
|
402
470
|
msgid "We can use this to upload your module to the Forge when it's complete."
|
403
471
|
msgstr ""
|
404
472
|
|
405
|
-
#: ../lib/pdk/
|
473
|
+
#: ../lib/pdk/generate/module.rb:168
|
406
474
|
msgid "Forge usernames can only contain lowercase letters and numbers"
|
407
475
|
msgstr ""
|
408
476
|
|
409
|
-
#: ../lib/pdk/
|
477
|
+
#: ../lib/pdk/generate/module.rb:173
|
410
478
|
msgid "What version is this module?"
|
411
479
|
msgstr ""
|
412
480
|
|
413
|
-
#: ../lib/pdk/
|
481
|
+
#: ../lib/pdk/generate/module.rb:174
|
414
482
|
msgid "Puppet uses Semantic Versioning (semver.org) to version modules."
|
415
483
|
msgstr ""
|
416
484
|
|
417
|
-
#: ../lib/pdk/
|
485
|
+
#: ../lib/pdk/generate/module.rb:177
|
418
486
|
msgid "Semantic Version numbers must be in the form MAJOR.MINOR.PATCH"
|
419
487
|
msgstr ""
|
420
488
|
|
421
|
-
#: ../lib/pdk/
|
489
|
+
#: ../lib/pdk/generate/module.rb:182
|
422
490
|
msgid "Who wrote this module?"
|
423
491
|
msgstr ""
|
424
492
|
|
425
|
-
#: ../lib/pdk/
|
493
|
+
#: ../lib/pdk/generate/module.rb:183
|
426
494
|
msgid "This is used to credit the module's author."
|
427
495
|
msgstr ""
|
428
496
|
|
429
|
-
#: ../lib/pdk/
|
497
|
+
#: ../lib/pdk/generate/module.rb:189
|
430
498
|
msgid "What license does this module code fall under?"
|
431
499
|
msgstr ""
|
432
500
|
|
433
|
-
#: ../lib/pdk/
|
501
|
+
#: ../lib/pdk/generate/module.rb:190
|
434
502
|
msgid "This should be an identifier from https://spdx.org/licenses/. Common values are \"Apache-2.0\", \"MIT\", or \"proprietary\"."
|
435
503
|
msgstr ""
|
436
504
|
|
437
|
-
#: ../lib/pdk/
|
505
|
+
#: ../lib/pdk/generate/module.rb:196
|
438
506
|
msgid "What operating systems does this module support?"
|
439
507
|
msgstr ""
|
440
508
|
|
441
|
-
#: ../lib/pdk/
|
509
|
+
#: ../lib/pdk/generate/module.rb:197
|
442
510
|
msgid "Use the up and down keys to move between the choices, space to select and enter to continue."
|
443
511
|
msgstr ""
|
444
512
|
|
445
|
-
#: ../lib/pdk/
|
513
|
+
#: ../lib/pdk/generate/module.rb:253
|
446
514
|
msgid "Summarize the purpose of this module in a single sentence."
|
447
515
|
msgstr ""
|
448
516
|
|
449
|
-
#: ../lib/pdk/
|
517
|
+
#: ../lib/pdk/generate/module.rb:254
|
450
518
|
msgid "This helps other Puppet users understand what the module does."
|
451
519
|
msgstr ""
|
452
520
|
|
453
|
-
#: ../lib/pdk/
|
521
|
+
#: ../lib/pdk/generate/module.rb:260
|
454
522
|
msgid "If there is a source code repository for this module, enter the URL here."
|
455
523
|
msgstr ""
|
456
524
|
|
457
|
-
#: ../lib/pdk/
|
525
|
+
#: ../lib/pdk/generate/module.rb:261
|
458
526
|
msgid "Skip this if no repository exists yet. You can update this later in the metadata.json."
|
459
527
|
msgstr ""
|
460
528
|
|
461
|
-
#: ../lib/pdk/
|
529
|
+
#: ../lib/pdk/generate/module.rb:267
|
462
530
|
msgid "If there is a URL where others can learn more about this module, enter it here."
|
463
531
|
msgstr ""
|
464
532
|
|
465
|
-
#: ../lib/pdk/
|
533
|
+
#: ../lib/pdk/generate/module.rb:268 ../lib/pdk/generate/module.rb:274
|
466
534
|
msgid "Optional. You can update this later in the metadata.json."
|
467
535
|
msgstr ""
|
468
536
|
|
469
|
-
#: ../lib/pdk/
|
537
|
+
#: ../lib/pdk/generate/module.rb:273
|
470
538
|
msgid "If there is a public issue tracker for this module, enter its URL here."
|
471
539
|
msgstr ""
|
472
540
|
|
473
|
-
#: ../lib/pdk/
|
541
|
+
#: ../lib/pdk/generate/module.rb:288
|
474
542
|
msgid ""
|
475
543
|
"\n"
|
476
|
-
"We need to create a metadata.json file for this module, so we're going to ask you %{count} questions.\n"
|
544
|
+
"We need to create a metadata.json file for this module, so we\\'re going to ask you %{count} questions.\n"
|
477
545
|
"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"
|
478
546
|
"\n"
|
479
547
|
msgstr ""
|
480
548
|
|
481
|
-
#: ../lib/pdk/
|
482
|
-
msgid "
|
549
|
+
#: ../lib/pdk/generate/module.rb:299
|
550
|
+
msgid "No answers given, interview cancelled."
|
483
551
|
msgstr ""
|
484
552
|
|
485
|
-
#: ../lib/pdk/
|
486
|
-
msgid "
|
553
|
+
#: ../lib/pdk/generate/module.rb:317
|
554
|
+
msgid "Metadata will be generated based on this information, continue?"
|
487
555
|
msgstr ""
|
488
556
|
|
489
|
-
#: ../lib/pdk/
|
490
|
-
msgid "
|
557
|
+
#: ../lib/pdk/generate/module.rb:319
|
558
|
+
msgid "Interview cancelled; exiting."
|
491
559
|
msgstr ""
|
492
560
|
|
493
|
-
#: ../lib/pdk/
|
494
|
-
msgid "
|
495
|
-
msgstr ""
|
496
|
-
|
497
|
-
#: ../lib/pdk/generators/module.rb:335
|
498
|
-
msgid "Module not generated."
|
561
|
+
#: ../lib/pdk/generate/module.rb:323
|
562
|
+
msgid "Process cancelled; exiting."
|
499
563
|
msgstr ""
|
500
564
|
|
501
|
-
#: ../lib/pdk/
|
565
|
+
#: ../lib/pdk/generate/puppet_object.rb:91
|
502
566
|
msgid "Unable to generate %{object_type}; '%{file}' already exists."
|
503
567
|
msgstr ""
|
504
568
|
|
505
|
-
#: ../lib/pdk/
|
569
|
+
#: ../lib/pdk/generate/puppet_object.rb:143
|
506
570
|
msgid "Creating '%{file}' from template."
|
507
571
|
msgstr ""
|
508
572
|
|
509
|
-
#: ../lib/pdk/
|
573
|
+
#: ../lib/pdk/generate/puppet_object.rb:150
|
510
574
|
msgid "Unable to create directory '%{path}': %{message}"
|
511
575
|
msgstr ""
|
512
576
|
|
513
|
-
#: ../lib/pdk/
|
577
|
+
#: ../lib/pdk/generate/puppet_object.rb:158
|
514
578
|
msgid "Unable to write to file '%{path}': %{message}"
|
515
579
|
msgstr ""
|
516
580
|
|
517
|
-
#: ../lib/pdk/
|
581
|
+
#: ../lib/pdk/generate/puppet_object.rb:181
|
518
582
|
msgid "No %{dir_type} template specified; trying next template directory."
|
519
583
|
msgstr ""
|
520
584
|
|
521
|
-
#: ../lib/pdk/
|
585
|
+
#: ../lib/pdk/generate/puppet_object.rb:194
|
522
586
|
msgid "Unable to find a %{type} template in %{url}; trying next template directory."
|
523
587
|
msgstr ""
|
524
588
|
|
525
|
-
#: ../lib/pdk/
|
589
|
+
#: ../lib/pdk/generate/puppet_object.rb:196
|
526
590
|
msgid "Unable to find the %{type} template in %{url}."
|
527
591
|
msgstr ""
|
528
592
|
|
529
|
-
#: ../lib/pdk/
|
593
|
+
#: ../lib/pdk/generate/puppet_object.rb:253
|
530
594
|
msgid "'%{dir}' does not contain valid Puppet module metadata: %{msg}"
|
531
595
|
msgstr ""
|
532
596
|
|
533
|
-
#: ../lib/pdk/
|
597
|
+
#: ../lib/pdk/generate/task.rb:54
|
534
598
|
msgid "A task named '%{name}' already exists in this module; defined in %{file}"
|
535
599
|
msgstr ""
|
536
600
|
|
537
|
-
#: ../lib/pdk/module/
|
601
|
+
#: ../lib/pdk/module/convert.rb:34
|
602
|
+
msgid "No changes required."
|
603
|
+
msgstr ""
|
604
|
+
|
605
|
+
#: ../lib/pdk/module/convert.rb:48
|
606
|
+
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."
|
607
|
+
msgstr ""
|
608
|
+
|
609
|
+
#: ../lib/pdk/module/convert.rb:53
|
610
|
+
msgid "Do you want to continue and make these changes to your module?"
|
611
|
+
msgstr ""
|
612
|
+
|
613
|
+
#: ../lib/pdk/module/convert.rb:82
|
614
|
+
msgid "Unable to convert module metadata; %{path} exists but it is not readable."
|
615
|
+
msgstr ""
|
616
|
+
|
617
|
+
#: ../lib/pdk/module/convert.rb:87
|
618
|
+
msgid "Unable to convert module metadata; %{path} exists but it is not a file."
|
619
|
+
msgstr ""
|
620
|
+
|
621
|
+
#: ../lib/pdk/module/convert.rb:126 ../lib/pdk/module/convert.rb:131 ../lib/pdk/module/convert.rb:135
|
622
|
+
msgid ""
|
623
|
+
"\n"
|
624
|
+
"%{banner}"
|
625
|
+
msgstr ""
|
626
|
+
|
627
|
+
#: ../lib/pdk/module/convert.rb:137
|
628
|
+
msgid ""
|
629
|
+
"\n"
|
630
|
+
"%{summary}\n"
|
631
|
+
"\n"
|
632
|
+
msgstr ""
|
633
|
+
|
634
|
+
#: ../lib/pdk/module/convert.rb:147
|
635
|
+
msgid ""
|
636
|
+
"\n"
|
637
|
+
"You can find a report of differences in convert_report.txt.\n"
|
638
|
+
"\n"
|
639
|
+
msgstr ""
|
640
|
+
|
641
|
+
#: ../lib/pdk/module/metadata.rb:49
|
538
642
|
msgid "'%{file}' does not exist or is not a file."
|
539
643
|
msgstr ""
|
540
644
|
|
541
|
-
#: ../lib/pdk/module/metadata.rb:
|
645
|
+
#: ../lib/pdk/module/metadata.rb:53
|
542
646
|
msgid "Unable to open '%{file}' for reading."
|
543
647
|
msgstr ""
|
544
648
|
|
545
|
-
#: ../lib/pdk/module/metadata.rb:
|
649
|
+
#: ../lib/pdk/module/metadata.rb:59
|
546
650
|
msgid "Invalid JSON in metadata.json: %{msg}"
|
547
651
|
msgstr ""
|
548
652
|
|
549
|
-
#: ../lib/pdk/module/metadata.rb:
|
653
|
+
#: ../lib/pdk/module/metadata.rb:101
|
550
654
|
msgid "Field must be a dash-separated user name and module name."
|
551
655
|
msgstr ""
|
552
656
|
|
553
|
-
#: ../lib/pdk/module/metadata.rb:
|
657
|
+
#: ../lib/pdk/module/metadata.rb:103
|
554
658
|
msgid "Module name must contain only alphanumeric or underscore characters."
|
555
659
|
msgstr ""
|
556
660
|
|
557
|
-
#: ../lib/pdk/module/metadata.rb:
|
661
|
+
#: ../lib/pdk/module/metadata.rb:105
|
558
662
|
msgid "Module name must begin with a letter."
|
559
663
|
msgstr ""
|
560
664
|
|
561
|
-
#: ../lib/pdk/module/metadata.rb:
|
665
|
+
#: ../lib/pdk/module/metadata.rb:107
|
562
666
|
msgid "Namespace must contain only alphanumeric characters."
|
563
667
|
msgstr ""
|
564
668
|
|
565
|
-
#: ../lib/pdk/module/metadata.rb:
|
669
|
+
#: ../lib/pdk/module/metadata.rb:110
|
566
670
|
msgid "Invalid 'name' field in metadata.json: %{err}"
|
567
671
|
msgstr ""
|
568
672
|
|
569
|
-
#: ../lib/pdk/module/templatedir.rb:
|
673
|
+
#: ../lib/pdk/module/templatedir.rb:60
|
674
|
+
msgid "Unable to set git repository '%{repo}' to ref:'%{ref}'."
|
675
|
+
msgstr ""
|
676
|
+
|
677
|
+
#: ../lib/pdk/module/templatedir.rb:65
|
570
678
|
msgid "Unable to clone git repository '%{repo}' to '%{dest}'."
|
571
679
|
msgstr ""
|
572
680
|
|
573
|
-
#: ../lib/pdk/module/templatedir.rb:
|
681
|
+
#: ../lib/pdk/module/templatedir.rb:126
|
574
682
|
msgid "Rendering '%{template}'..."
|
575
683
|
msgstr ""
|
576
684
|
|
577
|
-
#: ../lib/pdk/module/templatedir.rb:
|
685
|
+
#: ../lib/pdk/module/templatedir.rb:131
|
578
686
|
msgid ""
|
579
687
|
"Failed to render template '%{template}'\n"
|
580
688
|
"%{exception}: %{message}"
|
581
689
|
msgstr ""
|
582
690
|
|
583
|
-
#: ../lib/pdk/module/templatedir.rb:
|
691
|
+
#: ../lib/pdk/module/templatedir.rb:192
|
584
692
|
msgid "The specified template '%{path}' is not a directory."
|
585
693
|
msgstr ""
|
586
694
|
|
587
|
-
#: ../lib/pdk/module/templatedir.rb:
|
695
|
+
#: ../lib/pdk/module/templatedir.rb:196
|
588
696
|
msgid "The template at '%{path}' does not contain a 'moduleroot/' directory."
|
589
697
|
msgstr ""
|
590
698
|
|
591
|
-
#: ../lib/pdk/module/templatedir.rb:
|
699
|
+
#: ../lib/pdk/module/templatedir.rb:201
|
700
|
+
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."
|
701
|
+
msgstr ""
|
702
|
+
|
703
|
+
#: ../lib/pdk/module/templatedir.rb:216
|
704
|
+
msgid "The directory '%{dir}' doesn't exist"
|
705
|
+
msgstr ""
|
706
|
+
|
707
|
+
#: ../lib/pdk/module/templatedir.rb:274
|
592
708
|
msgid "'%{file}' is not a valid YAML file: %{message}"
|
593
709
|
msgstr ""
|
594
710
|
|
711
|
+
#: ../lib/pdk/module/update_manager.rb:110
|
712
|
+
msgid "Unable to open '%{path}' for reading"
|
713
|
+
msgstr ""
|
714
|
+
|
715
|
+
#: ../lib/pdk/module/update_manager.rb:129
|
716
|
+
msgid "You do not have permission to write to '%{path}'"
|
717
|
+
msgstr ""
|
718
|
+
|
719
|
+
#: ../lib/pdk/module/update_manager.rb:144
|
720
|
+
msgid "Unable to remove '%{path}': %{message}"
|
721
|
+
msgstr ""
|
722
|
+
|
595
723
|
#: ../lib/pdk/report/event.rb:175
|
596
724
|
msgid "File not specified."
|
597
725
|
msgstr ""
|
@@ -640,51 +768,51 @@ msgstr ""
|
|
640
768
|
msgid "'%{template}' is not a readable file"
|
641
769
|
msgstr ""
|
642
770
|
|
643
|
-
#: ../lib/pdk/tests/unit.rb:
|
771
|
+
#: ../lib/pdk/tests/unit.rb:47
|
644
772
|
msgid "Cleaning up after running unit tests."
|
645
773
|
msgstr ""
|
646
774
|
|
647
|
-
#: ../lib/pdk/tests/unit.rb:
|
775
|
+
#: ../lib/pdk/tests/unit.rb:51
|
648
776
|
msgid "The spec_clean rake task failed with the following error(s):"
|
649
777
|
msgstr ""
|
650
778
|
|
651
|
-
#: ../lib/pdk/tests/unit.rb:
|
779
|
+
#: ../lib/pdk/tests/unit.rb:52
|
652
780
|
msgid "Failed to clean up after running unit tests"
|
653
781
|
msgstr ""
|
654
782
|
|
655
|
-
#: ../lib/pdk/tests/unit.rb:
|
783
|
+
#: ../lib/pdk/tests/unit.rb:56
|
656
784
|
msgid "Preparing to run the unit tests."
|
657
785
|
msgstr ""
|
658
786
|
|
659
|
-
#: ../lib/pdk/tests/unit.rb:
|
787
|
+
#: ../lib/pdk/tests/unit.rb:60
|
660
788
|
msgid "The spec_prep rake task failed with the following error(s):"
|
661
789
|
msgstr ""
|
662
790
|
|
663
|
-
#: ../lib/pdk/tests/unit.rb:
|
791
|
+
#: ../lib/pdk/tests/unit.rb:61
|
664
792
|
msgid "Failed to prepare to run the unit tests."
|
665
793
|
msgstr ""
|
666
794
|
|
667
|
-
#: ../lib/pdk/tests/unit.rb:
|
795
|
+
#: ../lib/pdk/tests/unit.rb:71
|
668
796
|
msgid "Running unit tests."
|
669
797
|
msgstr ""
|
670
798
|
|
671
|
-
#: ../lib/pdk/tests/unit.rb:
|
799
|
+
#: ../lib/pdk/tests/unit.rb:71
|
672
800
|
msgid "Running unit tests in parallel."
|
673
801
|
msgstr ""
|
674
802
|
|
675
|
-
#: ../lib/pdk/tests/unit.rb:
|
803
|
+
#: ../lib/pdk/tests/unit.rb:85
|
676
804
|
msgid "Unit test output did not contain a valid JSON result: %{output}"
|
677
805
|
msgstr ""
|
678
806
|
|
679
|
-
#: ../lib/pdk/tests/unit.rb:
|
807
|
+
#: ../lib/pdk/tests/unit.rb:137
|
680
808
|
msgid "Evaluated %{total} tests in %{duration} seconds: %{failures} failures, %{pending} pending."
|
681
809
|
msgstr ""
|
682
810
|
|
683
|
-
#: ../lib/pdk/tests/unit.rb:
|
811
|
+
#: ../lib/pdk/tests/unit.rb:194
|
684
812
|
msgid "Failed to find valid JSON in output from rspec: %{output}"
|
685
813
|
msgstr ""
|
686
814
|
|
687
|
-
#: ../lib/pdk/tests/unit.rb:
|
815
|
+
#: ../lib/pdk/tests/unit.rb:199
|
688
816
|
msgid "Unable to enumerate examples. rspec reported: %{message}"
|
689
817
|
msgstr ""
|
690
818
|
|
@@ -692,10 +820,14 @@ msgstr ""
|
|
692
820
|
msgid "Cannot resolve a full path to '%{path}', as it does not currently exist."
|
693
821
|
msgstr ""
|
694
822
|
|
695
|
-
#: ../lib/pdk/util.rb:
|
823
|
+
#: ../lib/pdk/util.rb:72
|
696
824
|
msgid "Package basedir requested for non-package install."
|
697
825
|
msgstr ""
|
698
826
|
|
827
|
+
#: ../lib/pdk/util.rb:185
|
828
|
+
msgid "Unable to access the previously used template '%{template}', using the default template instead."
|
829
|
+
msgstr ""
|
830
|
+
|
699
831
|
#: ../lib/pdk/util/bundler.rb:15
|
700
832
|
msgid "Bundle has already been installed. Skipping run."
|
701
833
|
msgstr ""
|
@@ -738,75 +870,75 @@ msgid ""
|
|
738
870
|
"%{output}"
|
739
871
|
msgstr ""
|
740
872
|
|
741
|
-
#: ../lib/pdk/
|
873
|
+
#: ../lib/pdk/validate/base_validator.rb:74
|
742
874
|
msgid "Invoking %{cmd}"
|
743
875
|
msgstr ""
|
744
876
|
|
745
|
-
#: ../lib/pdk/
|
877
|
+
#: ../lib/pdk/validate/base_validator.rb:79
|
746
878
|
msgid "%{validator}: Skipped '%{target}'. Target does not contain any files to validate (%{pattern})."
|
747
879
|
msgstr ""
|
748
880
|
|
749
|
-
#: ../lib/pdk/
|
881
|
+
#: ../lib/pdk/validate/base_validator.rb:83
|
750
882
|
msgid "Target does not contain any files to validate (%{pattern})."
|
751
883
|
msgstr ""
|
752
884
|
|
753
|
-
#: ../lib/pdk/
|
885
|
+
#: ../lib/pdk/validate/base_validator.rb:92
|
754
886
|
msgid "%{validator}: Skipped '%{target}'. Target file not found."
|
755
887
|
msgstr ""
|
756
888
|
|
757
|
-
#: ../lib/pdk/
|
889
|
+
#: ../lib/pdk/validate/base_validator.rb:96
|
758
890
|
msgid "File does not exist."
|
759
891
|
msgstr ""
|
760
892
|
|
761
|
-
#: ../lib/pdk/
|
893
|
+
#: ../lib/pdk/validate/metadata/metadata_json_lint.rb:23
|
762
894
|
msgid "Checking module metadata style (%{targets})."
|
763
895
|
msgstr ""
|
764
896
|
|
765
|
-
#: ../lib/pdk/
|
897
|
+
#: ../lib/pdk/validate/metadata/metadata_json_lint.rb:40
|
766
898
|
msgid "More than 1 target provided to PDK::Validate::MetadataJSONLint."
|
767
899
|
msgstr ""
|
768
900
|
|
769
|
-
#: ../lib/pdk/
|
901
|
+
#: ../lib/pdk/validate/metadata/metadata_syntax.rb:18
|
770
902
|
msgid "Checking metadata syntax (%{targets})."
|
771
903
|
msgstr ""
|
772
904
|
|
773
|
-
#: ../lib/pdk/
|
905
|
+
#: ../lib/pdk/validate/metadata/metadata_syntax.rb:69 ../lib/pdk/validate/metadata/task_metadata_lint.rb:101
|
774
906
|
msgid "Could not be read."
|
775
907
|
msgstr ""
|
776
908
|
|
777
|
-
#: ../lib/pdk/
|
909
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:22
|
778
910
|
msgid "Checking task metadata style (%{targets})."
|
779
911
|
msgstr ""
|
780
912
|
|
781
|
-
#: ../lib/pdk/
|
913
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:61
|
782
914
|
msgid "Failed to parse Task Metadata Schema file."
|
783
915
|
msgstr ""
|
784
916
|
|
785
|
-
#: ../lib/pdk/
|
917
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:65
|
786
918
|
msgid "Task Metadata Schema was not found in the cache. Now downloading from the forge."
|
787
919
|
msgstr ""
|
788
920
|
|
789
|
-
#: ../lib/pdk/
|
921
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:76
|
790
922
|
msgid "Unable to download Task Metadata Schema file. %{code}: %{message}."
|
791
923
|
msgstr ""
|
792
924
|
|
793
|
-
#: ../lib/pdk/
|
794
|
-
msgid "Unable to download Task Metadata Schema file.
|
925
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:80
|
926
|
+
msgid "Unable to download Task Metadata Schema file. Check internet connectivity and retry this action. %{error}"
|
795
927
|
msgstr ""
|
796
928
|
|
797
|
-
#: ../lib/pdk/
|
929
|
+
#: ../lib/pdk/validate/metadata/task_metadata_lint.rb:116
|
798
930
|
msgid "Unable to validate Task Metadata. %{error}."
|
799
931
|
msgstr ""
|
800
932
|
|
801
|
-
#: ../lib/pdk/
|
933
|
+
#: ../lib/pdk/validate/puppet/puppet_lint.rb:22
|
802
934
|
msgid "Checking Puppet manifest style (%{pattern})."
|
803
935
|
msgstr ""
|
804
936
|
|
805
|
-
#: ../lib/pdk/
|
937
|
+
#: ../lib/pdk/validate/puppet/puppet_syntax.rb:21
|
806
938
|
msgid "Checking Puppet manifest syntax (%{pattern})."
|
807
939
|
msgstr ""
|
808
940
|
|
809
|
-
#: ../lib/pdk/
|
941
|
+
#: ../lib/pdk/validate/ruby/rubocop.rb:24
|
810
942
|
msgid "Checking Ruby code style (%{pattern})."
|
811
943
|
msgstr ""
|
812
944
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|