Add puppetlabs/certregen module
[mirror/dsa-puppet.git] / 3rdparty / modules / certregen / spec / spec_helper_acceptance.rb
diff --git a/3rdparty/modules/certregen/spec/spec_helper_acceptance.rb b/3rdparty/modules/certregen/spec/spec_helper_acceptance.rb
new file mode 100644 (file)
index 0000000..18c4fe4
--- /dev/null
@@ -0,0 +1,17 @@
+require 'beaker-rspec'
+require 'beaker/puppet_install_helper'
+require 'beaker/module_install_helper'
+require 'acceptance/helpers'
+
+run_puppet_install_helper
+install_ca_certs unless ENV['PUPPET_INSTALL_TYPE'] =~ /pe/i
+hosts.each do |host|
+  install_module_on(host)
+end
+install_module_dependencies_on(hosts)
+
+RSpec.configure do |c|
+  # Readable test descriptions
+  c.formatter = :documentation
+end
+