Set default RECLASS_VERSIOn to 1.5.4
Use 1.5.4 reclass version by default for
* generate-cookiecutter-products
* test-cookiecutter-reclass
* test-salt-model-node
Change-Id: I1be11b12539959265f76688d11a84d3403c62004
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index 5fe02db..d11f7d4 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -4,6 +4,11 @@
python = new com.mirantis.mk.Python()
saltModelTesting = new com.mirantis.mk.SaltModelTesting()
+def reclassVersion = '1.5.4'
+if (common.validInputParam('RECLASS_VERSION')) {
+ reclassVersion = RECLASS_VERSION
+}
+
def generateSaltMaster(modEnv, clusterDomain, clusterName) {
def nodeFile = "${modEnv}/nodes/cfg01.${clusterDomain}.yml"
def nodeString = """classes:
@@ -101,7 +106,7 @@
testEnv,
'pkg',
DISTRIB_REVISION,
- 'master',
+ reclassVersion,
0,
false,
false,