Page MenuHomeSoftware Heritage

spec_helper_acceptance.rb
No OneTemporary

spec_helper_acceptance.rb

require 'beaker-rspec'
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'
run_puppet_install_helper unless ENV['BEAKER_provision'] == 'no'
install_module_on(hosts)
install_module_dependencies_on(hosts)
RSpec.configure do |c|
# Readable test descriptions
c.formatter = :documentation
c.before :suite do
hosts.each do |host|
case fact_on(host, 'operatingsystem')
when 'CentOS'
host.install_package('epel-release')
when 'Ubuntu'
host.install_package('software-properties-common')
end
host.install_package('puppet-bolt')
end
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Jun 4 2025, 6:59 PM (10 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398898

Event Timeline