r10k 3.15.0 → 3.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.mkd +9 -0
  3. data/CODEOWNERS +2 -2
  4. data/README.mkd +11 -0
  5. data/doc/dynamic-environments/configuration.mkd +65 -1
  6. data/lib/r10k/action/puppetfile/install.rb +2 -1
  7. data/lib/r10k/cli/puppetfile.rb +1 -0
  8. data/lib/r10k/module_loader/puppetfile.rb +10 -1
  9. data/lib/r10k/version.rb +1 -1
  10. data/r10k.gemspec +1 -1
  11. metadata +2 -151
  12. data/spec/fixtures/empty/.empty +0 -0
  13. data/spec/fixtures/integration/git/puppet-boolean-bare.tar +0 -0
  14. data/spec/fixtures/module/forge/bad_module/metadata.json +0 -1
  15. data/spec/fixtures/module/forge/eight_hundred/Modulefile +0 -8
  16. data/spec/fixtures/module/forge/eight_hundred/metadata.json +0 -19
  17. data/spec/fixtures/tarball/tarball.tar.gz +0 -0
  18. data/spec/fixtures/unit/action/r10k.yaml +0 -5
  19. data/spec/fixtures/unit/action/r10k_cachedir.yaml +0 -2
  20. data/spec/fixtures/unit/action/r10k_creds.yaml +0 -9
  21. data/spec/fixtures/unit/action/r10k_forge_auth.yaml +0 -4
  22. data/spec/fixtures/unit/action/r10k_forge_auth_no_url.yaml +0 -3
  23. data/spec/fixtures/unit/action/r10k_generate_types.yaml +0 -3
  24. data/spec/fixtures/unit/action/r10k_logging.yaml +0 -12
  25. data/spec/fixtures/unit/action/r10k_puppet_path.yaml +0 -3
  26. data/spec/fixtures/unit/puppetfile/argument-error/Puppetfile +0 -1
  27. data/spec/fixtures/unit/puppetfile/default-branch-override/Puppetfile +0 -5
  28. data/spec/fixtures/unit/puppetfile/duplicate-module-error/Puppetfile +0 -10
  29. data/spec/fixtures/unit/puppetfile/forge-override/Puppetfile +0 -8
  30. data/spec/fixtures/unit/puppetfile/invalid-syntax/Puppetfile +0 -1
  31. data/spec/fixtures/unit/puppetfile/load-error/Puppetfile +0 -1
  32. data/spec/fixtures/unit/puppetfile/name-error/Puppetfile +0 -1
  33. data/spec/fixtures/unit/puppetfile/valid-forge-with-version/Puppetfile +0 -1
  34. data/spec/fixtures/unit/puppetfile/valid-forge-without-version/Puppetfile +0 -1
  35. data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile +0 -10
  36. data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile.new +0 -10
  37. data/spec/fixtures/unit/puppetfile/various-modules/modules/apt/.gitkeep +0 -1
  38. data/spec/fixtures/unit/puppetfile/various-modules/modules/baz/.gitkeep +0 -1
  39. data/spec/fixtures/unit/puppetfile/various-modules/modules/buzz/.gitkeep +0 -1
  40. data/spec/fixtures/unit/puppetfile/various-modules/modules/canary/.gitkeep +0 -1
  41. data/spec/fixtures/unit/puppetfile/various-modules/modules/fizz/.gitkeep +0 -1
  42. data/spec/fixtures/unit/puppetfile/various-modules/modules/rpm/.gitkeep +0 -1
  43. data/spec/fixtures/unit/util/purgeable/managed_one/expected_1 +0 -0
  44. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/managed_symlink_file +0 -1
  45. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_allowlisted_2/ignored_1 +0 -0
  46. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_expected_1 +0 -0
  47. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_unmanaged_1 +0 -0
  48. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/unmanaged_symlink_dir +0 -1
  49. data/spec/fixtures/unit/util/purgeable/managed_one/managed_symlink_dir +0 -1
  50. data/spec/fixtures/unit/util/purgeable/managed_one/unmanaged_1 +0 -0
  51. data/spec/fixtures/unit/util/purgeable/managed_one/unmanaged_symlink_file +0 -1
  52. data/spec/fixtures/unit/util/purgeable/managed_two/.hidden/unmanaged_3 +0 -0
  53. data/spec/fixtures/unit/util/purgeable/managed_two/expected_2 +0 -0
  54. data/spec/fixtures/unit/util/purgeable/managed_two/unmanaged_2 +0 -0
  55. data/spec/fixtures/unit/util/subprocess/runner/no-execute.sh +0 -3
  56. data/spec/integration/git/rugged/bare_repository_spec.rb +0 -13
  57. data/spec/integration/git/rugged/cache_spec.rb +0 -33
  58. data/spec/integration/git/rugged/thin_repository_spec.rb +0 -14
  59. data/spec/integration/git/rugged/working_repository_spec.rb +0 -48
  60. data/spec/integration/git/shellgit/bare_repository_spec.rb +0 -13
  61. data/spec/integration/git/shellgit/thin_repository_spec.rb +0 -14
  62. data/spec/integration/git/shellgit/working_repository_spec.rb +0 -13
  63. data/spec/integration/git/stateful_repository_spec.rb +0 -175
  64. data/spec/integration/util/purageable_spec.rb +0 -41
  65. data/spec/matchers/exit_with.rb +0 -28
  66. data/spec/matchers/match_realpath.rb +0 -18
  67. data/spec/r10k-mocks/mock_config.rb +0 -33
  68. data/spec/r10k-mocks/mock_env.rb +0 -18
  69. data/spec/r10k-mocks/mock_source.rb +0 -17
  70. data/spec/r10k-mocks.rb +0 -3
  71. data/spec/shared-contexts/git-fixtures.rb +0 -55
  72. data/spec/shared-contexts/tarball.rb +0 -32
  73. data/spec/shared-examples/deploy-actions.rb +0 -69
  74. data/spec/shared-examples/git/bare_repository.rb +0 -132
  75. data/spec/shared-examples/git/thin_repository.rb +0 -26
  76. data/spec/shared-examples/git/working_repository.rb +0 -207
  77. data/spec/shared-examples/git-repository.rb +0 -38
  78. data/spec/shared-examples/puppetfile-action.rb +0 -39
  79. data/spec/shared-examples/settings/ancestry.rb +0 -44
  80. data/spec/shared-examples/subprocess-runner.rb +0 -89
  81. data/spec/spec_helper.rb +0 -41
  82. data/spec/unit/action/cri_runner_spec.rb +0 -72
  83. data/spec/unit/action/deploy/deploy_helpers_spec.rb +0 -38
  84. data/spec/unit/action/deploy/display_spec.rb +0 -61
  85. data/spec/unit/action/deploy/environment_spec.rb +0 -640
  86. data/spec/unit/action/deploy/module_spec.rb +0 -476
  87. data/spec/unit/action/puppetfile/check_spec.rb +0 -53
  88. data/spec/unit/action/puppetfile/cri_runner_spec.rb +0 -47
  89. data/spec/unit/action/puppetfile/install_spec.rb +0 -112
  90. data/spec/unit/action/puppetfile/purge_spec.rb +0 -60
  91. data/spec/unit/action/runner_spec.rb +0 -407
  92. data/spec/unit/action/visitor_spec.rb +0 -39
  93. data/spec/unit/cli_spec.rb +0 -9
  94. data/spec/unit/deployment/config_spec.rb +0 -33
  95. data/spec/unit/deployment_spec.rb +0 -162
  96. data/spec/unit/environment/bare_spec.rb +0 -13
  97. data/spec/unit/environment/base_spec.rb +0 -122
  98. data/spec/unit/environment/git_spec.rb +0 -114
  99. data/spec/unit/environment/name_spec.rb +0 -181
  100. data/spec/unit/environment/plain_spec.rb +0 -8
  101. data/spec/unit/environment/svn_spec.rb +0 -146
  102. data/spec/unit/environment/tarball_spec.rb +0 -45
  103. data/spec/unit/environment/with_modules_spec.rb +0 -122
  104. data/spec/unit/errors/formatting_spec.rb +0 -84
  105. data/spec/unit/feature_spec.rb +0 -50
  106. data/spec/unit/forge/module_release_spec.rb +0 -213
  107. data/spec/unit/git/alternates_spec.rb +0 -116
  108. data/spec/unit/git/cache_spec.rb +0 -66
  109. data/spec/unit/git/rugged/cache_spec.rb +0 -48
  110. data/spec/unit/git/rugged/credentials_spec.rb +0 -215
  111. data/spec/unit/git/shellgit/cache_spec.rb +0 -27
  112. data/spec/unit/git/stateful_repository_spec.rb +0 -45
  113. data/spec/unit/git_spec.rb +0 -102
  114. data/spec/unit/initializers_spec.rb +0 -68
  115. data/spec/unit/instance_cache_spec.rb +0 -78
  116. data/spec/unit/keyed_factory_spec.rb +0 -51
  117. data/spec/unit/logging/terminaloutputter_spec.rb +0 -53
  118. data/spec/unit/logging_spec.rb +0 -68
  119. data/spec/unit/module/base_spec.rb +0 -118
  120. data/spec/unit/module/forge_spec.rb +0 -271
  121. data/spec/unit/module/git_spec.rb +0 -387
  122. data/spec/unit/module/metadata_file_spec.rb +0 -68
  123. data/spec/unit/module/svn_spec.rb +0 -208
  124. data/spec/unit/module/tarball_spec.rb +0 -70
  125. data/spec/unit/module_loader/puppetfile_spec.rb +0 -421
  126. data/spec/unit/module_spec.rb +0 -114
  127. data/spec/unit/puppetfile_spec.rb +0 -304
  128. data/spec/unit/settings/collection_spec.rb +0 -123
  129. data/spec/unit/settings/container_spec.rb +0 -92
  130. data/spec/unit/settings/definition_spec.rb +0 -79
  131. data/spec/unit/settings/enum_definition_spec.rb +0 -20
  132. data/spec/unit/settings/inheritance_spec.rb +0 -38
  133. data/spec/unit/settings/list_spec.rb +0 -88
  134. data/spec/unit/settings/loader_spec.rb +0 -110
  135. data/spec/unit/settings/uri_definition_spec.rb +0 -23
  136. data/spec/unit/settings_spec.rb +0 -303
  137. data/spec/unit/source/base_spec.rb +0 -31
  138. data/spec/unit/source/exec_spec.rb +0 -81
  139. data/spec/unit/source/git_spec.rb +0 -233
  140. data/spec/unit/source/hash_spec.rb +0 -54
  141. data/spec/unit/source/svn_spec.rb +0 -196
  142. data/spec/unit/source/yaml_spec.rb +0 -42
  143. data/spec/unit/source_spec.rb +0 -10
  144. data/spec/unit/svn/remote_spec.rb +0 -21
  145. data/spec/unit/svn/working_dir_spec.rb +0 -56
  146. data/spec/unit/tarball_spec.rb +0 -57
  147. data/spec/unit/util/attempt_spec.rb +0 -82
  148. data/spec/unit/util/cacheable_spec.rb +0 -23
  149. data/spec/unit/util/commands_spec.rb +0 -61
  150. data/spec/unit/util/downloader_spec.rb +0 -98
  151. data/spec/unit/util/exec_env_spec.rb +0 -56
  152. data/spec/unit/util/purgeable_spec.rb +0 -267
  153. data/spec/unit/util/setopts_spec.rb +0 -83
  154. data/spec/unit/util/subprocess/result_spec.rb +0 -36
  155. data/spec/unit/util/subprocess/runner/posix_spec.rb +0 -7
  156. data/spec/unit/util/subprocess/runner/pump_spec.rb +0 -79
  157. data/spec/unit/util/subprocess/runner/windows_spec.rb +0 -7
  158. data/spec/unit/util/subprocess/subprocess_error_spec.rb +0 -26
  159. data/spec/unit/util/subprocess_spec.rb +0 -65
  160. data/spec/unit/util/symbolize_keys_spec.rb +0 -67
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2085c3475000f081d4ff3ff19fd5f009080c9238c5e532449a24f306b2aa107
4
- data.tar.gz: fb38a94d17d20cdd75aba6c5817cad33c77ed408307f32aa54bc4f65dabba022
3
+ metadata.gz: 1b8f47b9b316994e718214a6f92e25b7dcd6f9e402e73ddee076920ac65b8317
4
+ data.tar.gz: '03847035922476e3fc27030c231cbb362ceac63387c4d300443a401eca298f16'
5
5
  SHA512:
6
- metadata.gz: 6de1e925f24ec5edf168c5a4d177030be2d351493ab65274998bbd02b67fa84910d3a28d800bdd03d255e4fb0cceeac1b8d09a615cb181986ee22bd4e155e0fb
7
- data.tar.gz: f4294cd171f9665c70d9573ad082003e5cd272aa42b2f949c41bc6874399c92010e1065140544770807444e8cf60b52d0733add89cfbd0b4839381c918932004
6
+ metadata.gz: db1c6069ec189325027ee5e4015d1b659afc410f5840daacc7d21b724288c1d9e86c2e55792760d8b13ef981794d18c25db9977a5e56002898de005ca6a54b55
7
+ data.tar.gz: c3d8dca548fb0e57eba9b9a2df5a37c74d4ebdb74f224e9c03f8ee112f3708c8cc4b9630cfe671c944f30089052d5c4275c5e2a44df3ed015b59e3c710b7b40f
data/CHANGELOG.mkd CHANGED
@@ -4,6 +4,15 @@ CHANGELOG
4
4
  Unreleased
5
5
  ----------
6
6
 
7
+ 3.15.2
8
+ ------
9
+ - Implement exclude regex for puppetfile install [#1248](https://github.com/puppetlabs/r10k/issues/1248)
10
+
11
+ 3.15.1
12
+ ------
13
+ - Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
14
+ - Remove the spec folder from gemspec [#1316](https://github.com/puppetlabs/r10k/issues/1316)
15
+
7
16
  3.15.0
8
17
  ------
9
18
 
data/CODEOWNERS CHANGED
@@ -1,2 +1,2 @@
1
- * @puppetlabs/puppetserver-maintainers
2
- /docker/ @puppetlabs/platform-services
1
+ # This repo is owned by the dumpling team
2
+ * @puppetlabs/dumpling
data/README.mkd CHANGED
@@ -5,6 +5,13 @@ Puppet environment and module deployment
5
5
 
6
6
  [![Build Status](https://travis-ci.org/puppetlabs/r10k.png?branch=master)](https://travis-ci.org/puppetlabs/r10k)
7
7
 
8
+ > R10k is supported and maintained by Puppet, but we consider it to be feature complete
9
+ > and currently have no plans for future feature development. We will keep it working
10
+ > with current code deployment standards and the Ruby ecosystem that ships with the
11
+ > puppet-agent package, but any new feature development will come from peer-reviewed
12
+ > community contributions, with the onus on the contributor and community for validation.
13
+
14
+
8
15
  Description
9
16
  -----------
10
17
 
@@ -14,6 +21,10 @@ R10k provides a general purpose toolset for deploying Puppet environments and
14
21
  modules. It implements the [Puppetfile](doc/puppetfile.mkd) format and provides a native
15
22
  implementation of Puppet [environments][workflow].
16
23
 
24
+ You might also consider [g10k](https://github.com/xorpaul/g10k) as a non-ruby
25
+ based alternative.
26
+
27
+
17
28
  Requirements
18
29
  ------------
19
30
 
@@ -1,6 +1,70 @@
1
1
  Dynamic Environment Configuration
2
2
  =================================
3
3
 
4
+ <!-- vim-markdown-toc GFM -->
5
+
6
+ * [Config file location](#config-file-location)
7
+ * [Manual configuration](#manual-configuration)
8
+ * [Automatic configuration](#automatic-configuration)
9
+ * [General options](#general-options)
10
+ * [cachedir](#cachedir)
11
+ * [proxy](#proxy)
12
+ * [pool_size](#pool_size)
13
+ * [git](#git)
14
+ * [provider](#provider)
15
+ * [proxy](#proxy-1)
16
+ * [username](#username)
17
+ * [private_key](#private_key)
18
+ * [oauth_token](#oauth_token)
19
+ * [repositories](#repositories)
20
+ * [private_key](#private_key-1)
21
+ * [oauth_token](#oauth_token-1)
22
+ * [proxy](#proxy-2)
23
+ * [forge](#forge)
24
+ * [proxy](#proxy-3)
25
+ * [baseurl](#baseurl)
26
+ * [authorization_token](#authorization_token)
27
+ * [allow_puppetfile_override](#allow_puppetfile_override)
28
+ * [Deployment options](#deployment-options)
29
+ * [postrun](#postrun)
30
+ * [sources](#sources)
31
+ * [deploy](#deploy)
32
+ * [purge\_levels](#purge_levels)
33
+ * [deployment](#deployment)
34
+ * [environment](#environment)
35
+ * [puppetfile](#puppetfile)
36
+ * [purge\_allowlist](#purge_allowlist)
37
+ * [write\_lock](#write_lock)
38
+ * [generate\_types](#generate_types)
39
+ * [puppet\_path](#puppet_path)
40
+ * [puppet\_conf](#puppet_conf)
41
+ * [exclude_spec](#exclude_spec)
42
+ * [Source options](#source-options)
43
+ * [remote](#remote)
44
+ * [basedir](#basedir)
45
+ * [prefix](#prefix)
46
+ * [prefix behaviour](#prefix-behaviour)
47
+ * [strip\_component](#strip_component)
48
+ * [strip\_component behaviour](#strip_component-behaviour)
49
+ * [ignore_branch_prefixes](#ignore_branch_prefixes)
50
+ * [ignore_branch_prefixes behaviour](#ignore_branch_prefixes-behaviour)
51
+ * [filter_command](#filter_command)
52
+ * [Examples](#examples)
53
+ * [Minimal example](#minimal-example)
54
+ * [Separate hiera data](#separate-hiera-data)
55
+ * [Multiple tenancy](#multiple-tenancy)
56
+ * [Multiple tenancy with external hieradata](#multiple-tenancy-with-external-hieradata)
57
+ * [Experimental Features](#experimental-features)
58
+ * [YAML Environment Source](#yaml-environment-source)
59
+ * [YAMLdir Environment Source](#yamldir-environment-source)
60
+ * [Exec environment Source](#exec-environment-source)
61
+ * [Environment Modules](#environment-modules)
62
+ * [Puppetfile module conflicts](#puppetfile-module-conflicts)
63
+ * [Plain Environment Type](#plain-environment-type)
64
+ * [Tarball Environment Type](#tarball-environment-type)
65
+
66
+ <!-- vim-markdown-toc -->
67
+
4
68
  R10k uses a configuration file to determine how dynamic environments should be
5
69
  deployed.
6
70
 
@@ -226,7 +290,7 @@ postrun: ['/usr/bin/curl', '-F', 'deploy=done', 'http://my-app.site/endpoint']
226
290
  The postrun setting can only be set once.
227
291
 
228
292
  Occurrences of the string `$modifiedenvs` in the postrun command will be
229
- replaced with the current environment(s) being deployed.
293
+ replaced with the current environment(s) being deployed, space separated.
230
294
 
231
295
  ### sources
232
296
 
@@ -14,6 +14,7 @@ module R10K
14
14
  options = { basedir: @root, overrides: { force: @force || false } }
15
15
  options[:moduledir] = @moduledir if @moduledir
16
16
  options[:puppetfile] = @puppetfile if @puppetfile
17
+ options[:module_exclude_regex] = @module_exclude_regex if @module_exclude_regex
17
18
 
18
19
  loader = R10K::ModuleLoader::Puppetfile.new(**options)
19
20
  loaded_content = loader.load!
@@ -40,7 +41,7 @@ module R10K
40
41
  private
41
42
 
42
43
  def allowed_initialize_opts
43
- super.merge(root: :self, puppetfile: :self, moduledir: :self, force: :self )
44
+ super.merge(root: :self, puppetfile: :self, moduledir: :self, :'module-exclude-regex' => :self, force: :self )
44
45
  end
45
46
  end
46
47
  end
@@ -31,6 +31,7 @@ Puppetfile (http://bombasticmonkey.com/librarian-puppet/).
31
31
  summary 'Install all modules from a Puppetfile'
32
32
  option nil, :moduledir, 'Path to install modules to', argument: :required
33
33
  option nil, :puppetfile, 'Path to puppetfile', argument: :required
34
+ option nil, :'module-exclude-regex', 'A regex to exclude modules from installation. Helpful in CI environments.', argument: :required
34
35
  flag nil, :force, 'Force locally changed files to be overwritten'
35
36
  runner R10K::Action::Puppetfile::CriRunner.wrap(R10K::Action::Puppetfile::Install)
36
37
  end
@@ -30,17 +30,21 @@ module R10K
30
30
  # @param overrides [Hash] Configuration for loaded modules' behavior
31
31
  # @param environment [R10K::Environment] When provided, the environment
32
32
  # in which loading takes place
33
+ # @param module_exclude_regex [Regex] A regex to exclude modules from
34
+ # installation. Helpful in CI environments.
33
35
  def initialize(basedir:,
34
36
  moduledir: DEFAULT_MODULEDIR,
35
37
  puppetfile: DEFAULT_PUPPETFILE_NAME,
36
38
  overrides: {},
37
- environment: nil)
39
+ environment: nil,
40
+ module_exclude_regex: nil)
38
41
 
39
42
  @basedir = cleanpath(basedir)
40
43
  @moduledir = resolve_path(@basedir, moduledir)
41
44
  @puppetfile_path = resolve_path(@basedir, puppetfile)
42
45
  @overrides = overrides
43
46
  @environment = environment
47
+ @module_exclude_regex = module_exclude_regex
44
48
  @environment_name = @environment&.name
45
49
  @default_branch_override = @overrides.dig(:environments, :default_branch_override)
46
50
  @allow_puppetfile_forge = @overrides.dig(:forge, :allow_puppetfile_override)
@@ -68,6 +72,7 @@ module R10K
68
72
  dsl.instance_eval(puppetfile_content(@puppetfile_path), @puppetfile_path)
69
73
 
70
74
  validate_no_duplicate_names(@modules)
75
+ @modules = filter_modules(@modules, @module_exclude_regex) if @module_exclude_regex
71
76
 
72
77
  managed_content = @modules.group_by(&:dirname)
73
78
 
@@ -223,6 +228,10 @@ module R10K
223
228
  return [ install_path, info, spec_deletable ]
224
229
  end
225
230
 
231
+ def filter_modules(modules, exclude_regex)
232
+ modules.reject { |mod| mod.name =~ /#{exclude_regex}/ }
233
+ end
234
+
226
235
  # @param [Array<R10K::Module>] modules
227
236
  def validate_no_duplicate_names(modules)
228
237
  dupes = modules
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.15.0'
5
+ VERSION = '3.15.2'
6
6
  end
data/r10k.gemspec CHANGED
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
 
44
44
  s.add_development_dependency 'yard', '~> 0.9.11'
45
45
 
46
- s.files = %x[git ls-files].split($/)
46
+ s.files = %x[git ls-files].split($/).reject { |f| f.match(%r{^spec}) }
47
47
  s.require_path = 'lib'
48
48
  s.bindir = 'bin'
49
49
  s.executables = 'r10k'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.15.0
4
+ version: 3.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2
@@ -467,155 +467,6 @@ files:
467
467
  - locales/r10k.pot
468
468
  - r10k.gemspec
469
469
  - r10k.yaml.example
470
- - spec/fixtures/empty/.empty
471
- - spec/fixtures/integration/git/puppet-boolean-bare.tar
472
- - spec/fixtures/module/forge/bad_module/metadata.json
473
- - spec/fixtures/module/forge/eight_hundred/Modulefile
474
- - spec/fixtures/module/forge/eight_hundred/metadata.json
475
- - spec/fixtures/tarball/tarball.tar.gz
476
- - spec/fixtures/unit/action/r10k.yaml
477
- - spec/fixtures/unit/action/r10k_cachedir.yaml
478
- - spec/fixtures/unit/action/r10k_creds.yaml
479
- - spec/fixtures/unit/action/r10k_forge_auth.yaml
480
- - spec/fixtures/unit/action/r10k_forge_auth_no_url.yaml
481
- - spec/fixtures/unit/action/r10k_generate_types.yaml
482
- - spec/fixtures/unit/action/r10k_logging.yaml
483
- - spec/fixtures/unit/action/r10k_puppet_path.yaml
484
- - spec/fixtures/unit/puppetfile/argument-error/Puppetfile
485
- - spec/fixtures/unit/puppetfile/default-branch-override/Puppetfile
486
- - spec/fixtures/unit/puppetfile/duplicate-module-error/Puppetfile
487
- - spec/fixtures/unit/puppetfile/forge-override/Puppetfile
488
- - spec/fixtures/unit/puppetfile/invalid-syntax/Puppetfile
489
- - spec/fixtures/unit/puppetfile/load-error/Puppetfile
490
- - spec/fixtures/unit/puppetfile/name-error/Puppetfile
491
- - spec/fixtures/unit/puppetfile/valid-forge-with-version/Puppetfile
492
- - spec/fixtures/unit/puppetfile/valid-forge-without-version/Puppetfile
493
- - spec/fixtures/unit/puppetfile/various-modules/Puppetfile
494
- - spec/fixtures/unit/puppetfile/various-modules/Puppetfile.new
495
- - spec/fixtures/unit/puppetfile/various-modules/modules/apt/.gitkeep
496
- - spec/fixtures/unit/puppetfile/various-modules/modules/baz/.gitkeep
497
- - spec/fixtures/unit/puppetfile/various-modules/modules/buzz/.gitkeep
498
- - spec/fixtures/unit/puppetfile/various-modules/modules/canary/.gitkeep
499
- - spec/fixtures/unit/puppetfile/various-modules/modules/fizz/.gitkeep
500
- - spec/fixtures/unit/puppetfile/various-modules/modules/rpm/.gitkeep
501
- - spec/fixtures/unit/util/purgeable/managed_one/expected_1
502
- - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/managed_symlink_file
503
- - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_allowlisted_2/ignored_1
504
- - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_expected_1
505
- - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_unmanaged_1
506
- - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/unmanaged_symlink_dir
507
- - spec/fixtures/unit/util/purgeable/managed_one/managed_symlink_dir
508
- - spec/fixtures/unit/util/purgeable/managed_one/unmanaged_1
509
- - spec/fixtures/unit/util/purgeable/managed_one/unmanaged_symlink_file
510
- - spec/fixtures/unit/util/purgeable/managed_two/.hidden/unmanaged_3
511
- - spec/fixtures/unit/util/purgeable/managed_two/expected_2
512
- - spec/fixtures/unit/util/purgeable/managed_two/unmanaged_2
513
- - spec/fixtures/unit/util/subprocess/runner/no-execute.sh
514
- - spec/integration/git/rugged/bare_repository_spec.rb
515
- - spec/integration/git/rugged/cache_spec.rb
516
- - spec/integration/git/rugged/thin_repository_spec.rb
517
- - spec/integration/git/rugged/working_repository_spec.rb
518
- - spec/integration/git/shellgit/bare_repository_spec.rb
519
- - spec/integration/git/shellgit/thin_repository_spec.rb
520
- - spec/integration/git/shellgit/working_repository_spec.rb
521
- - spec/integration/git/stateful_repository_spec.rb
522
- - spec/integration/util/purageable_spec.rb
523
- - spec/matchers/exit_with.rb
524
- - spec/matchers/match_realpath.rb
525
- - spec/r10k-mocks.rb
526
- - spec/r10k-mocks/mock_config.rb
527
- - spec/r10k-mocks/mock_env.rb
528
- - spec/r10k-mocks/mock_source.rb
529
- - spec/shared-contexts/git-fixtures.rb
530
- - spec/shared-contexts/tarball.rb
531
- - spec/shared-examples/deploy-actions.rb
532
- - spec/shared-examples/git-repository.rb
533
- - spec/shared-examples/git/bare_repository.rb
534
- - spec/shared-examples/git/thin_repository.rb
535
- - spec/shared-examples/git/working_repository.rb
536
- - spec/shared-examples/puppetfile-action.rb
537
- - spec/shared-examples/settings/ancestry.rb
538
- - spec/shared-examples/subprocess-runner.rb
539
- - spec/spec_helper.rb
540
- - spec/unit/action/cri_runner_spec.rb
541
- - spec/unit/action/deploy/deploy_helpers_spec.rb
542
- - spec/unit/action/deploy/display_spec.rb
543
- - spec/unit/action/deploy/environment_spec.rb
544
- - spec/unit/action/deploy/module_spec.rb
545
- - spec/unit/action/puppetfile/check_spec.rb
546
- - spec/unit/action/puppetfile/cri_runner_spec.rb
547
- - spec/unit/action/puppetfile/install_spec.rb
548
- - spec/unit/action/puppetfile/purge_spec.rb
549
- - spec/unit/action/runner_spec.rb
550
- - spec/unit/action/visitor_spec.rb
551
- - spec/unit/cli_spec.rb
552
- - spec/unit/deployment/config_spec.rb
553
- - spec/unit/deployment_spec.rb
554
- - spec/unit/environment/bare_spec.rb
555
- - spec/unit/environment/base_spec.rb
556
- - spec/unit/environment/git_spec.rb
557
- - spec/unit/environment/name_spec.rb
558
- - spec/unit/environment/plain_spec.rb
559
- - spec/unit/environment/svn_spec.rb
560
- - spec/unit/environment/tarball_spec.rb
561
- - spec/unit/environment/with_modules_spec.rb
562
- - spec/unit/errors/formatting_spec.rb
563
- - spec/unit/feature_spec.rb
564
- - spec/unit/forge/module_release_spec.rb
565
- - spec/unit/git/alternates_spec.rb
566
- - spec/unit/git/cache_spec.rb
567
- - spec/unit/git/rugged/cache_spec.rb
568
- - spec/unit/git/rugged/credentials_spec.rb
569
- - spec/unit/git/shellgit/cache_spec.rb
570
- - spec/unit/git/stateful_repository_spec.rb
571
- - spec/unit/git_spec.rb
572
- - spec/unit/initializers_spec.rb
573
- - spec/unit/instance_cache_spec.rb
574
- - spec/unit/keyed_factory_spec.rb
575
- - spec/unit/logging/terminaloutputter_spec.rb
576
- - spec/unit/logging_spec.rb
577
- - spec/unit/module/base_spec.rb
578
- - spec/unit/module/forge_spec.rb
579
- - spec/unit/module/git_spec.rb
580
- - spec/unit/module/metadata_file_spec.rb
581
- - spec/unit/module/svn_spec.rb
582
- - spec/unit/module/tarball_spec.rb
583
- - spec/unit/module_loader/puppetfile_spec.rb
584
- - spec/unit/module_spec.rb
585
- - spec/unit/puppetfile_spec.rb
586
- - spec/unit/settings/collection_spec.rb
587
- - spec/unit/settings/container_spec.rb
588
- - spec/unit/settings/definition_spec.rb
589
- - spec/unit/settings/enum_definition_spec.rb
590
- - spec/unit/settings/inheritance_spec.rb
591
- - spec/unit/settings/list_spec.rb
592
- - spec/unit/settings/loader_spec.rb
593
- - spec/unit/settings/uri_definition_spec.rb
594
- - spec/unit/settings_spec.rb
595
- - spec/unit/source/base_spec.rb
596
- - spec/unit/source/exec_spec.rb
597
- - spec/unit/source/git_spec.rb
598
- - spec/unit/source/hash_spec.rb
599
- - spec/unit/source/svn_spec.rb
600
- - spec/unit/source/yaml_spec.rb
601
- - spec/unit/source_spec.rb
602
- - spec/unit/svn/remote_spec.rb
603
- - spec/unit/svn/working_dir_spec.rb
604
- - spec/unit/tarball_spec.rb
605
- - spec/unit/util/attempt_spec.rb
606
- - spec/unit/util/cacheable_spec.rb
607
- - spec/unit/util/commands_spec.rb
608
- - spec/unit/util/downloader_spec.rb
609
- - spec/unit/util/exec_env_spec.rb
610
- - spec/unit/util/purgeable_spec.rb
611
- - spec/unit/util/setopts_spec.rb
612
- - spec/unit/util/subprocess/result_spec.rb
613
- - spec/unit/util/subprocess/runner/posix_spec.rb
614
- - spec/unit/util/subprocess/runner/pump_spec.rb
615
- - spec/unit/util/subprocess/runner/windows_spec.rb
616
- - spec/unit/util/subprocess/subprocess_error_spec.rb
617
- - spec/unit/util/subprocess_spec.rb
618
- - spec/unit/util/symbolize_keys_spec.rb
619
470
  homepage: https://github.com/puppetlabs/r10k
620
471
  licenses:
621
472
  - Apache-2.0
File without changes
@@ -1 +0,0 @@
1
- I am bad JSON!
@@ -1,8 +0,0 @@
1
- name 'branan-eight_hundred'
2
- version '8.0.0'
3
- source 'https://github.com/branan/puppet-module-eight_hundred'
4
- author 'Branan Purvine-Riley'
5
- license 'Apache License 2.0'
6
- summary '800 modules! WOOOOOOO!'
7
- description '800 modules! WOOOOOOOOOOOOOOOOOO!'
8
- project_page 'https://github.com/branan/puppet-module-eight_hundred'
@@ -1,19 +0,0 @@
1
- {
2
- "checksums": {
3
- "Modulefile": "1e780d794bcd6629dc3006129fc02edf"
4
- },
5
- "license": "Apache License 2.0",
6
- "types": [
7
-
8
- ],
9
- "version": "8.0.0",
10
- "dependencies": [
11
-
12
- ],
13
- "summary": "800 modules! WOOOOOOO!",
14
- "source": "https://github.com/branan/puppet-module-eight_hundred",
15
- "description": "800 modules! WOOOOOOOOOOOOOOOOOO!",
16
- "author": "Branan Purvine-Riley",
17
- "name": "branan-eight_hundred",
18
- "project_page": "https://github.com/branan/puppet-module-eight_hundred"
19
- }
Binary file
@@ -1,5 +0,0 @@
1
- ---
2
- cachedir: /config_cachedir
3
- deploy:
4
- generate_types: /config_generate_types
5
- puppet_path: /config_puppet_path
@@ -1,2 +0,0 @@
1
- ---
2
- cachedir: /config_cachedir
@@ -1,9 +0,0 @@
1
- ---
2
- git:
3
- private_key: '/global/config/private/key'
4
- oauth_token: '/global/config/oauth/token'
5
- repositories:
6
- - remote: 'git@myfakegitserver.com:user/repo.git'
7
- private_key: '/config/private/key'
8
- - remote: 'https://myfakegitserver.com/user/repo.git'
9
- oauth_token: '/config/oauth/token'
@@ -1,4 +0,0 @@
1
- ---
2
- forge:
3
- baseurl: 'http://private-forge.com'
4
- authorization_token: 'faketoken'
@@ -1,3 +0,0 @@
1
- ---
2
- forge:
3
- authorization_token: 'faketoken'
@@ -1,3 +0,0 @@
1
- ---
2
- deploy:
3
- generate_types: /config_generate_types
@@ -1,12 +0,0 @@
1
- ---
2
- logging:
3
- level: FATAL
4
-
5
- outputs:
6
- - type: file
7
- parameters:
8
- filename: r10k.log
9
-
10
- - type: syslog
11
-
12
- disable_default_stderr: true
@@ -1,3 +0,0 @@
1
- ---
2
- deploy:
3
- puppet_path: /config_puppet_path
@@ -1 +0,0 @@
1
- mod 'branan/eight_hundred', '1.0.0', :git => 'https://github.com/branan/eight_hundred', :ref => 'master'
@@ -1,5 +0,0 @@
1
- mod 'cd4pe',
2
- :git => 'test@randomurl.com:something/some_module.git',
3
- :ref => 'expected_ref',
4
- :default_branch => 'here_lies_the_default_branch'
5
-
@@ -1,10 +0,0 @@
1
- forge "http://forge.puppetlabs.com"
2
-
3
- mod "puppetlabs/stdlib", '4.11.0'
4
- mod "puppetlabs/stdlib", '4.12.0'
5
- mod "puppetlabs/concat", '2.1.0'
6
- mod "otheruser/concat", '2.1.0'
7
-
8
- mod 'apache',
9
- :git => 'https://github.com/puppetlabs/puppetlabs-apache',
10
- :branch => 'docs_experiment'
@@ -1,8 +0,0 @@
1
- forge "my.custom.forge.com"
2
-
3
- mod "puppetlabs/stdlib", '4.12.0'
4
- mod "puppetlabs/concat", '2.1.0'
5
-
6
- mod 'apache',
7
- :git => 'https://github.com/puppetlabs/puppetlabs-apache',
8
- :branch => 'docs_experiment'
@@ -1 +0,0 @@
1
- mod 'branan/eight_hundred' :git => 'https://github.com/branan/eight_hundred'
@@ -1 +0,0 @@
1
- require 'a-shrubbery!'
@@ -1 +0,0 @@
1
- mod 'branan/eight_hundred', undefined_lookup_function('eight_hundred')
@@ -1 +0,0 @@
1
- mod 'puppetlabs/apt', '2.1.1'
@@ -1 +0,0 @@
1
- mod 'puppetlabs/apt'
@@ -1,10 +0,0 @@
1
- mod 'puppetlabs/apt', '2.1.1'
2
- mod 'puppetlabs/stdlib', :latest
3
- mod 'puppetlabs/concat'
4
- mod 'puppetlabs/rpm', '2.1.1-pre1'
5
- mod 'foo', git: 'this/remote', branch: 'main'
6
- mod 'bar', git: 'this/remote', tag: 'v1.2.3'
7
- mod 'baz', git: 'this/remote', commit: '123abc456'
8
- mod 'fizz', git: 'this/remote', ref: '1234567890abcdef1234567890abcdef12345678'
9
- mod 'buzz', git: 'this/remote', ref: 'refs/heads/main'
10
- mod 'canary', local: true
@@ -1,10 +0,0 @@
1
- mod 'puppetlabs/apt', '3.0.0'
2
- mod 'puppetlabs/stdlib', :latest
3
- mod 'puppetlabs/concat'
4
- mod 'puppetlabs/rpm', '2.1.1-pre1'
5
- mod 'foo', git: 'this/remote', branch: 'main'
6
- mod 'bar', git: 'this/remote', tag: 'v1.2.3'
7
- mod 'baz', git: 'this/remote', commit: '123abc456'
8
- mod 'fizz', git: 'this/remote', ref: '1234567890abcdef1234567890abcdef12345678'
9
- mod 'buzz', git: 'this/remote', ref: 'refs/heads/main'
10
- mod 'canary', local: true
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- This only exists so the directory can be committed to git for testing purposes.
@@ -1 +0,0 @@
1
- spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1
@@ -1 +0,0 @@
1
- spec/fixtures/unit/util/purgeable/managed_one/expected_1
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- echo "This was supposed to be non-executable..."