Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391227
install_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
540 B
Subscribers
None
install_spec.rb
View Options
require
'spec_helper'
describe
'hitch::install'
do
on_supported_os
.
each
do
|
os
,
os_facts
|
context
"on
#{
os
}
"
do
let
(
:facts
)
{
os_facts
}
let
(
:params
)
{
{
manage_repo
:
true
,
package
:
'hitch'
}
}
it
{
is_expected
.
to
compile
}
it
{
is_expected
.
to
contain_package
(
'hitch'
)
}
it
{
case
facts
[
:os
][
'family'
]
when
'RedHat'
is_expected
.
to
contain_package
(
'epel-release'
)
else
is_expected
.
not_to
contain_package
(
'epel-release'
)
end
}
end
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Jun 4 2025, 6:40 PM (14 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3307546
Attached To
rSPHIT Hitch TLS proxy puppet module
Event Timeline
Log In to Comment