mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 21:54:07 +09:00
OS - Ubuntu 12.04 PHP - 5.4 with cli intl mcrypt curl gd imagick mbstring MySQL IP - 10.20.30.12 target folder - /var/www/boxbilling servername - boxbilling.test XDEBUG
24 lines
824 B
Ruby
24 lines
824 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'apache::mod::peruser', :type => :class do
|
|
let :pre_condition do
|
|
'class { "apache": mpm_module => false, }'
|
|
end
|
|
context "on a FreeBSD OS" do
|
|
let :facts do
|
|
{
|
|
:osfamily => 'FreeBSD',
|
|
:operatingsystemrelease => '9',
|
|
:concat_basedir => '/dne',
|
|
:operatingsystem => 'FreeBSD',
|
|
:id => 'root',
|
|
:kernel => 'FreeBSD',
|
|
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
|
|
}
|
|
end
|
|
it { is_expected.to contain_class("apache::params") }
|
|
it { is_expected.not_to contain_apache__mod('peruser') }
|
|
it { is_expected.to contain_file("/usr/local/etc/apache22/Modules/peruser.conf").with_ensure('file') }
|
|
end
|
|
end
|