Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391426
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
900 B
Subscribers
None
spec_helper_acceptance.rb
View Options
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
Details
Attached
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
Attached To
R208 puppet-puppet-cassandra
Event Timeline
Log In to Comment