r10k 3.15.0 → 3.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.mkd +5 -0
  3. data/CODEOWNERS +2 -2
  4. data/doc/dynamic-environments/configuration.mkd +65 -1
  5. data/lib/r10k/version.rb +1 -1
  6. data/r10k.gemspec +1 -1
  7. metadata +2 -151
  8. data/spec/fixtures/empty/.empty +0 -0
  9. data/spec/fixtures/integration/git/puppet-boolean-bare.tar +0 -0
  10. data/spec/fixtures/module/forge/bad_module/metadata.json +0 -1
  11. data/spec/fixtures/module/forge/eight_hundred/Modulefile +0 -8
  12. data/spec/fixtures/module/forge/eight_hundred/metadata.json +0 -19
  13. data/spec/fixtures/tarball/tarball.tar.gz +0 -0
  14. data/spec/fixtures/unit/action/r10k.yaml +0 -5
  15. data/spec/fixtures/unit/action/r10k_cachedir.yaml +0 -2
  16. data/spec/fixtures/unit/action/r10k_creds.yaml +0 -9
  17. data/spec/fixtures/unit/action/r10k_forge_auth.yaml +0 -4
  18. data/spec/fixtures/unit/action/r10k_forge_auth_no_url.yaml +0 -3
  19. data/spec/fixtures/unit/action/r10k_generate_types.yaml +0 -3
  20. data/spec/fixtures/unit/action/r10k_logging.yaml +0 -12
  21. data/spec/fixtures/unit/action/r10k_puppet_path.yaml +0 -3
  22. data/spec/fixtures/unit/puppetfile/argument-error/Puppetfile +0 -1
  23. data/spec/fixtures/unit/puppetfile/default-branch-override/Puppetfile +0 -5
  24. data/spec/fixtures/unit/puppetfile/duplicate-module-error/Puppetfile +0 -10
  25. data/spec/fixtures/unit/puppetfile/forge-override/Puppetfile +0 -8
  26. data/spec/fixtures/unit/puppetfile/invalid-syntax/Puppetfile +0 -1
  27. data/spec/fixtures/unit/puppetfile/load-error/Puppetfile +0 -1
  28. data/spec/fixtures/unit/puppetfile/name-error/Puppetfile +0 -1
  29. data/spec/fixtures/unit/puppetfile/valid-forge-with-version/Puppetfile +0 -1
  30. data/spec/fixtures/unit/puppetfile/valid-forge-without-version/Puppetfile +0 -1
  31. data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile +0 -10
  32. data/spec/fixtures/unit/puppetfile/various-modules/Puppetfile.new +0 -10
  33. data/spec/fixtures/unit/puppetfile/various-modules/modules/apt/.gitkeep +0 -1
  34. data/spec/fixtures/unit/puppetfile/various-modules/modules/baz/.gitkeep +0 -1
  35. data/spec/fixtures/unit/puppetfile/various-modules/modules/buzz/.gitkeep +0 -1
  36. data/spec/fixtures/unit/puppetfile/various-modules/modules/canary/.gitkeep +0 -1
  37. data/spec/fixtures/unit/puppetfile/various-modules/modules/fizz/.gitkeep +0 -1
  38. data/spec/fixtures/unit/puppetfile/various-modules/modules/rpm/.gitkeep +0 -1
  39. data/spec/fixtures/unit/util/purgeable/managed_one/expected_1 +0 -0
  40. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/managed_symlink_file +0 -1
  41. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_allowlisted_2/ignored_1 +0 -0
  42. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_expected_1 +0 -0
  43. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_unmanaged_1 +0 -0
  44. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/unmanaged_symlink_dir +0 -1
  45. data/spec/fixtures/unit/util/purgeable/managed_one/managed_symlink_dir +0 -1
  46. data/spec/fixtures/unit/util/purgeable/managed_one/unmanaged_1 +0 -0
  47. data/spec/fixtures/unit/util/purgeable/managed_one/unmanaged_symlink_file +0 -1
  48. data/spec/fixtures/unit/util/purgeable/managed_two/.hidden/unmanaged_3 +0 -0
  49. data/spec/fixtures/unit/util/purgeable/managed_two/expected_2 +0 -0
  50. data/spec/fixtures/unit/util/purgeable/managed_two/unmanaged_2 +0 -0
  51. data/spec/fixtures/unit/util/subprocess/runner/no-execute.sh +0 -3
  52. data/spec/integration/git/rugged/bare_repository_spec.rb +0 -13
  53. data/spec/integration/git/rugged/cache_spec.rb +0 -33
  54. data/spec/integration/git/rugged/thin_repository_spec.rb +0 -14
  55. data/spec/integration/git/rugged/working_repository_spec.rb +0 -48
  56. data/spec/integration/git/shellgit/bare_repository_spec.rb +0 -13
  57. data/spec/integration/git/shellgit/thin_repository_spec.rb +0 -14
  58. data/spec/integration/git/shellgit/working_repository_spec.rb +0 -13
  59. data/spec/integration/git/stateful_repository_spec.rb +0 -175
  60. data/spec/integration/util/purageable_spec.rb +0 -41
  61. data/spec/matchers/exit_with.rb +0 -28
  62. data/spec/matchers/match_realpath.rb +0 -18
  63. data/spec/r10k-mocks/mock_config.rb +0 -33
  64. data/spec/r10k-mocks/mock_env.rb +0 -18
  65. data/spec/r10k-mocks/mock_source.rb +0 -17
  66. data/spec/r10k-mocks.rb +0 -3
  67. data/spec/shared-contexts/git-fixtures.rb +0 -55
  68. data/spec/shared-contexts/tarball.rb +0 -32
  69. data/spec/shared-examples/deploy-actions.rb +0 -69
  70. data/spec/shared-examples/git/bare_repository.rb +0 -132
  71. data/spec/shared-examples/git/thin_repository.rb +0 -26
  72. data/spec/shared-examples/git/working_repository.rb +0 -207
  73. data/spec/shared-examples/git-repository.rb +0 -38
  74. data/spec/shared-examples/puppetfile-action.rb +0 -39
  75. data/spec/shared-examples/settings/ancestry.rb +0 -44
  76. data/spec/shared-examples/subprocess-runner.rb +0 -89
  77. data/spec/spec_helper.rb +0 -41
  78. data/spec/unit/action/cri_runner_spec.rb +0 -72
  79. data/spec/unit/action/deploy/deploy_helpers_spec.rb +0 -38
  80. data/spec/unit/action/deploy/display_spec.rb +0 -61
  81. data/spec/unit/action/deploy/environment_spec.rb +0 -640
  82. data/spec/unit/action/deploy/module_spec.rb +0 -476
  83. data/spec/unit/action/puppetfile/check_spec.rb +0 -53
  84. data/spec/unit/action/puppetfile/cri_runner_spec.rb +0 -47
  85. data/spec/unit/action/puppetfile/install_spec.rb +0 -112
  86. data/spec/unit/action/puppetfile/purge_spec.rb +0 -60
  87. data/spec/unit/action/runner_spec.rb +0 -407
  88. data/spec/unit/action/visitor_spec.rb +0 -39
  89. data/spec/unit/cli_spec.rb +0 -9
  90. data/spec/unit/deployment/config_spec.rb +0 -33
  91. data/spec/unit/deployment_spec.rb +0 -162
  92. data/spec/unit/environment/bare_spec.rb +0 -13
  93. data/spec/unit/environment/base_spec.rb +0 -122
  94. data/spec/unit/environment/git_spec.rb +0 -114
  95. data/spec/unit/environment/name_spec.rb +0 -181
  96. data/spec/unit/environment/plain_spec.rb +0 -8
  97. data/spec/unit/environment/svn_spec.rb +0 -146
  98. data/spec/unit/environment/tarball_spec.rb +0 -45
  99. data/spec/unit/environment/with_modules_spec.rb +0 -122
  100. data/spec/unit/errors/formatting_spec.rb +0 -84
  101. data/spec/unit/feature_spec.rb +0 -50
  102. data/spec/unit/forge/module_release_spec.rb +0 -213
  103. data/spec/unit/git/alternates_spec.rb +0 -116
  104. data/spec/unit/git/cache_spec.rb +0 -66
  105. data/spec/unit/git/rugged/cache_spec.rb +0 -48
  106. data/spec/unit/git/rugged/credentials_spec.rb +0 -215
  107. data/spec/unit/git/shellgit/cache_spec.rb +0 -27
  108. data/spec/unit/git/stateful_repository_spec.rb +0 -45
  109. data/spec/unit/git_spec.rb +0 -102
  110. data/spec/unit/initializers_spec.rb +0 -68
  111. data/spec/unit/instance_cache_spec.rb +0 -78
  112. data/spec/unit/keyed_factory_spec.rb +0 -51
  113. data/spec/unit/logging/terminaloutputter_spec.rb +0 -53
  114. data/spec/unit/logging_spec.rb +0 -68
  115. data/spec/unit/module/base_spec.rb +0 -118
  116. data/spec/unit/module/forge_spec.rb +0 -271
  117. data/spec/unit/module/git_spec.rb +0 -387
  118. data/spec/unit/module/metadata_file_spec.rb +0 -68
  119. data/spec/unit/module/svn_spec.rb +0 -208
  120. data/spec/unit/module/tarball_spec.rb +0 -70
  121. data/spec/unit/module_loader/puppetfile_spec.rb +0 -421
  122. data/spec/unit/module_spec.rb +0 -114
  123. data/spec/unit/puppetfile_spec.rb +0 -304
  124. data/spec/unit/settings/collection_spec.rb +0 -123
  125. data/spec/unit/settings/container_spec.rb +0 -92
  126. data/spec/unit/settings/definition_spec.rb +0 -79
  127. data/spec/unit/settings/enum_definition_spec.rb +0 -20
  128. data/spec/unit/settings/inheritance_spec.rb +0 -38
  129. data/spec/unit/settings/list_spec.rb +0 -88
  130. data/spec/unit/settings/loader_spec.rb +0 -110
  131. data/spec/unit/settings/uri_definition_spec.rb +0 -23
  132. data/spec/unit/settings_spec.rb +0 -303
  133. data/spec/unit/source/base_spec.rb +0 -31
  134. data/spec/unit/source/exec_spec.rb +0 -81
  135. data/spec/unit/source/git_spec.rb +0 -233
  136. data/spec/unit/source/hash_spec.rb +0 -54
  137. data/spec/unit/source/svn_spec.rb +0 -196
  138. data/spec/unit/source/yaml_spec.rb +0 -42
  139. data/spec/unit/source_spec.rb +0 -10
  140. data/spec/unit/svn/remote_spec.rb +0 -21
  141. data/spec/unit/svn/working_dir_spec.rb +0 -56
  142. data/spec/unit/tarball_spec.rb +0 -57
  143. data/spec/unit/util/attempt_spec.rb +0 -82
  144. data/spec/unit/util/cacheable_spec.rb +0 -23
  145. data/spec/unit/util/commands_spec.rb +0 -61
  146. data/spec/unit/util/downloader_spec.rb +0 -98
  147. data/spec/unit/util/exec_env_spec.rb +0 -56
  148. data/spec/unit/util/purgeable_spec.rb +0 -267
  149. data/spec/unit/util/setopts_spec.rb +0 -83
  150. data/spec/unit/util/subprocess/result_spec.rb +0 -36
  151. data/spec/unit/util/subprocess/runner/posix_spec.rb +0 -7
  152. data/spec/unit/util/subprocess/runner/pump_spec.rb +0 -79
  153. data/spec/unit/util/subprocess/runner/windows_spec.rb +0 -7
  154. data/spec/unit/util/subprocess/subprocess_error_spec.rb +0 -26
  155. data/spec/unit/util/subprocess_spec.rb +0 -65
  156. 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: bbe3c00c11efc712b5146a3dc869eb9855151bbe1d686fef6c13f9c17efc6283
4
+ data.tar.gz: 8d67474c7fe6266d04fd5ae42a301c4eb9f72f284b7d487350843384f1e37816
5
5
  SHA512:
6
- metadata.gz: 6de1e925f24ec5edf168c5a4d177030be2d351493ab65274998bbd02b67fa84910d3a28d800bdd03d255e4fb0cceeac1b8d09a615cb181986ee22bd4e155e0fb
7
- data.tar.gz: f4294cd171f9665c70d9573ad082003e5cd272aa42b2f949c41bc6874399c92010e1065140544770807444e8cf60b52d0733add89cfbd0b4839381c918932004
6
+ metadata.gz: 5eadfe0185cd3bf7dcad760135e566dff7d8652a42c4b70e3968c9dfffd08770a722c07ad89a3c92065c5b57ef91ace5c79d13edf54277932297a67431c818df
7
+ data.tar.gz: 49cdc0476700c4938ac010eae9293fe94945ff81450bc72aaac00b969af96d9f04cc7733a54e79a576d9533011cec8e947d893fb79f824a9bbb6992f57912de0
data/CHANGELOG.mkd CHANGED
@@ -4,6 +4,11 @@ CHANGELOG
4
4
  Unreleased
5
5
  ----------
6
6
 
7
+ 3.15.1
8
+ ------
9
+ - Add TOC to configuration docs [#1298](https://github.com/puppetlabs/r10k/issues/1298)
10
+ - Remove the spec folder from gemspec [#1316](https://github.com/puppetlabs/r10k/issues/1316)
11
+
7
12
  3.15.0
8
13
  ------
9
14
 
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
@@ -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
 
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.1'
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.1
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-08-18 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..."
@@ -1,13 +0,0 @@
1
- require 'spec_helper'
2
- require 'r10k/git/rugged/bare_repository'
3
-
4
- describe R10K::Git::Rugged::BareRepository, :if => R10K::Features.available?(:rugged) do
5
- include_context 'Git integration'
6
-
7
- let(:dirname) { 'bare-repo.git' }
8
-
9
- subject { described_class.new(basedir, dirname) }
10
-
11
- it_behaves_like 'a git repository'
12
- it_behaves_like 'a git bare repository'
13
- end
@@ -1,33 +0,0 @@
1
- require 'spec_helper'
2
- require 'r10k/git/rugged/cache'
3
-
4
- describe R10K::Git::Rugged::Cache, :if => R10K::Features.available?(:rugged) do
5
- include_context 'Git integration'
6
-
7
- let(:dirname) { 'working-repo' }
8
- let(:remote_name) { 'origin' }
9
-
10
- subject { described_class.new(remote) }
11
-
12
- context "syncing with the remote" do
13
- before(:each) do
14
- subject.reset!
15
- end
16
-
17
- describe "with the correct configuration" do
18
- it "is able to sync with the remote" do
19
- subject.sync
20
- expect(subject.synced?).to eq(true)
21
- end
22
- end
23
-
24
- describe "with a out of date cached remote" do
25
- it "updates the cached remote configuration" do
26
- subject.repo.update_remote('foo', remote_name)
27
- expect(subject.repo.remotes[remote_name]).to eq('foo')
28
- subject.sync
29
- expect(subject.repo.remotes[remote_name]).to eq(remote)
30
- end
31
- end
32
- end
33
- end
@@ -1,14 +0,0 @@
1
- require 'spec_helper'
2
- require 'r10k/git/rugged/thin_repository'
3
-
4
- describe R10K::Git::Rugged::ThinRepository, :if => R10K::Features.available?(:rugged) do
5
- include_context 'Git integration'
6
-
7
- let(:dirname) { 'working-repo' }
8
-
9
- let(:cacherepo) { R10K::Git::Rugged::Cache.generate(remote) }
10
-
11
- subject { described_class.new(basedir, dirname, cacherepo) }
12
-
13
- it_behaves_like "a git thin repository"
14
- end