Revision 2a616445
Added by Justin Sherrill almost 10 years ago
modules/postgresql/spec/unit/classes/server/initdb_spec.rb | ||
---|---|---|
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
|
||
}
|
||
end
|
||
it { should contain_file('/var/lib/pgsql/data').with_ensure('directory') }
|
||
it { is_expected.to contain_file('/var/lib/pgsql/data').with_ensure('directory') }
|
||
end
|
||
describe 'on Amazon' do
|
||
let :facts do
|
||
... | ... | |
:path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
|
||
}
|
||
end
|
||
it { should contain_file('/var/lib/pgsql9/data').with_ensure('directory') }
|
||
it { is_expected.to contain_file('/var/lib/pgsql9/data').with_ensure('directory') }
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
Refs #5029 - specify inital org and location