File: spec_helper_acceptance.rb

package info (click to toggle)
puppet-module-puppetlabs-host-core 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 312 kB
  • sloc: ruby: 1,107; sh: 16; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (4)
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)
      install_module_dependencies_on(hosts)
    end
  end
end