diff options
author | intrigeri <intrigeri@boum.org> | 2016-06-29 17:48:14 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2016-06-29 17:48:14 +0000 |
commit | 2ab9739d5a2595d2f72e6deb246778d619819270 (patch) | |
tree | 9b78ad7d7511e8e4851fb2b1026ecb785e9545ca /spec/spec_helper_acceptance.rb | |
parent | e70a6712d31e91ecbf71f4de841735c3b36193ba (diff) | |
parent | 2bbfe8cab9ba8125feb9f54865e3025bf4d355ee (diff) |
Merge remote-tracking branch 'shared/master' into bugfix/reboot-required-jessie
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-rw-r--r-- | spec/spec_helper_acceptance.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb new file mode 100644 index 0000000..1ccd84d --- /dev/null +++ b/spec/spec_helper_acceptance.rb @@ -0,0 +1,18 @@ +require 'beaker-rspec' + +RSpec.configure do |c| + module_root = File.expand_path(File.join(File.dirname(__FILE__), '..')) + module_name = module_root.split('-').last + + # Readable test descriptions + c.formatter = :documentation + + # Configure all nodes in nodeset + c.before :suite do + # Install module and dependencies + puppet_module_install(:source => module_root, :module_name => module_name) + hosts.each do |host| + shell('git clone https://gitlab.com/shared-puppet-modules-group/common.git /etc/puppet/modules/common') + end + end +end |