3 describe 'postgresql::lib::perl', :type => :class do
5 describe 'on a redhat based os' do
8 :operatingsystem => 'RedHat',
9 :operatingsystemrelease => '6.4',
12 it { is_expected.to contain_package('perl-DBD-Pg').with(
13 :name => 'perl-DBD-Pg',
18 describe 'on a debian based os' do
20 :osfamily => 'Debian',
21 :operatingsystem => 'Debian',
22 :operatingsystemrelease => '6.0',
25 it { is_expected.to contain_package('perl-DBD-Pg').with(
26 :name => 'libdbd-pg-perl',