voxpupuli-acceptance 2.3.0 → 2.4.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: a2c35bcd82a31ef76e426ba44392b798467a4daf852a8e21940c30adfa1ee976
4
- data.tar.gz: e94e870258088116e11d0e5c155fdec57c4034e34d429568ddd9e1608a7ac8a4
3
+ metadata.gz: 0de062f2c59ba27c757843a03a6b24005fe26b2a0aba56d06198ae67b1d88588
4
+ data.tar.gz: 8d1e5c99db30e9c6a93ce7705cdebdecc8cf2de10b24abfd0b030c9e6a0b98cf
5
5
  SHA512:
6
- metadata.gz: b39026527782daf48daecee2a118f29f4ebbc3a065e8d29f3ffe3225fdf51ca05fd44596aa4d588861a6e32a75f1b253e9af3ab4db941195272d66670a29e4be
7
- data.tar.gz: 177c1b5ae6452a0e76e4daa3d99ec9ef16472595897ec6c60f760bb8e811788849a0e2d668eff312c8c6e879313f3eb5a3fae32a0e5e3375035fbfb9b2dd6dde
6
+ metadata.gz: bd6e0d7dbe34a3ab38e788ccc5fa5a80b450488d59cba1737c7c55479483afec0b59c1d5ce1730f3e83a892962fde759b5e4559853d226793efdbba63ed68f93
7
+ data.tar.gz: ff61ffeb51ae5563d6a74a77cc1bf46ccf80fbbadf226e83e0d908c5a4b8c94d09dfff02d7e5678fd26338754ed34940171ccd8c22e4e1b2ea55ab2c51e0aa46
@@ -56,12 +56,13 @@ def configure_beaker(modules: :metadata, &block)
56
56
  end
57
57
 
58
58
  local_setup = RSpec.configuration.setup_acceptance_node
59
+ local_setup_content = File.exist?(local_setup) ? File.read(local_setup) : nil
59
60
  hosts.each do |host|
60
61
  yield host if block
61
62
 
62
- if local_setup && File.exist?(local_setup)
63
+ if local_setup_content
63
64
  puts "Configuring #{host} by applying #{local_setup}"
64
- apply_manifest_on(host, File.read(local_setup), catch_failures: true)
65
+ apply_manifest_on(host, local_setup_content, catch_failures: true)
65
66
  end
66
67
  end
67
68
  end
@@ -80,7 +81,7 @@ RSpec.configure do |c|
80
81
  c.add_setting :suite_hiera, default: true
81
82
  c.add_setting :suite_hiera_data_dir, default: File.join('spec', 'acceptance', 'hieradata')
82
83
  c.add_setting :suite_hiera_hierachy, default: [
83
- 'fqdn/%{fqdn}.yaml',
84
+ 'fqdn/%{networking.fqdn}.yaml',
84
85
  'os/%{os.family}/%{os.release.major}.yaml',
85
86
  'os/%{os.family}.yaml',
86
87
  'common.yaml',
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.3.0
4
+ version: 2.4.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-10-24 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt_pbkdf