update cookiecutter templates, modify kitchen init script to use git repo as base for source data
diff --git "a/\173\173cookiecutter.project_name\175\175/.kitchen.yml" "b/\173\173cookiecutter.project_name\175\175/.kitchen.yml"
new file mode 100644
index 0000000..188c204
--- /dev/null
+++ "b/\173\173cookiecutter.project_name\175\175/.kitchen.yml"
@@ -0,0 +1,62 @@
+---
+driver:
+ name: {{ cookiecutter.kitchen_driver }}
+{%- if cookiecutter.kitchen_driver == 'docker' %}
+ hostname: {{ cookiecutter.kitchen_formula }}.ci.local
+ use_sudo: false
+{%- elif cookiecutter.kitchen_driver == 'vagrant' %}
+ vm_hostname: {{ cookiecutter.kitchen_formula }}.ci.local
+ use_sudo: false
+ customize:
+ memory: 512
+{%- endif %}
+
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ formula: {{ cookiecutter.kitchen_formula }}
+ log_level: info
+ state_top:
+ base:
+ "*":
+ - {{ cookiecutter.kitchen_formula }}
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - {{ cookiecutter.kitchen_formula }}
+ grains:
+ noservices: {{ 'True' if cookiecutter.kitchen_driver =='docker' else 'False' }}
+
+
+verifier:
+ name: {{ cookiecutter.kitchen_verifier }}
+ sudo: true
+
+
+platforms:
+ - name: ubuntu-14.04
+ - name: ubuntu-16.04
+ - name: centos-7.1
+
+
+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 %}
+
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125