Fix Powerdns api key rendering
also added simple kitchen tests, to prevent such issues
to appear in future.
Change-Id: Idd8a6ce7cb37e913c24c8911c547d4346324c5ea
Related-Prod: OSCORE-286
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..3af6abf
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,44 @@
+---
+driver:
+ name: docker
+ hostname: powerdns.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: powerdns
+ grains:
+ noservices: True
+ state_top:
+ base:
+ "*":
+ - powerdns
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - powerdns
+
+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:
+ powerdns.sls: tests/pillar/server.sls
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125