voxpupuli-acceptance 2.0.0 → 2.2.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: 642e136a211692879b289dcf2389864b46bacf8d461c9fe48edc355707d26009
4
- data.tar.gz: 97c5d37b5a8bea41a77d33599312064ac49d3a076ec27e9d865203fd330cd1cd
3
+ metadata.gz: 4a28f833be1047f3498ba310d5f70fae109535f5c03026ddef68e9e81b04393a
4
+ data.tar.gz: a1d5817a9a0bc35f9355a034ee3f2e703d702b6e71a94f9f51772627351bb181
5
5
  SHA512:
6
- metadata.gz: d598fd6edde8da8a9dcef9dea2f14b0a0baa028301f1cd82a023f7efd2de5a3fde1e849b5b9a79940dd9af612660dc74453b33fd65174f282e98fb01b24535d6
7
- data.tar.gz: 7aa7c03a60560b8094f4972c905299f3739e21659aa1bfbaf263bb9aec2223ca6966c7da288432e12c5e8ed572221a50315ecd722a5a88b00f900fad75efa664
6
+ metadata.gz: 87f56db037b8ab28e46f4d9d37ef578f3ee7c51365e68ec2623f459140ca4f09c99af5f7c52a4479d7c61e94f8d5fcdf0696657643a4f38a7390e80482d4e593
7
+ data.tar.gz: a0a4faea1a82f25605d71e145eee3251cfc4dfe42aa7ec48726c5aaaf2a1f567e473d0f49f5541a2d26e3c6da5a3fbd987647be36c18cd37a4872809277419d2
@@ -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,11 +13,17 @@ 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)
19
- package_name = BeakerPuppetHelpers::InstallUtils.puppet_package_name(host)
18
+ if (has_aio = collection != 'none')
19
+ BeakerPuppetHelpers::InstallUtils.install_puppet_release_repo_on(host, collection)
20
+ end
21
+ package_name = BeakerPuppetHelpers::InstallUtils.puppet_package_name(host, prefer_aio: has_aio)
20
22
  host.install_package(package_name)
23
+
24
+ # by default, puppet-agent creates /etc/profile.d/puppet-agent.sh which adds /opt/puppetlabs/bin to PATH
25
+ # in our non-interactive ssh sessions we manipulate PATH in ~/.ssh/environment, we need to do this step here as well
26
+ host.add_env_var('PATH', '/opt/puppetlabs/bin')
21
27
  end
22
28
  end
23
29
 
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.0.0
4
+ version: 2.2.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-05-10 00:00:00.000000000 Z
11
+ date: 2023-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt_pbkdf