summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/deploy5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index 3615776..0b270b6 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -38,6 +38,7 @@ for node in $NODES; do
hydra_deploy_mkdirs
# Sync repository to server
+ echo "Syncing configuration..."
$DEPLOY_RSYNC "$RSYNC_PATH" $DEPLOY_OPTS
# Copy hiera configuration
@@ -49,6 +50,7 @@ for node in $NODES; do
fi
# 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..."
@@ -62,6 +64,7 @@ for node in $NODES; do
done
# Run puppet
+ echo "Applying configuration..."
$DEPLOY_APPLY
else
echo "Deploying to $node..."
@@ -71,6 +74,7 @@ for node in $NODES; do
hydra_deploy_mkdirs
# Sync repository to server
+ echo "Syncing configuration..."
$DEPLOY_RSYNC "$RSYNC_PATH" $DEPLOY_OPTS
# Copy hiera configuration
@@ -88,6 +92,7 @@ for node in $NODES; do
EOF
# Run puppet
+ echo "Applying configuration..."
$DEPLOY_APPLY
fi
done