aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydra/deploy')
-rwxr-xr-xshare/hydra/deploy11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index 093b723..32dc700 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -66,6 +66,10 @@ for node in $NODES; do
# Create folders
hydra_deploy_mkdirs
+ # Ensure we have a compatible hydra suite
+ #hydra $HYDRA install $node
+ DESTDIR="$FOLDER" hydractl install
+
# Sync repository to server
echo "Syncing configuration..."
$DEPLOY_RSYNC "$RSYNC_PATH" $DEPLOY_OPTS
@@ -100,6 +104,10 @@ for node in $NODES; do
$SUDO apt-get install $DEPLOY_DEPENDENCIES -y
fi
+ # Ensure we have a compatible hydra suite
+ #hydra $HYDRA install $node
+ hydractl install
+
# Collect facts
hydra_deploy_facts_collect local
@@ -124,6 +132,9 @@ for node in $NODES; do
continue
fi
+ # Ensure we have a compatible hydra suite
+ hydra $HYDRA install $node
+
# Check remote environment
$HYDRA_CONNECT $FQDN <<EOF
##### BEGIN REMOTE SCRIPT #####