voxpupuli-acceptance 2.1.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6866e9d634d4af76ba1ca0f0f66a5c500b233922d7e4bf9778fc8b6c8ffb64c
4
- data.tar.gz: 8177647c83516dbe5e22f16ca62dd16d7f633e05e67836ec37ad27fc3259d922
3
+ metadata.gz: a2c35bcd82a31ef76e426ba44392b798467a4daf852a8e21940c30adfa1ee976
4
+ data.tar.gz: e94e870258088116e11d0e5c155fdec57c4034e34d429568ddd9e1608a7ac8a4
5
5
  SHA512:
6
- metadata.gz: 9822328d43646e2a43b7dfff7c73665c08631797049aebde52b90d84bfa118bbeabbbfde23353519841d04edcaa28c34e8b4942fdb98b5b9e2f08e88270e5bcd
7
- data.tar.gz: c2358fa82e380f9be4d4a2297dc021ea30764e7bc2c989fc53ba1bda6873d6731bae284e7fd183aaa8a39752baed9fe7d29cb10356d44b33570617e2989f51b3
6
+ metadata.gz: b39026527782daf48daecee2a118f29f4ebbc3a065e8d29f3ffe3225fdf51ca05fd44596aa4d588861a6e32a75f1b253e9af3ab4db941195272d66670a29e4be
7
+ data.tar.gz: 177c1b5ae6452a0e76e4daa3d99ec9ef16472595897ec6c60f760bb8e811788849a0e2d668eff312c8c6e879313f3eb5a3fae32a0e5e3375035fbfb9b2dd6dde
@@ -93,7 +93,7 @@ module Voxpupuli
93
93
  nil
94
94
  end
95
95
 
96
- # Create a temporay directory on the host, similar to Dir.mktmpdir but
96
+ # Create a temporary directory on the host, similar to Dir.mktmpdir but
97
97
  # on a remote host.
98
98
  #
99
99
  # @example
@@ -1,6 +1,6 @@
1
1
  begin
2
2
  # Fixtures can be needed because of spec_prep
3
- # spec_prep taks is provided by puppetlabs_spec_helper
3
+ # spec_prep task is provided by puppetlabs_spec_helper
4
4
  require 'puppetlabs_spec_helper/tasks/fixtures'
5
5
  rescue LoadError
6
6
  # we only need that during CI, so we rescue the LoadError
@@ -2,7 +2,7 @@ require_relative 'examples'
2
2
 
3
3
  def configure_beaker(modules: :metadata, &block)
4
4
  collection = ENV['BEAKER_PUPPET_COLLECTION'] || 'puppet'
5
- ENV['BEAKER_debug'] ||= 'true'
5
+ ENV['BEAKER_DEBUG'] ||= 'true'
6
6
  ENV['BEAKER_HYPERVISOR'] ||= 'docker'
7
7
 
8
8
  # On Ruby 3 this doesn't appear to matter but on Ruby 2 beaker-hiera must be
@@ -13,10 +13,12 @@ def configure_beaker(modules: :metadata, &block)
13
13
 
14
14
  require_relative 'fixtures' if modules == :fixtures
15
15
 
16
- unless ENV['BEAKER_provision'] == 'no'
16
+ unless ENV['BEAKER_PROVISION'] == 'no'
17
17
  block_on hosts, run_in_parallel: true do |host|
18
- BeakerPuppetHelpers::InstallUtils.install_puppet_release_repo_on(host, collection) unless collection == 'none'
19
- package_name = BeakerPuppetHelpers::InstallUtils.puppet_package_name(host)
18
+ unless %w[none preinstalled].include?(collection)
19
+ BeakerPuppetHelpers::InstallUtils.install_puppet_release_repo_on(host, collection)
20
+ end
21
+ package_name = ENV.fetch('BEAKER_PUPPET_PACKAGE_NAME', BeakerPuppetHelpers::InstallUtils.puppet_package_name(host, prefer_aio: collection != 'none'))
20
22
  host.install_package(package_name)
21
23
 
22
24
  # by default, puppet-agent creates /etc/profile.d/puppet-agent.sh which adds /opt/puppetlabs/bin to PATH
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voxpupuli-acceptance
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-04 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt_pbkdf