3 # This function is called inside the OS specific conte, :compilexts
5 it { is_expected.to contain_apache__mod("mime") }
8 describe 'apache::mod::mime', :type => :class do
13 context "On a Debian OS with default params", :compile do
16 :osfamily => 'Debian',
17 :operatingsystemrelease => '6',
18 :concat_basedir => '/dne',
19 :lsbdistcodename => 'squeeze',
20 :operatingsystem => 'Debian',
23 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
30 it { is_expected.to contain_file("mime.conf").with_path('/etc/apache2/mods-available/mime.conf') }
34 context "on a RedHat OS with default params", :compile do
37 :osfamily => 'RedHat',
38 :operatingsystemrelease => '6',
39 :concat_basedir => '/dne',
40 :operatingsystem => 'RedHat',
43 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
50 it { is_expected.to contain_file("mime.conf").with_path("/etc/httpd/conf.d/mime.conf") }