]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/logstash/serverspec/logstash_spec.rb
Add tests for elasticsearch, kibana and logstash cookbooks
[chef.git] / test / integration / logstash / serverspec / logstash_spec.rb
diff --git a/test/integration/logstash/serverspec/logstash_spec.rb b/test/integration/logstash/serverspec/logstash_spec.rb
new file mode 100644 (file)
index 0000000..c339de5
--- /dev/null
@@ -0,0 +1,17 @@
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("logstash") do
+  it { should be_installed }
+end
+
+describe service("logstash") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+# describe port(5044) do
+#  it { should be_listening.with("tcp") }
+# end