Page MenuHomeSoftware Heritage

spec_helper_acceptance.rb
No OneTemporary

spec_helper_acceptance.rb

require 'beaker-rspec'
require 'pry'
hosts.each do |host|
# Install Puppet
on host, install_puppet
end
RSpec.configure do |c|
module_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
c.formatter = :documentation
# Configure all nodes in nodeset
c.before :suite do
# Install module
puppet_module_install(source: module_root, module_name: 'cassandra')
hosts.each do |host|
on host, puppet('module', 'install',
'puppetlabs-apt'), acceptable_exit_codes: [0, 1]
on host, puppet('module', 'install',
'puppetlabs-firewall'), acceptable_exit_codes: [0, 1]
on host, puppet('module', 'install',
'puppetlabs-inifile'), acceptable_exit_codes: [0, 1]
on host, puppet('module', 'install',
'puppetlabs-stdlib'), acceptable_exit_codes: [0, 1]
end
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Jun 4 2025, 6:43 PM (14 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3353408

Event Timeline