]> git.openstreetmap.org Git - chef.git/blob - test/integration/mail/inspec/spamassassin_spec.rb
Revert "cloudwatch: add eu-north-1 for osm-main to collect replication metrics"
[chef.git] / test / integration / mail / inspec / spamassassin_spec.rb
1 service_name = if os.name == "debian"
2                  "spamd"
3                else
4                  "spamassassin"
5                end
6
7 describe package("spamassassin") do
8   it { should be_installed }
9 end
10
11 describe service(service_name) do
12   it { should be_enabled }
13   it { should be_running }
14 end
15
16 describe port(783) do
17   it { should be_listening }
18   its("protocols") { should cmp %w[tcp tcp6] }
19 end