]> git.openstreetmap.org Git - chef.git/blobdiff - test/integration/bind/inspec/bind_spec.rb
Switch to using inspec for testing
[chef.git] / test / integration / bind / inspec / bind_spec.rb
diff --git a/test/integration/bind/inspec/bind_spec.rb b/test/integration/bind/inspec/bind_spec.rb
new file mode 100644 (file)
index 0000000..399ec9b
--- /dev/null
@@ -0,0 +1,13 @@
+describe package("bind9") do
+  it { should be_installed }
+end
+
+describe service("bind9") do
+  it { should be_enabled }
+  it { should be_running }
+end
+
+describe port(53) do
+  it { should be_listening }
+  its("protocols") { should cmp %w[udp udp6 tcp tcp6] }
+end