]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ask shaman.ceph.com which chacra instance to use for ceph-dev-build 421/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 2 Aug 2016 19:45:14 +0000 (14:45 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 2 Aug 2016 19:56:46 +0000 (14:56 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-build/build/setup

index 388252bd3dfb546a60167f33cb60bf91b8746d62..baf92bd88f78fa6c5098d3956a39fb5ed798f6ea 100644 (file)
@@ -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