aboutsummaryrefslogtreecommitdiff
path: root/spec/spec_helper_acceptance.rb
blob: 848f7d9f8c2d4f788a1d5f42ff9c8b28abc1e5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'beaker-rspec'
require 'beaker/module_install_helper'
require 'beaker/puppet_install_helper'

RSpec.configure do |c|
  c.before :suite do
    unless ENV['BEAKER_provision'] == 'no'
      run_puppet_install_helper
      install_module_on(hosts_as('default'))
      install_module_dependencies_on(hosts)
    end
  end
end