Merge pull request #35 from salt-formulas/develop
Don't install reclass pkg out-of-the-box
diff --git a/bootstrap.sh b/bootstrap.sh
index 144f42d..5ec7067 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -531,6 +531,8 @@
echo -e "\nInstall salt-formula-${formula_service} failed.\n"
exit 1
fi
+ #Since some salt formula names contain "-" and in symlinks they should contain "_" adding replacement
+ formula_service=${formula_service//-/$'_'}
[ ! -L "${RECLASS_ROOT}/classes/service/${formula_service}" ] && \
ln -sf ${FORMULAS_PATH}/reclass/service/${formula_service} ${RECLASS_ROOT}/classes/service/${formula_service}
done