]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/munin/serverspec/munin_node_spec.rb
Add a serverspec test to ensure the munin-node service is running
[chef.git] / test / integration / munin / serverspec / munin_node_spec.rb
diff --git a/test/integration/munin/serverspec/munin_node_spec.rb b/test/integration/munin/serverspec/munin_node_spec.rb
new file mode 100644 (file)
index 0000000..d949d5c
--- /dev/null
@@ -0,0 +1,10 @@
+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
+end