Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392070
php_apache_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
642 B
Subscribers
None
php_apache_spec.rb
View Options
require
'spec_helper'
describe
'php::apache'
,
:type
=>
:class
do
let
(
:facts
)
{
{
:osfamily
=>
'Debian'
,
:path
=>
'/usr/local/bin:/usr/bin:/bin'
}
}
describe
'when called with no parameters on Debian'
do
it
{
should
contain_package
(
'libapache2-mod-php5'
)
.
with
({
'ensure'
=>
'installed'
,
})
}
end
describe
'when called with no parameters on Suse'
do
let
(
:facts
)
{
{
:osfamily
=>
'Suse'
,
:path
=>
'/usr/local/bin:/usr/bin:/bin'
}
}
it
{
should
contain_package
(
'apache2-mod_php5'
)
.
with
({
'ensure'
=>
'installed'
,
})
}
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Jun 4 2025, 6:54 PM (11 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398864
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment