3 describe 'postgresql::lib::python', :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('python-psycopg2').with(
13 :name => 'python-psycopg2',
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('python-psycopg2').with(
26 :name => 'python-psycopg2',