summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-20 16:56:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-20 16:56:30 -0200
commit508c51b497546827eb26557ea1fb608129db1d29 (patch)
treed4be3cc4b9e5ec20d06c059c2e526428814db4c5 /share
parent4f92fcc8f6d89e79ae9b990741d9212580ab54b6 (diff)
downloadhydra-508c51b497546827eb26557ea1fb608129db1d29.tar.gz
hydra-508c51b497546827eb26557ea1fb608129db1d29.tar.bz2
Deploy: verbosity
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