r10k 3.9.2 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec_tests.yml +1 -1
- data/.travis.yml +0 -10
- data/CHANGELOG.mkd +33 -0
- data/README.mkd +6 -0
- data/doc/dynamic-environments/configuration.mkd +25 -0
- data/doc/dynamic-environments/usage.mkd +26 -0
- data/doc/puppetfile.mkd +18 -5
- data/integration/Rakefile +3 -1
- data/integration/tests/basic_functionality/basic_deployment.rb +176 -0
- data/integration/tests/user_scenario/basic_workflow/negative/neg_specify_deleted_forge_module.rb +3 -9
- data/integration/tests/user_scenario/basic_workflow/single_env_purge_unmanaged_modules.rb +21 -25
- data/integration/tests/user_scenario/complex_workflow/multi_env_add_change_remove.rb +3 -3
- data/integration/tests/user_scenario/complex_workflow/multi_env_remove_re-add.rb +3 -3
- data/integration/tests/user_scenario/complex_workflow/multi_env_unamanaged.rb +3 -3
- data/lib/r10k/action/deploy/environment.rb +17 -2
- data/lib/r10k/action/deploy/module.rb +38 -7
- data/lib/r10k/action/puppetfile/check.rb +7 -5
- data/lib/r10k/action/puppetfile/install.rb +22 -16
- data/lib/r10k/action/puppetfile/purge.rb +12 -9
- data/lib/r10k/action/runner.rb +45 -10
- data/lib/r10k/cli/deploy.rb +5 -0
- data/lib/r10k/cli/puppetfile.rb +0 -1
- data/lib/r10k/content_synchronizer.rb +16 -4
- data/lib/r10k/environment/base.rb +64 -11
- data/lib/r10k/environment/with_modules.rb +6 -10
- data/lib/r10k/git/cache.rb +1 -1
- data/lib/r10k/git/rugged/credentials.rb +77 -0
- data/lib/r10k/git/stateful_repository.rb +8 -0
- data/lib/r10k/git.rb +3 -0
- data/lib/r10k/initializers.rb +4 -0
- data/lib/r10k/module/base.rb +42 -1
- data/lib/r10k/module/definition.rb +64 -0
- data/lib/r10k/module/forge.rb +17 -4
- data/lib/r10k/module/git.rb +24 -2
- data/lib/r10k/module/local.rb +2 -3
- data/lib/r10k/module/svn.rb +12 -1
- data/lib/r10k/module.rb +20 -2
- data/lib/r10k/module_loader/puppetfile/dsl.rb +42 -0
- data/lib/r10k/module_loader/puppetfile.rb +272 -0
- data/lib/r10k/puppetfile.rb +82 -160
- data/lib/r10k/settings/definition.rb +1 -1
- data/lib/r10k/settings.rb +58 -2
- data/lib/r10k/source/base.rb +10 -0
- data/lib/r10k/source/git.rb +5 -0
- data/lib/r10k/source/svn.rb +4 -0
- data/lib/r10k/util/purgeable.rb +70 -8
- data/lib/r10k/version.rb +1 -1
- data/locales/r10k.pot +165 -65
- data/r10k.gemspec +2 -0
- data/spec/fixtures/unit/action/r10k_forge_auth.yaml +4 -0
- data/spec/fixtures/unit/action/r10k_forge_auth_no_url.yaml +3 -0
- data/spec/fixtures/unit/puppetfile/forge-override/Puppetfile +8 -0
- data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile +9 -0
- data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile.new +9 -0
- data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/managed_subdir_2/ignored_1 +0 -0
- data/spec/fixtures/unit/util/purgeable/managed_two/.hidden/unmanaged_3 +0 -0
- data/spec/r10k-mocks/mock_env.rb +3 -0
- data/spec/r10k-mocks/mock_source.rb +7 -3
- data/spec/unit/action/deploy/environment_spec.rb +105 -30
- data/spec/unit/action/deploy/module_spec.rb +232 -42
- data/spec/unit/action/puppetfile/check_spec.rb +17 -5
- data/spec/unit/action/puppetfile/install_spec.rb +42 -36
- data/spec/unit/action/puppetfile/purge_spec.rb +15 -17
- data/spec/unit/action/runner_spec.rb +122 -26
- data/spec/unit/environment/base_spec.rb +30 -17
- data/spec/unit/environment/git_spec.rb +2 -2
- data/spec/unit/environment/svn_spec.rb +4 -3
- data/spec/unit/environment/with_modules_spec.rb +2 -1
- data/spec/unit/git/cache_spec.rb +14 -0
- data/spec/unit/git/rugged/credentials_spec.rb +29 -0
- data/spec/unit/git/stateful_repository_spec.rb +5 -0
- data/spec/unit/module/base_spec.rb +54 -8
- data/spec/unit/module/forge_spec.rb +59 -5
- data/spec/unit/module/git_spec.rb +67 -17
- data/spec/unit/module/svn_spec.rb +35 -5
- data/spec/unit/module_loader/puppetfile_spec.rb +403 -0
- data/spec/unit/module_spec.rb +28 -0
- data/spec/unit/puppetfile_spec.rb +125 -189
- data/spec/unit/settings_spec.rb +47 -2
- data/spec/unit/util/purgeable_spec.rb +38 -6
- metadata +28 -2
data/lib/r10k/source/git.rb
CHANGED
data/lib/r10k/source/svn.rb
CHANGED
@@ -65,6 +65,10 @@ class R10K::Source::SVN < R10K::Source::Base
|
|
65
65
|
@ignore_branch_prefixes = options[:ignore_branch_prefixes]
|
66
66
|
end
|
67
67
|
|
68
|
+
def reload!
|
69
|
+
@environments = generate_environments()
|
70
|
+
end
|
71
|
+
|
68
72
|
# Enumerate the environments associated with this SVN source.
|
69
73
|
#
|
70
74
|
# @return [Array<R10K::Environment::SVN>] An array of environments created
|
data/lib/r10k/util/purgeable.rb
CHANGED
@@ -9,6 +9,12 @@ module R10K
|
|
9
9
|
# {#desired_contents}
|
10
10
|
module Purgeable
|
11
11
|
|
12
|
+
HIDDEN_FILE = /\.[^.]+/
|
13
|
+
|
14
|
+
FN_MATCH_OPTS = File::FNM_PATHNAME | File::FNM_DOTMATCH
|
15
|
+
|
16
|
+
# @deprecated
|
17
|
+
#
|
12
18
|
# @!method logger
|
13
19
|
# @abstract Including classes must provide a logger method
|
14
20
|
# @return [Log4r::Logger]
|
@@ -38,23 +44,79 @@ module R10K
|
|
38
44
|
end
|
39
45
|
end
|
40
46
|
|
47
|
+
# @deprecated Unused helper function
|
48
|
+
#
|
41
49
|
# @return [Array<String>] Directory contents that are expected but not present
|
42
50
|
def pending_contents(recurse)
|
43
51
|
desired_contents - current_contents(recurse)
|
44
52
|
end
|
45
53
|
|
54
|
+
def matches?(test, path)
|
55
|
+
if test == path
|
56
|
+
true
|
57
|
+
elsif File.fnmatch?(test, path, FN_MATCH_OPTS)
|
58
|
+
true
|
59
|
+
else
|
60
|
+
false
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# A method to collect potentially purgeable content without searching into
|
65
|
+
# ignored directories when recursively searching.
|
66
|
+
#
|
67
|
+
# @param dir [String, Pathname] The directory to search for purgeable content
|
68
|
+
# @param exclusion_gobs [Array<String>] A list of file paths or File globs
|
69
|
+
# to exclude from recursion (These are generated by the classes that
|
70
|
+
# mix this module into them and are typically programatically generated)
|
71
|
+
# @param allowed_gobs [Array<String>] A list of file paths or File globs to exclude
|
72
|
+
# from recursion (These are passed in by the caller of purge! and typically
|
73
|
+
# are user supplied configuration values)
|
74
|
+
# @param desireds_not_to_recurse_into [Array<String>] A list of file paths not to
|
75
|
+
# recurse into. These are programatically generated, these exist to maintain
|
76
|
+
# backwards compatibility with previous implementations that used File.globs
|
77
|
+
# for "recursion", ie "**/{*,.[^.]*}" which would not recurse into dot directories.
|
78
|
+
# @param recurse [Boolean] Whether or not to recurse into child directories that do
|
79
|
+
# not match other filters.
|
80
|
+
#
|
81
|
+
# @return [Array<String>] Contents which may be purged.
|
82
|
+
def potentially_purgeable(dir, exclusion_globs, allowed_globs, desireds_not_to_recurse_into, recurse)
|
83
|
+
children = Pathname.new(dir).children.reject do |path|
|
84
|
+
path = path.to_s
|
85
|
+
|
86
|
+
if exclusion_match = exclusion_globs.find { |exclusion| matches?(exclusion, path) }
|
87
|
+
logger.debug2 _("Not purging %{path} due to internal exclusion match: %{exclusion_match}") % {path: path, exclusion_match: exclusion_match}
|
88
|
+
elsif allowlist_match = allowed_globs.find { |allowed| matches?(allowed, path) }
|
89
|
+
logger.debug _("Not purging %{path} due to whitelist match: %{allowlist_match}") % {path: path, allowlist_match: allowlist_match}
|
90
|
+
else
|
91
|
+
desired_match = desireds_not_to_recurse_into.grep(path).first
|
92
|
+
end
|
93
|
+
|
94
|
+
!!exclusion_match || !!allowlist_match || !!desired_match
|
95
|
+
end
|
96
|
+
|
97
|
+
children.flat_map do |child|
|
98
|
+
if File.directory?(child) && recurse
|
99
|
+
potentially_purgeable(child, exclusion_globs, allowed_globs, desireds_not_to_recurse_into, recurse)
|
100
|
+
else
|
101
|
+
child.to_s
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
46
106
|
# @return [Array<String>] Directory contents that are present but not expected
|
47
107
|
def stale_contents(recurse, exclusions, whitelist)
|
48
|
-
|
108
|
+
dirs = self.managed_directories
|
109
|
+
desireds = self.desired_contents
|
110
|
+
hidden_desireds, regular_desireds = desireds.partition do |desired|
|
111
|
+
HIDDEN_FILE.match(File.basename(desired))
|
112
|
+
end
|
49
113
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
elsif whitelist_match = whitelist.find { |wl_item| (wl_item == item) || File.fnmatch?(wl_item, item, fn_match_opts) }
|
54
|
-
logger.debug _("Not purging %{item} due to whitelist match: %{whitelist_match}") % {item: item, whitelist_match: whitelist_match}
|
55
|
-
end
|
114
|
+
initial_purgelist = dirs.flat_map do |dir|
|
115
|
+
potentially_purgeable(dir, exclusions, whitelist, hidden_desireds, recurse)
|
116
|
+
end
|
56
117
|
|
57
|
-
|
118
|
+
initial_purgelist.reject do |path|
|
119
|
+
regular_desireds.any? { |desired| matches?(desired, path) }
|
58
120
|
end
|
59
121
|
end
|
60
122
|
|
data/lib/r10k/version.rb
CHANGED
@@ -2,5 +2,5 @@ module R10K
|
|
2
2
|
# When updating to a new major (X) or minor (Y) version, include `#major` or
|
3
3
|
# `#minor` (respectively) in your commit message to trigger the appropriate
|
4
4
|
# release. Otherwise, a new patch (Z) version will be released.
|
5
|
-
VERSION = '3.
|
5
|
+
VERSION = '3.12.0'
|
6
6
|
end
|
data/locales/r10k.pot
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: r10k 3.
|
9
|
+
"Project-Id-Version: r10k 3.9.3-110-gfe65c736\n"
|
10
10
|
"\n"
|
11
11
|
"Report-Msgid-Bugs-To: docs@puppetlabs.com\n"
|
12
|
-
"POT-Creation-Date: 2021-
|
13
|
-
"PO-Revision-Date: 2021-
|
12
|
+
"POT-Creation-Date: 2021-09-15 21:23+0000\n"
|
13
|
+
"PO-Revision-Date: 2021-09-15 21:23+0000\n"
|
14
14
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
15
15
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16
16
|
"Language: \n"
|
@@ -31,59 +31,71 @@ msgstr ""
|
|
31
31
|
msgid "Reason: %{write_lock}"
|
32
32
|
msgstr ""
|
33
33
|
|
34
|
-
#: ../lib/r10k/action/deploy/environment.rb:
|
34
|
+
#: ../lib/r10k/action/deploy/environment.rb:118
|
35
35
|
msgid "Environment(s) \\'%{environments}\\' cannot be found in any source and will not be deployed."
|
36
36
|
msgstr ""
|
37
37
|
|
38
|
-
#: ../lib/r10k/action/deploy/environment.rb:
|
38
|
+
#: ../lib/r10k/action/deploy/environment.rb:138
|
39
|
+
msgid "Executing postrun command."
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
#: ../lib/r10k/action/deploy/environment.rb:152
|
39
43
|
msgid "Environment %{env_dir} does not match environment name filter, skipping"
|
40
44
|
msgstr ""
|
41
45
|
|
42
|
-
#: ../lib/r10k/action/deploy/environment.rb:
|
46
|
+
#: ../lib/r10k/action/deploy/environment.rb:160
|
43
47
|
msgid "Deploying environment %{env_path}"
|
44
48
|
msgstr ""
|
45
49
|
|
46
|
-
#: ../lib/r10k/action/deploy/environment.rb:
|
50
|
+
#: ../lib/r10k/action/deploy/environment.rb:163
|
47
51
|
msgid "Environment %{env_dir} is now at %{env_signature}"
|
48
52
|
msgstr ""
|
49
53
|
|
50
|
-
#: ../lib/r10k/action/deploy/environment.rb:
|
54
|
+
#: ../lib/r10k/action/deploy/environment.rb:167
|
51
55
|
msgid "Environment %{env_dir} is new, updating all modules"
|
52
56
|
msgstr ""
|
53
57
|
|
54
|
-
#: ../lib/r10k/action/deploy/module.rb:
|
58
|
+
#: ../lib/r10k/action/deploy/module.rb:82
|
59
|
+
msgid "Running postrun command for environments: %{envs_to_run}."
|
60
|
+
msgstr ""
|
61
|
+
|
62
|
+
#: ../lib/r10k/action/deploy/module.rb:92
|
63
|
+
msgid "No environments were modified, not executing postrun command."
|
64
|
+
msgstr ""
|
65
|
+
|
66
|
+
#: ../lib/r10k/action/deploy/module.rb:104
|
55
67
|
msgid "Only updating modules in environment(s) %{opt_env} skipping environment %{env_path}"
|
56
68
|
msgstr ""
|
57
69
|
|
58
|
-
#: ../lib/r10k/action/deploy/module.rb:
|
70
|
+
#: ../lib/r10k/action/deploy/module.rb:106
|
59
71
|
msgid "Updating modules %{modules} in environment %{env_path}"
|
60
72
|
msgstr ""
|
61
73
|
|
62
|
-
#: ../lib/r10k/action/puppetfile/check.rb:
|
74
|
+
#: ../lib/r10k/action/puppetfile/check.rb:18
|
63
75
|
msgid "Syntax OK"
|
64
76
|
msgstr ""
|
65
77
|
|
66
|
-
#: ../lib/r10k/action/runner.rb:
|
78
|
+
#: ../lib/r10k/action/runner.rb:57 ../lib/r10k/deployment/config.rb:42
|
67
79
|
msgid "Overriding config file setting '%{key}': '%{old_val}' -> '%{new_val}'"
|
68
80
|
msgstr ""
|
69
81
|
|
70
|
-
#: ../lib/r10k/action/runner.rb:
|
82
|
+
#: ../lib/r10k/action/runner.rb:99
|
71
83
|
msgid "Reading configuration from %{config_path}"
|
72
84
|
msgstr ""
|
73
85
|
|
74
|
-
#: ../lib/r10k/action/runner.rb:
|
86
|
+
#: ../lib/r10k/action/runner.rb:102
|
75
87
|
msgid "No config file explicitly given and no default config file could be found, default settings will be used."
|
76
88
|
msgstr ""
|
77
89
|
|
78
|
-
#: ../lib/r10k/content_synchronizer.rb:
|
90
|
+
#: ../lib/r10k/content_synchronizer.rb:33
|
79
91
|
msgid "Updating modules with %{pool_size} threads"
|
80
92
|
msgstr ""
|
81
93
|
|
82
|
-
#: ../lib/r10k/content_synchronizer.rb:
|
94
|
+
#: ../lib/r10k/content_synchronizer.rb:46
|
83
95
|
msgid "Error during concurrent deploy of a module: %{message}"
|
84
96
|
msgstr ""
|
85
97
|
|
86
|
-
#: ../lib/r10k/content_synchronizer.rb:
|
98
|
+
#: ../lib/r10k/content_synchronizer.rb:87
|
87
99
|
msgid "Module thread %{id} exiting: %{message}"
|
88
100
|
msgstr ""
|
89
101
|
|
@@ -95,7 +107,7 @@ msgstr ""
|
|
95
107
|
msgid "Unable to load sources; the supplied configuration does not define the 'sources' key"
|
96
108
|
msgstr ""
|
97
109
|
|
98
|
-
#: ../lib/r10k/environment/base.rb:
|
110
|
+
#: ../lib/r10k/environment/base.rb:89 ../lib/r10k/environment/base.rb:105 ../lib/r10k/environment/base.rb:114 ../lib/r10k/source/base.rb:83
|
99
111
|
msgid "%{class} has not implemented method %{method}"
|
100
112
|
msgstr ""
|
101
113
|
|
@@ -207,54 +219,106 @@ msgstr ""
|
|
207
219
|
msgid "Rugged versions prior to 0.24.0 do not support pruning stale branches during fetch, please upgrade your \\'rugged\\' gem. (Current version is: %{version})"
|
208
220
|
msgstr ""
|
209
221
|
|
210
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
222
|
+
#: ../lib/r10k/git/rugged/credentials.rb:28
|
211
223
|
msgid "Authentication failed for Git remote %{url}."
|
212
224
|
msgstr ""
|
213
225
|
|
214
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
226
|
+
#: ../lib/r10k/git/rugged/credentials.rb:52
|
215
227
|
msgid "Using per-repository private key %{key} for URL %{url}"
|
216
228
|
msgstr ""
|
217
229
|
|
218
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
230
|
+
#: ../lib/r10k/git/rugged/credentials.rb:55
|
219
231
|
msgid "URL %{url} has no per-repository private key using '%{key}'."
|
220
232
|
msgstr ""
|
221
233
|
|
222
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
234
|
+
#: ../lib/r10k/git/rugged/credentials.rb:57
|
223
235
|
msgid "Git remote %{url} uses the SSH protocol but no private key was given"
|
224
236
|
msgstr ""
|
225
237
|
|
226
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
238
|
+
#: ../lib/r10k/git/rugged/credentials.rb:61
|
227
239
|
msgid "Unable to use SSH key auth for %{url}: private key %{private_key} is missing or unreadable"
|
228
240
|
msgstr ""
|
229
241
|
|
230
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
242
|
+
#: ../lib/r10k/git/rugged/credentials.rb:102
|
231
243
|
msgid "Using OAuth token from stdin for URL %{url}"
|
232
244
|
msgstr ""
|
233
245
|
|
234
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
246
|
+
#: ../lib/r10k/git/rugged/credentials.rb:105
|
235
247
|
msgid "Using OAuth token from %{token_path} for URL %{url}"
|
236
248
|
msgstr ""
|
237
249
|
|
238
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
250
|
+
#: ../lib/r10k/git/rugged/credentials.rb:107
|
239
251
|
msgid "%{path} is missing or unreadable, cannot load OAuth token"
|
240
252
|
msgstr ""
|
241
253
|
|
242
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
254
|
+
#: ../lib/r10k/git/rugged/credentials.rb:111
|
243
255
|
msgid "Supplied OAuth token contains invalid characters."
|
244
256
|
msgstr ""
|
245
257
|
|
246
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
258
|
+
#: ../lib/r10k/git/rugged/credentials.rb:135
|
247
259
|
msgid "URL %{url} includes the username %{username}, using that user for authentication."
|
248
260
|
msgstr ""
|
249
261
|
|
250
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
262
|
+
#: ../lib/r10k/git/rugged/credentials.rb:138
|
251
263
|
msgid "URL %{url} did not specify a user, using %{user} from configuration"
|
252
264
|
msgstr ""
|
253
265
|
|
254
|
-
#: ../lib/r10k/git/rugged/credentials.rb:
|
266
|
+
#: ../lib/r10k/git/rugged/credentials.rb:141
|
255
267
|
msgid "URL %{url} did not specify a user, using current user %{user}"
|
256
268
|
msgstr ""
|
257
269
|
|
270
|
+
#: ../lib/r10k/git/rugged/credentials.rb:148
|
271
|
+
msgid "Github App id contains invalid characters."
|
272
|
+
msgstr ""
|
273
|
+
|
274
|
+
#: ../lib/r10k/git/rugged/credentials.rb:149
|
275
|
+
msgid "Github App token ttl contains invalid characters."
|
276
|
+
msgstr ""
|
277
|
+
|
278
|
+
#: ../lib/r10k/git/rugged/credentials.rb:150
|
279
|
+
msgid "Github App key is missing or unreadable"
|
280
|
+
msgstr ""
|
281
|
+
|
282
|
+
#: ../lib/r10k/git/rugged/credentials.rb:155
|
283
|
+
msgid "Github App key is not a valid SSL private key"
|
284
|
+
msgstr ""
|
285
|
+
|
286
|
+
#: ../lib/r10k/git/rugged/credentials.rb:158
|
287
|
+
msgid "Github App key is not a valid SSL key"
|
288
|
+
msgstr ""
|
289
|
+
|
290
|
+
#: ../lib/r10k/git/rugged/credentials.rb:161
|
291
|
+
msgid "Using Github App id %{app_id} with SSL key from %{key_path}"
|
292
|
+
msgstr ""
|
293
|
+
|
294
|
+
#: ../lib/r10k/git/rugged/credentials.rb:178
|
295
|
+
msgid ""
|
296
|
+
"Unexpected response code: #{get_response.code}\n"
|
297
|
+
"Response body: #{get_response.body}"
|
298
|
+
msgstr ""
|
299
|
+
|
300
|
+
#: ../lib/r10k/git/rugged/credentials.rb:179
|
301
|
+
msgid "Error using private key to get Github App access token from url"
|
302
|
+
msgstr ""
|
303
|
+
|
304
|
+
#: ../lib/r10k/git/rugged/credentials.rb:194
|
305
|
+
msgid ""
|
306
|
+
"Unexpected response code: #{post_response.code}\n"
|
307
|
+
"Response body: #{post_response.body}"
|
308
|
+
msgstr ""
|
309
|
+
|
310
|
+
#: ../lib/r10k/git/rugged/credentials.rb:195
|
311
|
+
msgid "Error using private key to generate access token from #{access_token_url}"
|
312
|
+
msgstr ""
|
313
|
+
|
314
|
+
#: ../lib/r10k/git/rugged/credentials.rb:200
|
315
|
+
msgid "Github App token contains invalid characters."
|
316
|
+
msgstr ""
|
317
|
+
|
318
|
+
#: ../lib/r10k/git/rugged/credentials.rb:202
|
319
|
+
msgid "Github App token generated, expires at: %{expire}"
|
320
|
+
msgstr ""
|
321
|
+
|
258
322
|
#: ../lib/r10k/git/rugged/thin_repository.rb:85 ../lib/r10k/git/shellgit/thin_repository.rb:65
|
259
323
|
msgid "Updated repo %{path} to include alternate object db path %{objects_dir}"
|
260
324
|
msgstr ""
|
@@ -271,31 +335,31 @@ msgstr ""
|
|
271
335
|
msgid "Found local modifications in %{file_path}"
|
272
336
|
msgstr ""
|
273
337
|
|
274
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
338
|
+
#: ../lib/r10k/git/stateful_repository.rb:45
|
275
339
|
msgid "Unable to sync repo to unresolvable ref '%{ref}'"
|
276
340
|
msgstr ""
|
277
341
|
|
278
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
342
|
+
#: ../lib/r10k/git/stateful_repository.rb:53
|
279
343
|
msgid "Cloning %{repo_path} and checking out %{ref}"
|
280
344
|
msgstr ""
|
281
345
|
|
282
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
346
|
+
#: ../lib/r10k/git/stateful_repository.rb:56
|
283
347
|
msgid "Replacing %{repo_path} and checking out %{ref}"
|
284
348
|
msgstr ""
|
285
349
|
|
286
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
350
|
+
#: ../lib/r10k/git/stateful_repository.rb:60 ../lib/r10k/git/stateful_repository.rb:65
|
287
351
|
msgid "Updating %{repo_path} to %{ref}"
|
288
352
|
msgstr ""
|
289
353
|
|
290
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
354
|
+
#: ../lib/r10k/git/stateful_repository.rb:64
|
291
355
|
msgid "Overwriting local modifications to %{repo_path}"
|
292
356
|
msgstr ""
|
293
357
|
|
294
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
358
|
+
#: ../lib/r10k/git/stateful_repository.rb:68
|
295
359
|
msgid "Skipping %{repo_path} due to local modifications"
|
296
360
|
msgstr ""
|
297
361
|
|
298
|
-
#: ../lib/r10k/git/stateful_repository.rb:
|
362
|
+
#: ../lib/r10k/git/stateful_repository.rb:72
|
299
363
|
msgid "%{repo_path} is already at Git ref %{ref}"
|
300
364
|
msgstr ""
|
301
365
|
|
@@ -315,35 +379,55 @@ msgstr ""
|
|
315
379
|
msgid "Invalid log level '%{val}'. Valid levels are %{log_levels}"
|
316
380
|
msgstr ""
|
317
381
|
|
318
|
-
#: ../lib/r10k/module.rb:
|
382
|
+
#: ../lib/r10k/module.rb:45
|
319
383
|
msgid "Module %{name} with args %{args} doesn't have an implementation. (Are you using the right arguments?)"
|
320
384
|
msgstr ""
|
321
385
|
|
322
|
-
#: ../lib/r10k/module/base.rb:
|
386
|
+
#: ../lib/r10k/module/base.rb:83
|
387
|
+
msgid "Spec dir for #{@title} will not be deleted because it is not in the moduledir"
|
388
|
+
msgstr ""
|
389
|
+
|
390
|
+
#: ../lib/r10k/module/base.rb:95
|
391
|
+
msgid "Deleting spec data at #{spec_path}"
|
392
|
+
msgstr ""
|
393
|
+
|
394
|
+
#: ../lib/r10k/module/base.rb:103
|
395
|
+
msgid "No spec dir detected at #{spec_path}, skipping deletion"
|
396
|
+
msgstr ""
|
397
|
+
|
398
|
+
#: ../lib/r10k/module/base.rb:116
|
323
399
|
msgid "Deploying module to %{path}"
|
324
400
|
msgstr ""
|
325
401
|
|
326
|
-
#: ../lib/r10k/module/base.rb:
|
402
|
+
#: ../lib/r10k/module/base.rb:119
|
327
403
|
msgid "Only updating modules %{modules}, skipping module %{name}"
|
328
404
|
msgstr ""
|
329
405
|
|
330
|
-
#: ../lib/r10k/module/base.rb:
|
406
|
+
#: ../lib/r10k/module/base.rb:175
|
331
407
|
msgid "Module name (%{title}) must match either 'modulename' or 'owner/modulename'"
|
332
408
|
msgstr ""
|
333
409
|
|
334
|
-
#: ../lib/r10k/module/
|
410
|
+
#: ../lib/r10k/module/definition.rb:28
|
411
|
+
msgid "Not updating module %{name}, assuming content unchanged"
|
412
|
+
msgstr ""
|
413
|
+
|
414
|
+
#: ../lib/r10k/module/forge.rb:98
|
415
|
+
msgid "The module %{title} does not appear to have any published releases, cannot determine latest version."
|
416
|
+
msgstr ""
|
417
|
+
|
418
|
+
#: ../lib/r10k/module/forge.rb:101 ../lib/r10k/module/forge.rb:130
|
335
419
|
msgid "The module %{title} does not exist on %{url}."
|
336
420
|
msgstr ""
|
337
421
|
|
338
|
-
#: ../lib/r10k/module/forge.rb:
|
422
|
+
#: ../lib/r10k/module/forge.rb:205
|
339
423
|
msgid "Forge module names must match 'owner/modulename', instead got #{title}"
|
340
424
|
msgstr ""
|
341
425
|
|
342
|
-
#: ../lib/r10k/module/git.rb:
|
426
|
+
#: ../lib/r10k/module/git.rb:81
|
343
427
|
msgid "Cannot track control repo branch for content '%{name}' when not part of a git-backed environment, will use default if available."
|
344
428
|
msgstr ""
|
345
429
|
|
346
|
-
#: ../lib/r10k/module/local.rb:
|
430
|
+
#: ../lib/r10k/module/local.rb:33
|
347
431
|
msgid "Module %{title} is a local module, always indicating synced."
|
348
432
|
msgstr ""
|
349
433
|
|
@@ -351,27 +435,43 @@ msgstr ""
|
|
351
435
|
msgid "Could not read metadata.json"
|
352
436
|
msgstr ""
|
353
437
|
|
354
|
-
#: ../lib/r10k/puppetfile.rb:
|
438
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:58
|
355
439
|
msgid "Using Puppetfile '%{puppetfile}'"
|
356
440
|
msgstr ""
|
357
441
|
|
358
|
-
#: ../lib/r10k/puppetfile.rb:
|
359
|
-
msgid "
|
442
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:59
|
443
|
+
msgid "Using moduledir '%{moduledir}'"
|
360
444
|
msgstr ""
|
361
445
|
|
362
|
-
#: ../lib/r10k/puppetfile.rb:
|
446
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:80
|
363
447
|
msgid "Failed to evaluate %{path}"
|
364
448
|
msgstr ""
|
365
449
|
|
366
|
-
#: ../lib/r10k/puppetfile.rb:
|
450
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:97
|
451
|
+
msgid "Unable to preload Puppetfile because of %{msg}"
|
452
|
+
msgstr ""
|
453
|
+
|
454
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:115
|
455
|
+
msgid "Using Forge from Puppetfile: %{forge}"
|
456
|
+
msgstr ""
|
457
|
+
|
458
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:118
|
459
|
+
msgid "Ignoring Forge declaration in Puppetfile, using value from settings: %{forge}."
|
460
|
+
msgstr ""
|
461
|
+
|
462
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:179 ../lib/r10k/puppetfile.rb:104
|
463
|
+
msgid "Puppetfile %{path} missing or unreadable"
|
464
|
+
msgstr ""
|
465
|
+
|
466
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:215
|
367
467
|
msgid "Puppetfiles cannot contain duplicate module names."
|
368
468
|
msgstr ""
|
369
469
|
|
370
|
-
#: ../lib/r10k/puppetfile.rb:
|
470
|
+
#: ../lib/r10k/module_loader/puppetfile.rb:217
|
371
471
|
msgid "Remove the duplicates of the following modules: %{dupes}"
|
372
472
|
msgstr ""
|
373
473
|
|
374
|
-
#: ../lib/r10k/puppetfile.rb:
|
474
|
+
#: ../lib/r10k/module_loader/puppetfile/dsl.rb:37
|
375
475
|
msgid "unrecognized declaration '%{method}'"
|
376
476
|
msgstr ""
|
377
477
|
|
@@ -454,27 +554,27 @@ msgid ""
|
|
454
554
|
"Returned: %{data}"
|
455
555
|
msgstr ""
|
456
556
|
|
457
|
-
#: ../lib/r10k/source/git.rb:
|
557
|
+
#: ../lib/r10k/source/git.rb:75
|
458
558
|
msgid "Fetching '%{remote}' to determine current branches."
|
459
559
|
msgstr ""
|
460
560
|
|
461
|
-
#: ../lib/r10k/source/git.rb:
|
561
|
+
#: ../lib/r10k/source/git.rb:78
|
462
562
|
msgid "Unable to determine current branches for Git source '%{name}' (%{basedir})"
|
463
563
|
msgstr ""
|
464
564
|
|
465
|
-
#: ../lib/r10k/source/git.rb:
|
565
|
+
#: ../lib/r10k/source/git.rb:113
|
466
566
|
msgid "Environment %{env_name} contained non-word characters, correcting name to %{corrected_env_name}"
|
467
567
|
msgstr ""
|
468
568
|
|
469
|
-
#: ../lib/r10k/source/git.rb:
|
569
|
+
#: ../lib/r10k/source/git.rb:122
|
470
570
|
msgid "Environment %{env_name} contained non-word characters, ignoring it."
|
471
571
|
msgstr ""
|
472
572
|
|
473
|
-
#: ../lib/r10k/source/git.rb:
|
573
|
+
#: ../lib/r10k/source/git.rb:141 ../lib/r10k/source/svn.rb:115
|
474
574
|
msgid "Branch %{branch} filtered out by ignore_branch_prefixes %{ibp}"
|
475
575
|
msgstr ""
|
476
576
|
|
477
|
-
#: ../lib/r10k/source/git.rb:
|
577
|
+
#: ../lib/r10k/source/git.rb:152
|
478
578
|
msgid "Branch `%{name}:%{branch}` filtered out by filter_command %{cmd}"
|
479
579
|
msgstr ""
|
480
580
|
|
@@ -518,23 +618,23 @@ msgstr ""
|
|
518
618
|
msgid "pe_license feature is not available, PE only Puppet modules will not be downloadable."
|
519
619
|
msgstr ""
|
520
620
|
|
521
|
-
#: ../lib/r10k/util/purgeable.rb:
|
522
|
-
msgid "Not purging %{
|
621
|
+
#: ../lib/r10k/util/purgeable.rb:87
|
622
|
+
msgid "Not purging %{path} due to internal exclusion match: %{exclusion_match}"
|
523
623
|
msgstr ""
|
524
624
|
|
525
|
-
#: ../lib/r10k/util/purgeable.rb:
|
526
|
-
msgid "Not purging %{
|
625
|
+
#: ../lib/r10k/util/purgeable.rb:89
|
626
|
+
msgid "Not purging %{path} due to whitelist match: %{allowlist_match}"
|
527
627
|
msgstr ""
|
528
628
|
|
529
|
-
#: ../lib/r10k/util/purgeable.rb:
|
629
|
+
#: ../lib/r10k/util/purgeable.rb:133
|
530
630
|
msgid "No unmanaged contents in %{managed_dirs}, nothing to purge"
|
531
631
|
msgstr ""
|
532
632
|
|
533
|
-
#: ../lib/r10k/util/purgeable.rb:
|
633
|
+
#: ../lib/r10k/util/purgeable.rb:138
|
534
634
|
msgid "Removing unmanaged path %{path}"
|
535
635
|
msgstr ""
|
536
636
|
|
537
|
-
#: ../lib/r10k/util/purgeable.rb:
|
637
|
+
#: ../lib/r10k/util/purgeable.rb:143
|
538
638
|
msgid "Unable to remove unmanaged path: %{path}"
|
539
639
|
msgstr ""
|
540
640
|
|