Skip to content

Commit 17eb756

Browse files
committed
Remove postgre-01
Signed-off-by: Mahdi Fooladgar <professormahi_f@yahoo.com>
1 parent b402ef6 commit 17eb756

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

controls/postgres_spec.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,6 @@
3434
command('psql').exist?
3535
end
3636

37-
control 'postgres-01' do
38-
impact 1.0
39-
title 'Postgresql should be running'
40-
desc 'Postgresql should be running.'
41-
if os[:name] == 'ubuntu'
42-
describe command('/etc/init.d/postgresql status') do
43-
its('stdout') { should include 'active' }
44-
end
45-
else
46-
describe service(postgres.service) do
47-
it { should be_installed }
48-
it { should be_running }
49-
it { should be_enabled }
50-
end
51-
end
52-
end
53-
5437
control 'postgres-02' do
5538
impact 1.0
5639
title 'Use stable postgresql version'

0 commit comments

Comments
 (0)