print salt-master config on bootstrap

Change-Id: I5fed461e83f4f5c5503171e6d688460065025985
diff --git a/bootstrap.sh b/bootstrap.sh
index 8ce0885..89d1fb1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -123,6 +123,10 @@
     echo -e "${MAGENTA}[WARN] $* ${NC}"
 }
 
+log_debug() {
+    echo -e "${CYAN}[WARN] $* ${NC}"
+}
+
 log_err() {
     echo -e "${RED}[ERROR] $* ${NC}" >&2
 }
@@ -295,6 +299,8 @@
   CONFIG=$(find ${RECLASS_ROOT}/nodes -name ${MINION_ID}.yml| grep yml | tail -n1)
   CONFIG=${CONFIG:-${RECLASS_ROOT}/nodes/_generated/${MINION_ID}.yml}
   if [[ $SALT_MASTER_BOOTSTRAP_MINIMIZED =~ ^(True|true|1|yes)$ || ! -f "${CONFIG}" ]]; then
+  log_warn "Salt Master node specification has not been found in model."
+  log_warn "Creating temporary cfg01 configuration for bootstrap: ${CONFIG}"
   cat <<-EOF > ${CONFIG}
 	classes:
 	- cluster.${CLUSTER_NAME}.infra.config
@@ -314,10 +320,6 @@
 	    system:
 	      name: ${HOSTNAME:-cfg01}
 	      domain: ${DOMAIN:-$CLUSTER_NAME.local}
-	  #reclass:
-	  #  storage:
-	  #    data_source:
-	  #      engine: local
 	# ########
 EOF
 
@@ -342,6 +344,9 @@
 		# vim: ft=yaml sw=2 ts=2 sts=2
 EOF
   fi
+
+  log_debug "Salt Master node config yaml:"
+  log_debug "$(cat ${CONFIG})"
 }
 
 configure_salt_minion()