deploy.sh: actually return & use the module path

This commit is contained in:
2017-01-12 16:56:06 +01:00
parent 0b6584e5b1
commit c381b45bfc

View File

@@ -42,15 +42,17 @@ EOT
exit 1 exit 1
fi fi
# Find Pillar echo $MODULE_DIR
find_module pillar
} }
# Find Attract # Find our modules
find_module attract PILLAR_DIR=$(find_module pillar)
ATTRACT_DIR=$(find_module attract)
FLAMENCO_DIR=$(find_module flamenco)
# Find Flamenco echo "Pillar : $PILLAR_DIR"
find_module flamenco echo "Attract : $ATTRACT_DIR"
echo "Flamenco: $FLAMENCO_DIR"
# SSH to cloud to pull all files in # SSH to cloud to pull all files in
function git_pull() { function git_pull() {