# Load provision configuration
function hydra_provision_config_load {
+ local domain="`facter domain`"
+
if [ ! -z "$1" ]; then
if [ -f "$1" ]; then
echo "Using configuration from file $1..."
elif [ -f "$1.conf" ]; then
echo "Using configuration from file $1.conf..."
source "$1.conf"
+ elif [ -f "$1.$domain.conf" ]; then
+ echo "Using configuration from file $1.$domain.conf..."
+ source "$1.$domain.conf"
elif [ -f "$HYDRA_FOLDER/config/provision/$1" ]; then
echo "Using configuration from $HYDRA_FOLDER/config/provision/$1..."
source "$HYDRA_FOLDER/config/provision/$1"