Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8395486
spec_helper_acceptance.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
882 B
Subscribers
None
spec_helper_acceptance.rb
View Options
require
'beaker-rspec/spec_helper'
require
'beaker-rspec/helpers/serverspec'
hosts
.
each
do
|
_host
|
version
=
ENV
[
'PUPPET_GEM_VERSION'
]
install_puppet
(
:version
=>
version
)
end
RSpec
.
configure
do
|
c
|
proj_root
=
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'..'
))
c
.
formatter
=
:documentation
c
.
before
:suite
do
hosts
.
each
do
|
host
|
c
.
host
=
host
path
=
(
File
.
expand_path
(
File
.
dirname
(
__FILE__
)
+
'/../'
))
.
split
(
'/'
)
name
=
path
[
path
.
length
-
1
].
split
(
'-'
)
[
1
]
copy_module_to
(
host
,
:source
=>
proj_root
,
:module_name
=>
name
)
on
host
,
puppet
(
'module'
,
'install'
,
'puppetlabs-stdlib'
),
:acceptable_exit_codes
=>
[
0
,
1
]
on
host
,
puppet
(
'module'
,
'install'
,
'puppetlabs-java'
),
:acceptable_exit_codes
=>
[
0
,
1
]
on
host
,
puppet
(
'module'
,
'install'
,
'deric-zookeeper'
),
:acceptable_exit_codes
=>
[
0
,
1
]
end
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:39 PM (10 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3379747
Attached To
R143 puppet-puppet-kafka
Event Timeline
Log In to Comment