Skip to content

Commit af3448b

Browse files
committed
Merge pull request voxpupuli#280 from hunner/fix_tests
Fix VPCI
2 parents 463e8ee + 7cc497e commit af3448b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
#! /usr/bin/env ruby -S rspec
22
require 'beaker-rspec'
3+
require 'beaker/puppet_install_helper'
34

45
UNSUPPORTED_PLATFORMS = []
56

6-
unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
7-
if hosts.first.is_pe?
8-
install_pe
9-
on hosts, 'mkdir -p /etc/puppetlabs/facter/facts.d'
10-
else
11-
install_puppet
12-
on hosts, 'mkdir -p /etc/facter/facts.d'
13-
on hosts, '/bin/touch /etc/puppet/hiera.yaml'
14-
end
15-
hosts.each do |host|
16-
on host, "mkdir -p #{host['distmoduledir']}"
17-
end
18-
end
7+
run_puppet_install_helper
198

209
RSpec.configure do |c|
2110
# Project root

0 commit comments

Comments
 (0)