r10k 3.0.3 → 3.0.4
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/.gitignore +0 -1
- data/.travis.yml +17 -6
- data/CHANGELOG.mkd +33 -16
- data/azure-pipelines.yml +16 -10
- data/doc/dynamic-environments/usage.mkd +12 -0
- data/docker/.gitignore +1 -0
- data/docker/Gemfile +1 -1
- data/docker/Makefile +47 -0
- data/docker/ci/build.ps1 +81 -13
- data/docker/distelli-manifest.yml +6 -1
- data/docker/r10k/spec/dockerfile_spec.rb +28 -13
- data/docker/r10k/spec/fixtures/Puppetfile +2 -0
- data/integration/Gemfile +2 -2
- data/integration/Rakefile +0 -1
- data/integration/pre-suite/00_pe_install.rb +1 -0
- data/integration/tests/basic_functionality/install_pe_only_module_with_puppetfile.rb +2 -2
- data/integration/tests/basic_functionality/proxy_with_pe_only_module.rb +2 -2
- data/integration/tests/user_scenario/basic_workflow/negative/neg_disk_full.rb +2 -12
- data/integration/tests/user_scenario/basic_workflow/single_env_10000_files.rb +2 -11
- data/integration/tests/user_scenario/basic_workflow/single_env_large_files.rb +2 -12
- data/lib/r10k/action/deploy/environment.rb +2 -2
- data/lib/r10k/cli/deploy.rb +1 -0
- data/lib/r10k/module/git.rb +5 -0
- data/lib/r10k/puppetfile.rb +10 -3
- data/lib/r10k/version.rb +1 -1
- data/locales/r10k.pot +490 -0
- data/spec/fixtures/unit/puppetfile/default-branch-override/Puppetfile +5 -0
- data/spec/unit/action/deploy/environment_spec.rb +4 -0
- data/spec/unit/puppetfile_spec.rb +19 -0
- metadata +6 -4
- data/docker/ci/build +0 -72
- data/integration/pre-suite/30_test_utils.rb +0 -17
data/integration/Gemfile
CHANGED
@@ -10,8 +10,8 @@ def location_for(place, fake_version = nil)
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
-
gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~>
|
14
|
-
gem 'beaker-pe', '~>
|
13
|
+
gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~> 4.5')
|
14
|
+
gem 'beaker-pe', '~> 2.0'
|
15
15
|
gem 'beaker-answers'
|
16
16
|
gem 'beaker-hostgenerator', *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || '~> 1.1')
|
17
17
|
gem 'beaker-abs', *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.4')
|
data/integration/Rakefile
CHANGED
@@ -58,8 +58,8 @@ on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")
|
|
58
58
|
step 'Update the "r10k" Config'
|
59
59
|
create_remote_file(master, r10k_config_path, r10k_conf)
|
60
60
|
|
61
|
-
step 'Download license file from
|
62
|
-
curl_on(master, '
|
61
|
+
step 'Download license file from artifactory'
|
62
|
+
curl_on(master, 'https://artifactory.delivery.puppetlabs.net/artifactory/generic/r10k_test_license.key -o /etc/puppetlabs/license.key')
|
63
63
|
|
64
64
|
step 'Inject New "site.pp" to the "production" Environment'
|
65
65
|
inject_site_pp(master, site_pp_path, site_pp)
|
@@ -86,8 +86,8 @@ on(master, "mv #{r10k_config_path} #{r10k_config_bak_path}")
|
|
86
86
|
step 'Update the "r10k" Config'
|
87
87
|
create_remote_file(master, r10k_config_path, r10k_conf)
|
88
88
|
|
89
|
-
step 'Download license file from
|
90
|
-
curl_on(master, '
|
89
|
+
step 'Download license file from artifactory'
|
90
|
+
curl_on(master, 'https://artifactory.delivery.puppetlabs.net/artifactory/generic/r10k_test_license.key -o /etc/puppetlabs/license.key')
|
91
91
|
|
92
92
|
step 'Checkout "production" Branch'
|
93
93
|
git_on(master, 'checkout production', git_environments_path)
|
@@ -20,17 +20,6 @@ r10k_config_bak_path = "#{r10k_config_path}.bak"
|
|
20
20
|
|
21
21
|
tmpfs_path = '/mnt/tmpfs'
|
22
22
|
|
23
|
-
if on(master, 'which python', :acceptable_exit_codes => [0, 1]).exit_code == 1
|
24
|
-
python_bin = 'python3'
|
25
|
-
else
|
26
|
-
python_bin = 'python'
|
27
|
-
end
|
28
|
-
|
29
|
-
file_bucket_path = '/opt/filebucket'
|
30
|
-
file_bucket_command_path = File.join(file_bucket_path, 'filebucketapp.py')
|
31
|
-
file_bucket_command = "#{python_bin} #{file_bucket_command_path}"
|
32
|
-
pattern_file_path = File.join(file_bucket_path, 'psuedo_random_128k.pat')
|
33
|
-
|
34
23
|
test_files_path = File.join(git_environments_path, 'test_files')
|
35
24
|
|
36
25
|
#In-line files
|
@@ -73,7 +62,8 @@ on(master, "mount -osize=10m tmpfs #{tmpfs_path} -t tmpfs")
|
|
73
62
|
step 'Create Large Binary File'
|
74
63
|
create_remote_file(master, File.join(git_environments_path, '.gitattributes'), '*.file binary')
|
75
64
|
on(master, "mkdir -p #{test_files_path}")
|
76
|
-
|
65
|
+
# create a 11 mb file to fill the mount
|
66
|
+
on(master, "dd if=/dev/urandom of=#{test_files_path}.test.file bs=1048576 count=11")
|
77
67
|
|
78
68
|
step 'Push Changes'
|
79
69
|
git_add_commit_push(master, 'production', 'Add large file.', git_environments_path)
|
@@ -21,16 +21,6 @@ helloworld_module_path = File.join(local_files_root_path, 'modules', 'helloworld
|
|
21
21
|
test_files = 'test_files'
|
22
22
|
test_files_path = File.join(git_environments_path, test_files)
|
23
23
|
|
24
|
-
if on(master, 'which python', :acceptable_exit_codes => [0, 1]).exit_code == 1
|
25
|
-
python_bin = 'python3'
|
26
|
-
else
|
27
|
-
python_bin = 'python'
|
28
|
-
end
|
29
|
-
|
30
|
-
file_bucket_path = '/opt/filebucket'
|
31
|
-
file_bucket_command_path = File.join(file_bucket_path, 'filebucketapp.py')
|
32
|
-
file_bucket_command = "#{python_bin} #{file_bucket_command_path}"
|
33
|
-
|
34
24
|
#Manifest
|
35
25
|
site_pp_path = File.join(git_environments_path, 'manifests', 'site.pp')
|
36
26
|
site_pp = create_site_pp(master_certname, ' include helloworld')
|
@@ -60,7 +50,8 @@ inject_site_pp(master, site_pp_path, site_pp)
|
|
60
50
|
step 'Create 10,000 Files'
|
61
51
|
create_remote_file(master, File.join(git_environments_path, '.gitattributes'), '*.file binary')
|
62
52
|
on(master, "mkdir -p #{test_files_path}")
|
63
|
-
|
53
|
+
# create 10000 1k files with random text
|
54
|
+
on(master, "for n in {1..10000}; do dd if=/dev/urandom of=#{test_files_path}/test$( printf %03d \"$n\" ).file bs=1024 count=1; done")
|
64
55
|
|
65
56
|
step 'Create MD5 Checksum of Files'
|
66
57
|
on(master, "cd #{test_files_path};md5sum *.file > #{checksum_file_name}")
|
@@ -21,17 +21,6 @@ helloworld_module_path = File.join(local_files_root_path, 'modules', 'helloworld
|
|
21
21
|
test_files = 'test_files'
|
22
22
|
test_files_path = File.join(git_environments_path, 'test_files')
|
23
23
|
|
24
|
-
if on(master, 'which python', :acceptable_exit_codes => [0, 1]).exit_code == 1
|
25
|
-
python_bin = 'python3'
|
26
|
-
else
|
27
|
-
python_bin = 'python'
|
28
|
-
end
|
29
|
-
|
30
|
-
file_bucket_path = '/opt/filebucket'
|
31
|
-
file_bucket_command_path = File.join(file_bucket_path, 'filebucketapp.py')
|
32
|
-
pattern_file_path = File.join(file_bucket_path, 'psuedo_random_128k.pat')
|
33
|
-
file_bucket_command = "#{python_bin} #{file_bucket_command_path}"
|
34
|
-
|
35
24
|
#Manifest
|
36
25
|
site_pp_path = File.join(git_environments_path, 'manifests', 'site.pp')
|
37
26
|
site_pp = create_site_pp(master_certname, ' include helloworld')
|
@@ -61,7 +50,8 @@ inject_site_pp(master, site_pp_path, site_pp)
|
|
61
50
|
step 'Create Large Binary Files'
|
62
51
|
create_remote_file(master, File.join(git_environments_path, '.gitattributes'), '*.file binary')
|
63
52
|
on(master, "mkdir -p #{test_files_path}")
|
64
|
-
|
53
|
+
# create 10 25 MB files with random characters
|
54
|
+
on(master, "for n in {1..10}; do dd if=/dev/urandom of=#{test_files_path}/test$( printf %03d \"$n\" ).file bs=1048576 count=25; done")
|
65
55
|
|
66
56
|
step 'Create MD5 Checksum of Files'
|
67
57
|
on(master, "cd #{test_files_path};md5sum *.file > #{checksum_file_name}")
|
@@ -109,7 +109,7 @@ module R10K
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def visit_puppetfile(puppetfile)
|
112
|
-
puppetfile.load
|
112
|
+
puppetfile.load(@opts[:'default-branch-override'])
|
113
113
|
|
114
114
|
yield
|
115
115
|
|
@@ -146,7 +146,7 @@ module R10K
|
|
146
146
|
end
|
147
147
|
|
148
148
|
def allowed_initialize_opts
|
149
|
-
super.merge(puppetfile: :self, cachedir: :self, :'no-force' => :self)
|
149
|
+
super.merge(puppetfile: :self, cachedir: :self, :'no-force' => :self, :'default-branch-override' => :self)
|
150
150
|
end
|
151
151
|
end
|
152
152
|
end
|
data/lib/r10k/cli/deploy.rb
CHANGED
@@ -53,6 +53,7 @@ scheduled. On subsequent deployments, Puppetfile deployment will default to off.
|
|
53
53
|
DESCRIPTION
|
54
54
|
|
55
55
|
flag :p, :puppetfile, 'Deploy modules from a puppetfile'
|
56
|
+
required nil, :'default-branch-override', 'Specify a branchname to override the default branch in the puppetfile'
|
56
57
|
|
57
58
|
runner R10K::Action::CriRunner.wrap(R10K::Action::Deploy::Environment)
|
58
59
|
end
|
data/lib/r10k/module/git.rb
CHANGED
@@ -23,6 +23,11 @@ class R10K::Module::Git < R10K::Module::Base
|
|
23
23
|
# @return [String]
|
24
24
|
attr_reader :desired_ref
|
25
25
|
|
26
|
+
# @!attribute [r] default_ref
|
27
|
+
# @api private
|
28
|
+
# @return [String]
|
29
|
+
attr_reader :default_ref
|
30
|
+
|
26
31
|
def initialize(title, dirname, args, environment=nil)
|
27
32
|
super
|
28
33
|
|
data/lib/r10k/puppetfile.rb
CHANGED
@@ -58,17 +58,20 @@ class Puppetfile
|
|
58
58
|
@loaded = false
|
59
59
|
end
|
60
60
|
|
61
|
-
def load
|
61
|
+
def load(default_branch_override = nil)
|
62
62
|
if File.readable? @puppetfile_path
|
63
|
-
self.load!
|
63
|
+
self.load!(default_branch_override)
|
64
64
|
else
|
65
65
|
logger.debug _("Puppetfile %{path} missing or unreadable") % {path: @puppetfile_path.inspect}
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
def load!
|
69
|
+
def load!(default_branch_override = nil)
|
70
|
+
@default_branch_override = default_branch_override
|
71
|
+
|
70
72
|
dsl = R10K::Puppetfile::DSL.new(self)
|
71
73
|
dsl.instance_eval(puppetfile_contents, @puppetfile_path)
|
74
|
+
|
72
75
|
validate_no_duplicate_names(@modules)
|
73
76
|
@loaded = true
|
74
77
|
rescue SyntaxError, LoadError, ArgumentError, NameError => e
|
@@ -113,6 +116,10 @@ class Puppetfile
|
|
113
116
|
install_path = @moduledir
|
114
117
|
end
|
115
118
|
|
119
|
+
if args.is_a?(Hash) && @default_branch_override != nil
|
120
|
+
args[:default_branch] = @default_branch_override
|
121
|
+
end
|
122
|
+
|
116
123
|
# Keep track of all the content this Puppetfile is managing to enable purging.
|
117
124
|
@managed_content[install_path] = Array.new unless @managed_content.has_key?(install_path)
|
118
125
|
|
data/lib/r10k/version.rb
CHANGED
data/locales/r10k.pot
ADDED
@@ -0,0 +1,490 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) 2018 Puppet, Inc.
|
3
|
+
# This file is distributed under the same license as the r10k package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
|
5
|
+
#
|
6
|
+
#, fuzzy
|
7
|
+
msgid ""
|
8
|
+
msgstr ""
|
9
|
+
"Project-Id-Version: r10k 3.0.3-15-gfa546f5\n"
|
10
|
+
"\n"
|
11
|
+
"Report-Msgid-Bugs-To: docs@puppetlabs.com\n"
|
12
|
+
"POT-Creation-Date: 2018-12-05 22:18+0000\n"
|
13
|
+
"PO-Revision-Date: 2018-12-05 22:18+0000\n"
|
14
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
15
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16
|
+
"Language: \n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
21
|
+
|
22
|
+
#: ../lib/r10k/action/deploy/deploy_helpers.rb:12 ../lib/r10k/settings/loader.rb:63
|
23
|
+
msgid "No configuration file given, no config file found in current directory, and no global config present"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
#: ../lib/r10k/action/deploy/deploy_helpers.rb:26
|
27
|
+
msgid "Making changes to deployed environments has been administratively disabled."
|
28
|
+
msgstr ""
|
29
|
+
|
30
|
+
#: ../lib/r10k/action/deploy/deploy_helpers.rb:27
|
31
|
+
msgid "Reason: %{write_lock}"
|
32
|
+
msgstr ""
|
33
|
+
|
34
|
+
#: ../lib/r10k/action/deploy/environment.rb:56
|
35
|
+
msgid "Environment(s) \\'%{environments}\\' cannot be found in any source and will not be deployed."
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
#: ../lib/r10k/action/deploy/environment.rb:79
|
39
|
+
msgid "Environment %{env_dir} does not match environment name filter, skipping"
|
40
|
+
msgstr ""
|
41
|
+
|
42
|
+
#: ../lib/r10k/action/deploy/environment.rb:86
|
43
|
+
msgid "Deploying environment %{env_path}"
|
44
|
+
msgstr ""
|
45
|
+
|
46
|
+
#: ../lib/r10k/action/deploy/environment.rb:89
|
47
|
+
msgid "Environment %{env_dir} is now at %{env_signature}"
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
#: ../lib/r10k/action/deploy/environment.rb:93
|
51
|
+
msgid "Environment %{env_dir} is new, updating all modules"
|
52
|
+
msgstr ""
|
53
|
+
|
54
|
+
#: ../lib/r10k/action/deploy/environment.rb:123
|
55
|
+
msgid "Deploying Puppetfile content %{mod_path}"
|
56
|
+
msgstr ""
|
57
|
+
|
58
|
+
#: ../lib/r10k/action/deploy/module.rb:49
|
59
|
+
msgid "Only updating modules in environment %{opt_env} skipping environment %{env_path}"
|
60
|
+
msgstr ""
|
61
|
+
|
62
|
+
#: ../lib/r10k/action/deploy/module.rb:51
|
63
|
+
msgid "Updating modules %{modules} in environment %{env_path}"
|
64
|
+
msgstr ""
|
65
|
+
|
66
|
+
#: ../lib/r10k/action/deploy/module.rb:63
|
67
|
+
msgid "Deploying module %{mod_path}"
|
68
|
+
msgstr ""
|
69
|
+
|
70
|
+
#: ../lib/r10k/action/deploy/module.rb:66
|
71
|
+
msgid "Only updating modules %{modules}, skipping module %{mod_name}"
|
72
|
+
msgstr ""
|
73
|
+
|
74
|
+
#: ../lib/r10k/action/puppetfile/check.rb:14
|
75
|
+
msgid "Syntax OK"
|
76
|
+
msgstr ""
|
77
|
+
|
78
|
+
#: ../lib/r10k/action/puppetfile/install.rb:30
|
79
|
+
msgid "Updating module %{mod_path}"
|
80
|
+
msgstr ""
|
81
|
+
|
82
|
+
#: ../lib/r10k/action/puppetfile/install.rb:33
|
83
|
+
msgid "Cannot track control repo branch for content '%{name}' when not part of a 'deploy' action, will use default if available."
|
84
|
+
msgstr ""
|
85
|
+
|
86
|
+
#: ../lib/r10k/action/runner.rb:49 ../lib/r10k/deployment/config.rb:42
|
87
|
+
msgid "Overriding config file setting '%{key}': '%{old_val}' -> '%{new_val}'"
|
88
|
+
msgstr ""
|
89
|
+
|
90
|
+
#: ../lib/r10k/action/runner.rb:82
|
91
|
+
msgid "Reading configuration from %{config_path}"
|
92
|
+
msgstr ""
|
93
|
+
|
94
|
+
#: ../lib/r10k/action/runner.rb:85
|
95
|
+
msgid "No config file explicitly given and no default config file could be found, default settings will be used."
|
96
|
+
msgstr ""
|
97
|
+
|
98
|
+
#: ../lib/r10k/deployment.rb:90
|
99
|
+
msgid "Environment collision at %{env_path} between %{source}:%{env_name} and %{osource}:%{oenv_name}"
|
100
|
+
msgstr ""
|
101
|
+
|
102
|
+
#: ../lib/r10k/deployment.rb:118
|
103
|
+
msgid "Unable to load sources; the supplied configuration does not define the 'sources' key"
|
104
|
+
msgstr ""
|
105
|
+
|
106
|
+
#: ../lib/r10k/environment/base.rb:59 ../lib/r10k/environment/base.rb:75 ../lib/r10k/environment/base.rb:84 ../lib/r10k/source/base.rb:64
|
107
|
+
msgid "%{class} has not implemented method %{method}"
|
108
|
+
msgstr ""
|
109
|
+
|
110
|
+
#: ../lib/r10k/feature.rb:27
|
111
|
+
msgid "Testing to see if feature %{name} is available."
|
112
|
+
msgstr ""
|
113
|
+
|
114
|
+
#: ../lib/r10k/feature.rb:30
|
115
|
+
msgid "Feature %{name} %{message} available."
|
116
|
+
msgstr ""
|
117
|
+
|
118
|
+
#: ../lib/r10k/feature.rb:37
|
119
|
+
msgid "Attempting to load library '%{lib}' for feature %{name}"
|
120
|
+
msgstr ""
|
121
|
+
|
122
|
+
#: ../lib/r10k/feature.rb:41
|
123
|
+
msgid "Error while loading library %{lib} for feature %{name}: %{error_msg}"
|
124
|
+
msgstr ""
|
125
|
+
|
126
|
+
#: ../lib/r10k/feature.rb:47
|
127
|
+
msgid "Evaluating proc %{block} to test for feature %{name}"
|
128
|
+
msgstr ""
|
129
|
+
|
130
|
+
#: ../lib/r10k/feature.rb:49
|
131
|
+
msgid "Proc %{block} for feature %{name} returned %{output}"
|
132
|
+
msgstr ""
|
133
|
+
|
134
|
+
#: ../lib/r10k/forge/module_release.rb:164
|
135
|
+
msgid "Unpacking %{tarball_cache_path} to %{target_dir} (with tmpdir %{tmp_path})"
|
136
|
+
msgstr ""
|
137
|
+
|
138
|
+
#: ../lib/r10k/forge/module_release.rb:166
|
139
|
+
msgid "Valid files unpacked: %{valid_files}"
|
140
|
+
msgstr ""
|
141
|
+
|
142
|
+
#: ../lib/r10k/forge/module_release.rb:168
|
143
|
+
msgid "These files existed in the module's tar file, but are invalid filetypes and were not unpacked: %{invalid_files}"
|
144
|
+
msgstr ""
|
145
|
+
|
146
|
+
#: ../lib/r10k/forge/module_release.rb:171
|
147
|
+
msgid "Symlinks are unsupported and were not unpacked from the module tarball. %{release_slug} contained these ignored symlinks: %{symlinks}"
|
148
|
+
msgstr ""
|
149
|
+
|
150
|
+
#: ../lib/r10k/git.rb:32
|
151
|
+
msgid "Rugged has been compiled without support for %{transport}; Git repositories will not be reachable via %{transport}."
|
152
|
+
msgstr ""
|
153
|
+
|
154
|
+
#: ../lib/r10k/git.rb:68
|
155
|
+
msgid "No Git providers are functional."
|
156
|
+
msgstr ""
|
157
|
+
|
158
|
+
#: ../lib/r10k/git.rb:85
|
159
|
+
msgid "No Git provider named '%{name}'."
|
160
|
+
msgstr ""
|
161
|
+
|
162
|
+
#: ../lib/r10k/git.rb:89
|
163
|
+
msgid "Git provider '%{name}' is not functional."
|
164
|
+
msgstr ""
|
165
|
+
|
166
|
+
#: ../lib/r10k/git.rb:96
|
167
|
+
msgid "Setting Git provider to %{provider}"
|
168
|
+
msgstr ""
|
169
|
+
|
170
|
+
#: ../lib/r10k/git.rb:104
|
171
|
+
msgid "No Git provider set."
|
172
|
+
msgstr ""
|
173
|
+
|
174
|
+
#: ../lib/r10k/git.rb:107
|
175
|
+
msgid "Setting Git provider to default provider %{name}"
|
176
|
+
msgstr ""
|
177
|
+
|
178
|
+
#: ../lib/r10k/git/alternates.rb:46
|
179
|
+
msgid "Cannot write %{file}; parent directory does not exist"
|
180
|
+
msgstr ""
|
181
|
+
|
182
|
+
#: ../lib/r10k/git/cache.rb:55
|
183
|
+
msgid "%{class}#path is deprecated; use #git_dir"
|
184
|
+
msgstr ""
|
185
|
+
|
186
|
+
#: ../lib/r10k/git/cache.rb:84
|
187
|
+
msgid "Creating new git cache for %{remote}"
|
188
|
+
msgstr ""
|
189
|
+
|
190
|
+
#: ../lib/r10k/git/rugged/bare_repository.rb:34 ../lib/r10k/git/rugged/working_repository.rb:28
|
191
|
+
msgid "Cloning '%{remote}' into %{path}"
|
192
|
+
msgstr ""
|
193
|
+
|
194
|
+
#: ../lib/r10k/git/rugged/bare_repository.rb:52
|
195
|
+
msgid "Fetching remote '%{remote_name}' at %{path}"
|
196
|
+
msgstr ""
|
197
|
+
|
198
|
+
#: ../lib/r10k/git/rugged/bare_repository.rb:56
|
199
|
+
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})"
|
200
|
+
msgstr ""
|
201
|
+
|
202
|
+
#: ../lib/r10k/git/rugged/credentials.rb:24
|
203
|
+
msgid "Authentication failed for Git remote %{url}."
|
204
|
+
msgstr ""
|
205
|
+
|
206
|
+
#: ../lib/r10k/git/rugged/credentials.rb:48
|
207
|
+
msgid "Using per-repository private key %{key} for URL %{url}"
|
208
|
+
msgstr ""
|
209
|
+
|
210
|
+
#: ../lib/r10k/git/rugged/credentials.rb:51
|
211
|
+
msgid "URL %{url} has no per-repository private key using '%{key}'."
|
212
|
+
msgstr ""
|
213
|
+
|
214
|
+
#: ../lib/r10k/git/rugged/credentials.rb:53
|
215
|
+
msgid "Git remote %{url} uses the SSH protocol but no private key was given"
|
216
|
+
msgstr ""
|
217
|
+
|
218
|
+
#: ../lib/r10k/git/rugged/credentials.rb:57
|
219
|
+
msgid "Unable to use SSH key auth for %{url}: private key %{private_key} is missing or unreadable"
|
220
|
+
msgstr ""
|
221
|
+
|
222
|
+
#: ../lib/r10k/git/rugged/credentials.rb:80
|
223
|
+
msgid "URL %{url} includes the username %{username}, using that user for authentication."
|
224
|
+
msgstr ""
|
225
|
+
|
226
|
+
#: ../lib/r10k/git/rugged/credentials.rb:83
|
227
|
+
msgid "URL %{url} did not specify a user, using %{user} from configuration"
|
228
|
+
msgstr ""
|
229
|
+
|
230
|
+
#: ../lib/r10k/git/rugged/credentials.rb:86
|
231
|
+
msgid "URL %{url} did not specify a user, using current user %{user}"
|
232
|
+
msgstr ""
|
233
|
+
|
234
|
+
#: ../lib/r10k/git/rugged/thin_repository.rb:85 ../lib/r10k/git/shellgit/thin_repository.rb:65
|
235
|
+
msgid "Updated repo %{path} to include alternate object db path %{objects_dir}"
|
236
|
+
msgstr ""
|
237
|
+
|
238
|
+
#: ../lib/r10k/git/rugged/working_repository.rb:67
|
239
|
+
msgid "Checking out ref '%{ref}' (resolved to SHA '%{sha}') in repository %{path}"
|
240
|
+
msgstr ""
|
241
|
+
|
242
|
+
#: ../lib/r10k/git/rugged/working_repository.rb:87
|
243
|
+
msgid "Fetching remote '%{remote}' at %{path}"
|
244
|
+
msgstr ""
|
245
|
+
|
246
|
+
#: ../lib/r10k/git/rugged/working_repository.rb:125 ../lib/r10k/git/shellgit/working_repository.rb:100
|
247
|
+
msgid "Found local modifications in %{file_path}"
|
248
|
+
msgstr ""
|
249
|
+
|
250
|
+
#: ../lib/r10k/git/stateful_repository.rb:40
|
251
|
+
msgid "Unable to sync repo to unresolvable ref '%{ref}'"
|
252
|
+
msgstr ""
|
253
|
+
|
254
|
+
#: ../lib/r10k/git/stateful_repository.rb:47
|
255
|
+
msgid "Cloning %{repo_path} and checking out %{ref}"
|
256
|
+
msgstr ""
|
257
|
+
|
258
|
+
#: ../lib/r10k/git/stateful_repository.rb:50
|
259
|
+
msgid "Replacing %{repo_path} and checking out %{ref}"
|
260
|
+
msgstr ""
|
261
|
+
|
262
|
+
#: ../lib/r10k/git/stateful_repository.rb:54 ../lib/r10k/git/stateful_repository.rb:59
|
263
|
+
msgid "Updating %{repo_path} to %{ref}"
|
264
|
+
msgstr ""
|
265
|
+
|
266
|
+
#: ../lib/r10k/git/stateful_repository.rb:58
|
267
|
+
msgid "Overwriting local modifications to %{repo_path}"
|
268
|
+
msgstr ""
|
269
|
+
|
270
|
+
#: ../lib/r10k/git/stateful_repository.rb:62
|
271
|
+
msgid "Skipping %{repo_path} due to local modifications"
|
272
|
+
msgstr ""
|
273
|
+
|
274
|
+
#: ../lib/r10k/git/stateful_repository.rb:65
|
275
|
+
msgid "%{repo_path} is already at Git ref %{ref}"
|
276
|
+
msgstr ""
|
277
|
+
|
278
|
+
#: ../lib/r10k/initializers.rb:30
|
279
|
+
msgid "the purgedirs key in r10k.yaml is deprecated. it is currently ignored."
|
280
|
+
msgstr ""
|
281
|
+
|
282
|
+
#: ../lib/r10k/keyed_factory.rb:18
|
283
|
+
msgid "Class already registered for %{key}"
|
284
|
+
msgstr ""
|
285
|
+
|
286
|
+
#: ../lib/r10k/keyed_factory.rb:32
|
287
|
+
msgid "No class registered for %{key}"
|
288
|
+
msgstr ""
|
289
|
+
|
290
|
+
#: ../lib/r10k/logging.rb:60
|
291
|
+
msgid "Invalid log level '%{val}'. Valid levels are %{log_levels}"
|
292
|
+
msgstr ""
|
293
|
+
|
294
|
+
#: ../lib/r10k/module.rb:29
|
295
|
+
msgid "Module %{name} with args %{args} doesn't have an implementation. (Are you using the right arguments?)"
|
296
|
+
msgstr ""
|
297
|
+
|
298
|
+
#: ../lib/r10k/module/base.rb:101
|
299
|
+
msgid "Module name (%{title}) must match either 'modulename' or 'owner/modulename'"
|
300
|
+
msgstr ""
|
301
|
+
|
302
|
+
#: ../lib/r10k/module/forge.rb:70 ../lib/r10k/module/forge.rb:95
|
303
|
+
msgid "The module %{title} does not exist on %{url}."
|
304
|
+
msgstr ""
|
305
|
+
|
306
|
+
#: ../lib/r10k/module/forge.rb:170
|
307
|
+
msgid "Forge module names must match 'owner/modulename'"
|
308
|
+
msgstr ""
|
309
|
+
|
310
|
+
#: ../lib/r10k/module/git.rb:92
|
311
|
+
msgid "Unhandled options %{unhandled} specified for %{class}"
|
312
|
+
msgstr ""
|
313
|
+
|
314
|
+
#: ../lib/r10k/module/local.rb:34
|
315
|
+
msgid "Module %{title} is a local module, always indicating synced."
|
316
|
+
msgstr ""
|
317
|
+
|
318
|
+
#: ../lib/r10k/module/metadata_file.rb:25
|
319
|
+
msgid "Could not read metadata.json"
|
320
|
+
msgstr ""
|
321
|
+
|
322
|
+
#: ../lib/r10k/puppetfile.rb:52
|
323
|
+
msgid "Using Puppetfile '%{puppetfile}'"
|
324
|
+
msgstr ""
|
325
|
+
|
326
|
+
#: ../lib/r10k/puppetfile.rb:65
|
327
|
+
msgid "Puppetfile %{path} missing or unreadable"
|
328
|
+
msgstr ""
|
329
|
+
|
330
|
+
#: ../lib/r10k/puppetfile.rb:75
|
331
|
+
msgid "Failed to evaluate %{path}"
|
332
|
+
msgstr ""
|
333
|
+
|
334
|
+
#: ../lib/r10k/puppetfile.rb:85
|
335
|
+
msgid "Puppetfiles cannot contain duplicate module names."
|
336
|
+
msgstr ""
|
337
|
+
|
338
|
+
#: ../lib/r10k/puppetfile.rb:87
|
339
|
+
msgid "Remove the duplicates of the following modules: %{dupes}"
|
340
|
+
msgstr ""
|
341
|
+
|
342
|
+
#: ../lib/r10k/puppetfile.rb:213
|
343
|
+
msgid "unrecognized declaration '%{method}'"
|
344
|
+
msgstr ""
|
345
|
+
|
346
|
+
#: ../lib/r10k/settings/collection.rb:77
|
347
|
+
msgid "Validation failed for '%{name}' settings group"
|
348
|
+
msgstr ""
|
349
|
+
|
350
|
+
#: ../lib/r10k/settings/collection.rb:79
|
351
|
+
msgid "Validation failed for settings group"
|
352
|
+
msgstr ""
|
353
|
+
|
354
|
+
#: ../lib/r10k/settings/container.rb:87
|
355
|
+
msgid "Key %{key} is not a valid key"
|
356
|
+
msgstr ""
|
357
|
+
|
358
|
+
#: ../lib/r10k/settings/enum_definition.rb:13
|
359
|
+
msgid "Setting %{name} may only contain %{enums}; the disallowed values %{invalid} were present"
|
360
|
+
msgstr ""
|
361
|
+
|
362
|
+
#: ../lib/r10k/settings/enum_definition.rb:17
|
363
|
+
msgid "Setting %{name} should be one of %{enums}, not '%{value}'"
|
364
|
+
msgstr ""
|
365
|
+
|
366
|
+
#: ../lib/r10k/settings/helpers.rb:19
|
367
|
+
msgid "%{class} instances cannot be reassigned to a new parent."
|
368
|
+
msgstr ""
|
369
|
+
|
370
|
+
#: ../lib/r10k/settings/helpers.rb:23
|
371
|
+
msgid "%{class} instances may only belong to a settings collection or list."
|
372
|
+
msgstr ""
|
373
|
+
|
374
|
+
#: ../lib/r10k/settings/list.rb:66
|
375
|
+
msgid "Validation failed for '%{name}' settings list"
|
376
|
+
msgstr ""
|
377
|
+
|
378
|
+
#: ../lib/r10k/settings/loader.rb:45
|
379
|
+
msgid "Both %{default_path} and %{old_default_path} configuration files exist."
|
380
|
+
msgstr ""
|
381
|
+
|
382
|
+
#: ../lib/r10k/settings/loader.rb:46
|
383
|
+
msgid "%{default_path} will be used."
|
384
|
+
msgstr ""
|
385
|
+
|
386
|
+
#: ../lib/r10k/settings/loader.rb:52
|
387
|
+
msgid "The r10k configuration file at %{old_default_path} is deprecated."
|
388
|
+
msgstr ""
|
389
|
+
|
390
|
+
#: ../lib/r10k/settings/loader.rb:53
|
391
|
+
msgid "Please move your r10k configuration to %{default_path}."
|
392
|
+
msgstr ""
|
393
|
+
|
394
|
+
#: ../lib/r10k/settings/loader.rb:69
|
395
|
+
msgid "Couldn't load config file: %{error_msg}"
|
396
|
+
msgstr ""
|
397
|
+
|
398
|
+
#: ../lib/r10k/settings/loader.rb:73
|
399
|
+
msgid "File exists at #{path} but doesn't contain any YAML"
|
400
|
+
msgstr ""
|
401
|
+
|
402
|
+
#: ../lib/r10k/settings/uri_definition.rb:12
|
403
|
+
msgid "Setting %{name} requires a URL but '%{value}' could not be parsed as a URL"
|
404
|
+
msgstr ""
|
405
|
+
|
406
|
+
#: ../lib/r10k/source/git.rb:72
|
407
|
+
msgid "Fetching '%{remote}' to determine current branches."
|
408
|
+
msgstr ""
|
409
|
+
|
410
|
+
#: ../lib/r10k/source/git.rb:75
|
411
|
+
msgid "Unable to determine current branches for Git source '%{name}' (%{basedir})"
|
412
|
+
msgstr ""
|
413
|
+
|
414
|
+
#: ../lib/r10k/source/git.rb:100
|
415
|
+
msgid "Environment %{env_name} contained non-word characters, correcting name to %{corrected_env_name}"
|
416
|
+
msgstr ""
|
417
|
+
|
418
|
+
#: ../lib/r10k/source/git.rb:104
|
419
|
+
msgid "Environment %{env_name} contained non-word characters, ignoring it."
|
420
|
+
msgstr ""
|
421
|
+
|
422
|
+
#: ../lib/r10k/source/git.rb:123 ../lib/r10k/source/svn.rb:113
|
423
|
+
msgid "Branch %{branch} filtered out by ignore_branch_prefixes %{ibp}"
|
424
|
+
msgstr ""
|
425
|
+
|
426
|
+
#: ../lib/r10k/svn/working_dir.rb:43
|
427
|
+
msgid "Both username and password must be specified"
|
428
|
+
msgstr ""
|
429
|
+
|
430
|
+
#: ../lib/r10k/util/basedir.rb:34
|
431
|
+
msgid "Expected Array<#desired_contents>, got R10K::Deployment"
|
432
|
+
msgstr ""
|
433
|
+
|
434
|
+
#: ../lib/r10k/util/basedir.rb:58
|
435
|
+
msgid "Source %{source_name} in %{path} manages contents %{contents}"
|
436
|
+
msgstr ""
|
437
|
+
|
438
|
+
#: ../lib/r10k/util/license.rb:11
|
439
|
+
msgid "pe_license feature is available, loading PE license key"
|
440
|
+
msgstr ""
|
441
|
+
|
442
|
+
#: ../lib/r10k/util/license.rb:15
|
443
|
+
msgid "Invalid PE license detected: %{error_msg}"
|
444
|
+
msgstr ""
|
445
|
+
|
446
|
+
#: ../lib/r10k/util/license.rb:18
|
447
|
+
msgid "pe_license feature is not available, PE only Puppet modules will not be downloadable."
|
448
|
+
msgstr ""
|
449
|
+
|
450
|
+
#: ../lib/r10k/util/purgeable.rb:52
|
451
|
+
msgid "Not purging %{item} due to internal exclusion match: %{exclusion_match}"
|
452
|
+
msgstr ""
|
453
|
+
|
454
|
+
#: ../lib/r10k/util/purgeable.rb:54
|
455
|
+
msgid "Not purging %{item} due to whitelist match: %{whitelist_match}"
|
456
|
+
msgstr ""
|
457
|
+
|
458
|
+
#: ../lib/r10k/util/purgeable.rb:71
|
459
|
+
msgid "No unmanaged contents in %{managed_dirs}, nothing to purge"
|
460
|
+
msgstr ""
|
461
|
+
|
462
|
+
#: ../lib/r10k/util/purgeable.rb:76
|
463
|
+
msgid "Removing unmanaged path %{path}"
|
464
|
+
msgstr ""
|
465
|
+
|
466
|
+
#: ../lib/r10k/util/purgeable.rb:81
|
467
|
+
msgid "Unable to remove unmanaged path: %{path}"
|
468
|
+
msgstr ""
|
469
|
+
|
470
|
+
#: ../lib/r10k/util/setopts.rb:49
|
471
|
+
msgid "%{class_name} cannot handle option '%{key}'"
|
472
|
+
msgstr ""
|
473
|
+
|
474
|
+
#: ../lib/r10k/util/subprocess.rb:69
|
475
|
+
msgid "Starting process: %{args}"
|
476
|
+
msgstr ""
|
477
|
+
|
478
|
+
#: ../lib/r10k/util/subprocess.rb:74
|
479
|
+
msgid ""
|
480
|
+
"Finished process:\n"
|
481
|
+
"%{result}"
|
482
|
+
msgstr ""
|
483
|
+
|
484
|
+
#: ../lib/r10k/util/subprocess.rb:77
|
485
|
+
msgid "Command exited with non-zero exit code"
|
486
|
+
msgstr ""
|
487
|
+
|
488
|
+
#: ../lib/r10k/util/symbolize_keys.rb:17
|
489
|
+
msgid "An existing interned key for %{key} exists, cannot overwrite"
|
490
|
+
msgstr ""
|