Merge "Install auditd if enabled"
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) {