]> git.openstreetmap.org Git - chef.git/blob - test/integration/openssh/inspec/openssh_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / openssh / inspec / openssh_spec.rb
1 describe package("openssh-client") do
2   it { should be_installed }
3 end
4
5 describe package("openssh-server") do
6   it { should be_installed }
7 end
8
9 describe service("ssh") do
10   it { should be_enabled }
11   it { should be_running }
12 end
13
14 describe port(22) do
15   it { should be_listening }
16   its("protocols") { should cmp %w[tcp tcp6] }
17 end