]> git.openstreetmap.org Git - chef.git/blob - test/integration/db-master/inspec/postgresql_spec.rb
Switch to using CINC for the chef server
[chef.git] / test / integration / db-master / inspec / postgresql_spec.rb
1 describe package("postgresql-15") do
2   it { should be_installed }
3 end
4
5 describe package("postgresql-15-postgis-3") do
6   it { should be_installed }
7 end
8
9 describe service("postgresql@15-main") do
10   it { should be_enabled }
11   it { should be_running }
12 end
13
14 describe port(5432) do
15   it { should be_listening }
16   its("protocols") { should cmp %w[tcp tcp6] }
17 end