diff options
author | Josh Cooper <josh@puppet.com> | 2018-07-13 09:38:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 09:38:02 -0700 |
commit | bd20d920a19e9b011dfd027a802985cea46ae04f (patch) | |
tree | f882cd2b7c31ae08cd242882b0f7f1d1ed89cbbd /spec/spec_helper_acceptance.rb | |
parent | 9d96ddecea6367abee1aa77859848b0c158fca80 (diff) | |
parent | c957642d70f4b778736a9b49cf1ef9702e42c4f1 (diff) | |
download | puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.gz puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.bz2 |
Merge pull request #1 from puppetlabs/extraction
Initial host module extraction
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-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 |