Install auditd if enabled
Change-Id: I647805f19689adfc500940397c38cdeb2f1f2396
Closes-Bug: https://mirantis.jira.com/browse/PROD-20860
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 613f666..41ec1d0 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -62,6 +62,11 @@
if (salt.testTarget(master, 'I@logrotate:server')) {
salt.enforceState(master, 'I@logrotate:server', 'logrotate')
}
+
+ // Install and configure auditd
+ if (salt.testTarget(master, 'I@auditd:service')) {
+ salt.enforceState(master, 'I@auditd:service', 'auditd')
+ }
}
def installFoundationInfraOnTarget(master, target, staticMgmtNet=false) {