#!/bin/bash

source $ENV_INIT_SCRIPT_PATH/.env
echo "Environment : $ENVIRONMENT"
echo "Cloud Provider : $CLOUD_PROVIDER"
echo "Provisioning Tool : $PROVISIONING_TOOL"

source $ENV_PATH/$ENVIRONMENT/.env
source $ENV_PATH/$ENVIRONMENT/$CLOUD_PROVIDER/$PROVISIONING_TOOL/.env

export STORAGE_PROVISION_CONFIG_FILE="$STORAGE_PROVISION_PATH/$STORAGE_PROVISIONING_TOOL/$ENVIRONMENT/$CLOUD_PROVIDER/.config.yml"


echo "Cluser Size: $CLUSTER_SIZE"

echo "Manager Count: $MANAGER_COUNT"
echo "Worker Count: $WORKER_COUNT"
echo "Storage provisioning config file: $STORAGE_PROVISION_CONFIG_FILE"


source $ENV_PATH/$ENVIRONMENT/cluster-node-names
source $ENV_PATH/$ENVIRONMENT/open_ports

echo "Random Open Ports for debug pupose"
echo "Open Ports TCP Internet [2]: ${OPEN_PORTS_TCP_INTERNET[2]}"
echo "Open Ports TCP SWARM [1]: ${OPEN_PORTS_TCP_SWARM[1]}"
echo "Open Ports UDP SWARM [0]: ${OPEN_PORTS_UDP_SWARM[0]}"
#!/bin/bash

source $ENV_INIT_SCRIPT_PATH/.env
echo "Environment : $ENVIRONMENT"
echo "Cloud Provider : $CLOUD_PROVIDER"
echo "Provisioning Tool : $PROVISIONING_TOOL"

source $ENV_PATH/$ENVIRONMENT/.env
source $ENV_PATH/$ENVIRONMENT/$CLOUD_PROVIDER/$PROVISIONING_TOOL/.env

export STORAGE_PROVISION_CONFIG_FILE="$STORAGE_PROVISION_PATH/$STORAGE_PROVISIONING_TOOL/$ENVIRONMENT/$CLOUD_PROVIDER/.config.yml"


echo "Cluser Size: $CLUSTER_SIZE"

echo "Manager Count: $MANAGER_COUNT"
echo "Worker Count: $WORKER_COUNT"
echo "Storage provisioning config file: $STORAGE_PROVISION_CONFIG_FILE"


# source $ENV_PATH/$ENVIRONMENT/cluster-node-names
source $ENV_PATH/$ENVIRONMENT/open_ports

Remove cluster node names from source command
Remove cluster node names from source command
