Avoid to install reclass out of install_reclass fn
In order to support bootstrap with multiple versions of reclass.
Reclass installed from PKG resource conflicts with one installed with pip/git
diff --git a/bootstrap.sh b/bootstrap.sh
index a6e18cd..d7ce71b 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -249,9 +249,8 @@
if ! grep '127.0.1.2.*salt' /etc/hosts; then
echo "127.0.1.2 salt" | $SUDO tee -a /etc/hosts >/dev/null
fi
-
- which reclass || $SUDO $PKGTOOL install -y reclass
-
+
+ # DEPRECATED, should be removed or moved to salt master specific function
which reclass-salt || {
test -e /usr/share/reclass/reclass-salt && {
ln -fs /usr/share/reclass/reclass-salt /usr/bin