]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/prometheus/serverspec/prometheus_node_exporter_spec.rb
Configure production site to use query.openstreetmap.org
[chef.git] / test / integration / prometheus / serverspec / prometheus_node_exporter_spec.rb
index c37883d15ab0395ac8ed3f6df95f959fc897ff2d..7a035e8f67e575699dcae0bd8e84cfef28dca838 100644 (file)
@@ -3,15 +3,11 @@ require "serverspec"
 # Required by serverspec
 set :backend, :exec
 
-describe package("prometheus-node-exporter") do
-  it { should be_installed }
-end
-
 describe service("prometheus-node-exporter") do
   it { should be_enabled }
   it { should be_running }
 end
 
 describe port(9100) do
-  it { should be_listening.with("tcp6") }
+  it { should be_listening.with("tcp") }
 end