mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
10 lines
282 B
Ruby
10 lines
282 B
Ruby
control 'Postgres configuration' do
|
|
title 'should include the directory'
|
|
|
|
describe file('/srv/my_tablespace') do
|
|
it { should be_directory }
|
|
it { should be_owned_by 'postgres' }
|
|
it { should be_grouped_into 'postgres' }
|
|
its('mode') { should cmp '0700' }
|
|
end
|
|
end
|