avoid vagrant by default
diff --git "a/\173\173cookiecutter.project_name\175\175/.kitchen.docker.yml" "b/\173\173cookiecutter.project_name\175\175/.kitchen.docker.yml"
index fce735f..37cb6a3 100644
--- "a/\173\173cookiecutter.project_name\175\175/.kitchen.docker.yml"
+++ "b/\173\173cookiecutter.project_name\175\175/.kitchen.docker.yml"
@@ -1,11 +1,12 @@
---
driver:
name: docker
- #socket: tcp://127.0.0.1:2376
hostname: {{ cookiecutter.kitchen_formula }}.ci.local
+ #socket: tcp://127.0.0.1:2376
use_sudo: false
+
provisioner:
name: salt_solo
salt_install: bootstrap
@@ -23,7 +24,38 @@
"*":
- {{ cookiecutter.kitchen_formula }}
grains:
- noservices: True
+ noservices: {{ 'True' if cookiecutter.kitchen_driver =='docker' else 'False' }}
+{%- if cookiecutter.kitchen_driver =='docker' %}
+
+
+platforms:
+ - name: ubuntu-14.04
+ - name: ubuntu-16.04
+ - name: centos-7.1
+
+
+verifier:
+ name: {{ cookiecutter.kitchen_verifier }}
+ sudo: true
+
+
+suites:
+ {%- if cookiecutter.kitchen_suites == "" %}
+ - name: default
+ # provisioner:
+ # pillars-from-files:
+ # {{ cookiecutter.kitchen_formula }}.sls: tests/pillar/default.sls
+ {%- else %}
+ {%- for suite in cookiecutter.kitchen_suites.split() %}
+
+ - name: {{ suite }}
+ provisioner:
+ pillars-from-files:
+ {{ cookiecutter.kitchen_formula }}.sls: tests/pillar/{{suite}}.sls
+ {%- endfor %}
+ {%- endif %}
+
+{%- endif %}
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125