diff options
author | Josh Cooper <josh@puppet.com> | 2018-07-09 23:31:10 -0700 |
---|---|---|
committer | Josh Cooper <josh@puppet.com> | 2018-07-10 11:03:14 -0700 |
commit | b8240868f897bf74262d59c85320833bb1854edb (patch) | |
tree | 08b842280fc1081d283aeaa63dc50f561817340c /spec | |
parent | fa61bde37d75c0482d0a0d8822d635a1bc02662b (diff) | |
download | puppet-hosts_core-b8240868f897bf74262d59c85320833bb1854edb.tar.gz puppet-hosts_core-b8240868f897bf74262d59c85320833bb1854edb.tar.bz2 |
Add spec_helper_acceptance
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper_acceptance.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb new file mode 100644 index 0000000..848f7d9 --- /dev/null +++ b/spec/spec_helper_acceptance.rb @@ -0,0 +1,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 |