]> git.openstreetmap.org Git - chef.git/blob - test/integration/openssh/serverspec/openssh_spec.rb
Configure production site to use query.openstreetmap.org
[chef.git] / test / integration / openssh / serverspec / openssh_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe package("openssh-client") do
7   it { should be_installed }
8 end
9
10 describe package("openssh-server") do
11   it { should be_installed }
12 end
13
14 describe service("ssh") do
15   it { should be_enabled }
16   it { should be_running }
17 end
18
19 describe port(22) do
20   it { should be_listening.with("tcp") }
21 end