aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/deploy
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-23 16:23:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-23 16:23:09 -0300
commit0509c1d1221231e6c796021e673281765d6cd90c (patch)
tree65535c24d4073e66048be13a592304f2de1890ab /share/hydra/deploy
parent3baee42b732ad815a0bb2c7de886a2b0200b91f3 (diff)
downloadhydra-0509c1d1221231e6c796021e673281765d6cd90c.tar.gz
hydra-0509c1d1221231e6c796021e673281765d6cd90c.tar.bz2
Deploy: facts collection
Diffstat (limited to 'share/hydra/deploy')
-rwxr-xr-xshare/hydra/deploy6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index f8dbb08..f491e70 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -89,6 +89,9 @@ for node in $NODES; do
$SUDO apt-get install $DEPLOY_DEPENDENCIES -y
fi
+ # Collect facts
+ hydra_deploy_facts_collect local
+
# Run puppet
echo "Applying configuration..."
$DEPLOY_APPLY
@@ -112,6 +115,9 @@ EOF
# Create folders
hydra_deploy_mkdirs
+ # Collect facts
+ hydra_deploy_facts_collect remote
+
# Sync repository to server
echo "Syncing configuration..."
$DEPLOY_RSYNC "$RSYNC_PATH" $DEPLOY_OPTS