diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 16:56:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 16:56:30 -0200 |
commit | 508c51b497546827eb26557ea1fb608129db1d29 (patch) | |
tree | d4be3cc4b9e5ec20d06c059c2e526428814db4c5 /share | |
parent | 4f92fcc8f6d89e79ae9b990741d9212580ab54b6 (diff) | |
download | hydra-508c51b497546827eb26557ea1fb608129db1d29.tar.gz hydra-508c51b497546827eb26557ea1fb608129db1d29.tar.bz2 |
Deploy: verbosity
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/deploy | 5 |
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 |