Adding kitchen test
Change-Id: I37f586a1bd156061435d6db9b9efe71d1f8ac5ea
Related-PROD: PROD-22798
diff --git a/.kitchen.yml b/.kitchen.yml
index 81bf1c9..e88ea39 100644
--- a/.kitchen.yml
+++ b/.kitchen.yml
@@ -8,7 +8,7 @@
name: salt_solo
salt_install: bootstrap
salt_bootstrap_url: https://bootstrap.saltstack.com
- salt_version: latest
+ salt_version: <%=ENV['SALT_VERSION'] || 'latest'%>
require_chef: false
log_level: error
formula: powerdns
@@ -28,11 +28,10 @@
name: inspec
sudo: true
-
platforms:
- name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %>
driver_config:
- image: <%=ENV['PLATFORM'] || 'epcim/salt:saltstack-ubuntu-xenial-salt-stable'%>
+ image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%>
platform: ubuntu
suites:
@@ -41,4 +40,10 @@
provisioner:
pillars-from-files:
powerdns.sls: tests/pillar/server.sls
+
+ - name: server_mysql_backend
+ provisioner:
+ pillars-from-files:
+ powerdns.sls: tests/pillar/server_mysql.sls
+
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125