]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/munin/serverspec/munin_node_spec.rb
civicrm version bump
[chef.git] / test / integration / munin / serverspec / munin_node_spec.rb
index d949d5c92ece9c2b393b90d7bd2a0833450b0e23..9d3fdd3555ac79cffc189badc1aa4cad6ca908d2 100644 (file)
@@ -3,8 +3,15 @@ require "serverspec"
 # Required by serverspec
 set :backend, :exec
 
-describe "munin-node daemon" do
-  it "has a running service of munin-node" do
-    expect(service("munin-node")).to be_running
-  end
+describe package("munin-node") do
+  it { should be_installed }
+end
+
+describe service("munin-node") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+describe port(4949) do
+  it { should be_listening.with("tcp6") }
 end