fix saltMaster undefined

Change-Id: I81f142aba94fdc679508e99dafb61ac87246225f
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 75c345b..aebca46 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -52,6 +52,7 @@
 _MAX_PERMITTED_STACKS = 2
 overwriteFile = "/srv/salt/reclass/classes/cluster/override.yml"
 
+def saltMaster
 
 timestamps {
     node {
@@ -178,11 +179,8 @@
                     throw new Exception("STACK_TYPE ${STACK_TYPE} is not supported")
                 }
 
-
                 // Connect to Salt master
-                def saltMaster
                 saltMaster = salt.connection(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
-
             }
 
             //