]> git.openstreetmap.org Git - chef.git/blob - test/integration/prometheus-server/serverspec/prometheus_spec.rb
a4377ce53f322fb7a0f6ee145b5051deab6df89e
[chef.git] / test / integration / prometheus-server / serverspec / prometheus_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 describe package("prometheus") do
7   it { should be_installed }
8 end
9
10 describe service("prometheus") do
11   it { should be_enabled }
12   it { should be_running }
13 end
14
15 describe port(9090) do
16   it { should be_listening.with("tcp6") }
17 end