Create auditd formula
According to linked prod's we need to create fully functional
auditd formula. This formula allows install and configure auditd, as
well as generate auditd rules and install/configure audisp
plugins if necessary.
Change-Id: Ieb6c889c7fceec7281e1ad019b1f07daf689c3f7
Related-PROD: https://mirantis.jira.com/browse/PROD-20233
Related-PROD: https://mirantis.jira.com/browse/PROD-20138
diff --git a/.kitchen.yml b/.kitchen.yml
new file mode 100644
index 0000000..0e39595
--- /dev/null
+++ b/.kitchen.yml
@@ -0,0 +1,46 @@
+# vim: ft=yaml
+---
+driver:
+ name: docker
+ vm_hostname: auditd.ci.local
+
+provisioner:
+ name: salt_solo
+ salt_install: bootstrap
+ salt_bootstrap_url: https://bootstrap.saltstack.com
+ salt_version: latest
+ require_chef: false
+ log_level: error
+ formula: auditd
+ state_top:
+ base:
+ "*":
+ - auditd
+ pillars:
+ top.sls:
+ base:
+ "*":
+ - server
+ - rules
+ - audisp
+
+verifier:
+ 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'%>
+ platform: ubuntu
+
+suites:
+
+ - name: server
+ provisioner:
+ pillars-from-files:
+ server.sls: tests/pillar/server.sls
+ rules.sls: tests/pillar/rules.sls
+ audisp.sls: tests/pillar/audisp.sls
+ driver:
+ hostname: auditd.ci.local