It needs the 'repos' or 'binaries' bit of the url as well.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
distro=`python -c "exec 'import platform; print platform.linux_distribution()[0].lower()'"`
chacra_endpoint="ceph/${chacra_ref}/${distro}/{$dist}/${ARCH}"
-chacractl binary exists ${chacra_endpoint}
+chacractl exists binaries/${chacra_endpoint}
# if the binary already exists in chacra, do not rebuild
if [ $? -e 0 ] && [ "$FORCE" = false ] ; then
[ "$TEST" = true ] && chacra_ref="$vers" || chacra_ref="test"
chacra_baseurl="ceph/${chacra_ref}/${DISTRO}/${RELEASE}"
-chacractl binary exists ${chacra_baseurl}/${ARCH}
+chacractl exists binaries/${chacra_baseurl}/${ARCH}
# if the binary already exists in chacra, do not rebuild
if [ $? -e 0 ] && [ "$FORCE" = false ]; then