]> git.openstreetmap.org Git - chef.git/blob - test/integration/planet-dump/serverspec/planetdump_spec.rb
Expect apache to listen on tcp6 instead of tcp
[chef.git] / test / integration / planet-dump / serverspec / planetdump_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe file("/opt/planet-dump-ng/planet-dump-ng") do
7   it { should be_file }
8   it { should be_executable }
9 end
10
11 describe file("/usr/local/bin/planetdump") do
12   it { should be_file }
13   it { should be_executable }
14 end
15
16 describe file("/usr/local/bin/planet-mirror-redirect-update") do
17   it { should be_file }
18   it { should be_executable }
19 end
20
21 describe service("planet-dump-mirror.timer") do
22   it { should be_enabled }
23   it { should be_running }
24 end