We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 463e8ee + 7cc497e commit af3448bCopy full SHA for af3448b
spec/spec_helper_acceptance.rb
@@ -1,21 +1,10 @@
1
#! /usr/bin/env ruby -S rspec
2
require 'beaker-rspec'
3
+require 'beaker/puppet_install_helper'
4
5
UNSUPPORTED_PLATFORMS = []
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
18
-end
+run_puppet_install_helper
19
20
RSpec.configure do |c|
21
# Project root
0 commit comments