3 describe 'apache::mod::auth_kerb', :type => :class do
7 context "on a Debian OS", :compile do
12 :lsbdistcodename => 'squeeze',
13 :osfamily => 'Debian',
14 :operatingsystem => 'Debian',
15 :operatingsystemrelease => '6',
16 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
17 :concat_basedir => '/dne',
21 it { is_expected.to contain_class("apache::params") }
22 it { is_expected.to contain_apache__mod("auth_kerb") }
23 it { is_expected.to contain_package("libapache2-mod-auth-kerb") }
25 context "on a RedHat OS", :compile do
30 :osfamily => 'RedHat',
31 :operatingsystem => 'RedHat',
32 :operatingsystemrelease => '6',
33 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
34 :concat_basedir => '/dne',
38 it { is_expected.to contain_class("apache::params") }
39 it { is_expected.to contain_apache__mod("auth_kerb") }
40 it { is_expected.to contain_package("mod_auth_kerb") }
42 context "on a FreeBSD OS", :compile do
47 :osfamily => 'FreeBSD',
48 :operatingsystem => 'FreeBSD',
49 :operatingsystemrelease => '9',
50 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
51 :concat_basedir => '/dne',
55 it { is_expected.to contain_class("apache::params") }
56 it { is_expected.to contain_apache__mod("auth_kerb") }
57 it { is_expected.to contain_package("www/mod_auth_kerb2") }
59 context "on a Gentoo OS", :compile do
64 :osfamily => 'Gentoo',
65 :operatingsystem => 'Gentoo',
66 :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin',
67 :operatingsystemrelease => '3.16.1-gentoo',
68 :concat_basedir => '/dne',
72 it { is_expected.to contain_class("apache::params") }
73 it { is_expected.to contain_apache__mod("auth_kerb") }
74 it { is_expected.to contain_package("www-apache/mod_auth_kerb") }