Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392484
spec_helper_acceptance.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Subscribers
None
spec_helper_acceptance.rb
View Options
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
Details
Attached
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
Attached To
R226 puppet-puppet-redis
Event Timeline
Log In to Comment