]> git.openstreetmap.org Git - chef.git/blob - test/integration/dev/inspec/postgresql_spec.rb
Merge remote-tracking branch 'github/pull/692'
[chef.git] / test / integration / dev / inspec / postgresql_spec.rb
1 describe package("postgresql-15") do
2   it { should be_installed }
3 end
4
5 describe service("postgresql@15-main") do
6   it { should be_enabled }
7   it { should be_running }
8 end
9
10 describe port(5432) do
11   it { should be_listening }
12   its("protocols") { should cmp %w[tcp tcp6] }
13 end