aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/deploy5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index 2927920..6ae0e10 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -32,6 +32,7 @@ fi
for node in $NODES; do
if [ -d "$node" ]; then
echo "Deploying to $node folder..."
+ echo ""
# Setup deploy environment
hydra_deploy_setup folder $FOLDER
@@ -51,12 +52,14 @@ for node in $NODES; do
# Copy hiera configuration
hydra_deploy_copy_secrets folder
+ echo ""
# Run puppet, overriding FQDN
echo "Applying configuration..."
FACTER_domain=$DOMAIN FACTER_hostname=$HOSTNAME FACTER_fqdn=$HOSTNAME.$DOMAIN $DEPLOY_APPLY
elif [ "$node" == "localhost" ] || [ "$node" == "`facter fqdn`" ] || [ "$node" == "`facter hostname`" ]; then
echo "Deploying to localhost..."
+ echo ""
# Setup deploy environment
hydra_deploy_setup
@@ -71,6 +74,7 @@ for node in $NODES; do
$DEPLOY_APPLY
else
echo "Deploying to $node..."
+ echo ""
# Setup deploy environment
hydra_deploy_setup remote $node
@@ -95,6 +99,7 @@ EOF
# Copy hiera configuration
hydra_deploy_copy_secrets remote
+ echo ""
# Run puppet
echo "Applying configuration..."