From: Andrew Schoen Date: Tue, 2 Aug 2016 19:45:14 +0000 (-0500) Subject: ask shaman.ceph.com which chacra instance to use for ceph-dev-build X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F421%2Fhead;p=ceph-build.git ask shaman.ceph.com which chacra instance to use for ceph-dev-build Signed-off-by: Andrew Schoen --- diff --git a/ceph-dev-build/build/setup b/ceph-dev-build/build/setup index 388252bd..baf92bd8 100644 --- a/ceph-dev-build/build/setup +++ b/ceph-dev-build/build/setup @@ -69,5 +69,7 @@ esac pkgs=( "chacractl>=0.0.4" ) install_python_packages "pkgs[@]" +# ask shaman which chacra instance to use +chacra_url=`curl -u $SHAMAN_API_USER:$SHAMAN_API_KEY https://shaman.ceph.com/api/nodes/next/` # create the .chacractl config file using global variables -make_chacractl_config +make_chacractl_config $chacra_url