Do not install salt-formula-auditd for 2018.4.0 buildID
Closes-Bug: PROD-22681 (PROD:22681)
Change-Id: I283921d80d372edd1deb0f1f1252d5991b88c492
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 553029e..0924951 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -25,7 +25,7 @@
// options from CC contexts
// currently, just mix them together in one set
def testCfg01ExtraFormulas = 'glusterfs jenkins logrotate maas ntp rsyslog fluentd telegraf prometheus ' +
- 'grafana backupninja auditd'
+ 'grafana backupninja'
timeout(time: 2, unit: 'HOURS') {
@@ -58,6 +58,10 @@
user = env.BUILD_USER_ID
}
+ if (mcpVersion != '2018.4.0') {
+ testCfg01ExtraFormulas += ' auditd'
+ }
+
currentBuild.description = clusterName
print("Using context:\n" + COOKIECUTTER_TEMPLATE_CONTEXT)