Add tests for the formula
Change-Id: Id84f6e68c40901e053418d1de8e472e6fb64d9f1
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..5020ac0
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,48 @@
+---
+driver:
+ name: docker
+ hostname: rundeck.ci.local
+ use_sudo: false
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ require_chef: false
+ log_level: error
+ formula: rundeck
+ grains:
+ noservices: true
+ state_top:
+ base:
+ "*":
+ - rundeck
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - rundeck
+
+verifier:
+ name: inspec
+ sudo: true
+
+
+platforms:
+ - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
+ driver_config:
+ image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
+ platform: ubuntu
+
+suites:
+ - name: server
+ provisioner:
+ pillars-from-files:
+ rundeck.sls: tests/pillar/server.sls
+ - name: client
+ provisioner:
+ pillars-from-files:
+ rundeck.sls: tests/pillar/client.sls
+
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125