salt formula for watchdog (#1)
* Initial commit
* Initial structure changed, server.sls added
* watchdog salt formula added
* Minor fixes and fix kitchen tests
* Fix "defined"
* Fix issues found by Filip
* Fixing issues found during review...
* TravisCI fix
* Fix based on reviews...
* Fix schema tests
* Fix schema tests
* Fix schema test again
* Fix schema test one more time
* replace salt_run with salt-call
* set modules path param
* Add installation of jsonschema
* Adding minimal schema
* Fix filename
* Filenames fixed
* Fix file name
* Proper schema added
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..44a40e0
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,51 @@
+---
+driver:
+ name: docker
+ hostname: watchdog.ci.local
+ #socket: tcp://127.0.0.1:2376
+ use_sudo: false
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ require_chef: false
+ formula: watchdog
+ log_level: info
+ state_top:
+ base:
+ "*":
+ - watchdog
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - watchdog
+ grains:
+ noservices: True
+
+
+platforms:
+ - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
+ driver_config:
+ image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
+ platform: ubuntu
+
+verifier:
+ name: inspec
+ sudo: true
+
+
+suites:
+ - name: server_single
+ provisioner:
+ pillars-from-files:
+ watchdog.sls: tests/pillar/server.sls
+
+ - name: server_kernel_module
+ provisioner:
+ pillars-from-files:
+ watchdog.sls: tests/pillar/server_kernel_module.sls
+
+# vim: ft=yaml sw=2 ts=2 sts=2 tw=125