You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by zm...@apache.org on 2016/03/04 18:46:23 UTC

aurora git commit: Install thrift package from the offical debs.

Repository: aurora
Updated Branches:
  refs/heads/master f6506d903 -> a4e7b3a43


Install thrift package from the offical debs.

`twopercent` pointed out on IRC that due to the people.a.o change our vagrant
provisioning was broken. This ports the change from aurora-packaging to our
vagrant script.

Reviewed at https://reviews.apache.org/r/44347/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/a4e7b3a4
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/a4e7b3a4
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/a4e7b3a4

Branch: refs/heads/master
Commit: a4e7b3a43c92e97f7aa24c87a47bfb2dfcdd50cc
Parents: f6506d9
Author: Zameer Manji <zm...@apache.org>
Authored: Fri Mar 4 12:46:13 2016 -0500
Committer: Zameer Manji <zm...@apache.org>
Committed: Fri Mar 4 12:46:13 2016 -0500

----------------------------------------------------------------------
 examples/vagrant/provision-dev-cluster.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/a4e7b3a4/examples/vagrant/provision-dev-cluster.sh
----------------------------------------------------------------------
diff --git a/examples/vagrant/provision-dev-cluster.sh b/examples/vagrant/provision-dev-cluster.sh
index 7f71af2..df33a30 100755
--- a/examples/vagrant/provision-dev-cluster.sh
+++ b/examples/vagrant/provision-dev-cluster.sh
@@ -46,10 +46,11 @@ function prepare_extras() {
     popd
 
     # Install thrift, needed for code generation in the scheduler build.
-    # TODO(wfarner): Move deb file out of jfarrell's individual hosting.
-    thrift_deb=thrift-compiler_0.9.1_amd64.deb
-    wget -c http://people.apache.org/~jfarrell/thrift/0.9.1/contrib/deb/ubuntu/12.04/$thrift_deb
-    dpkg --install $thrift_deb
+    curl -sSL http://apache.org/dist/thrift/KEYS | gpg --import -
+    gpg --export --armor 66B778F9 | sudo apt-key add -
+    echo 'deb http://www.apache.org/dist/thrift/debian 0.9.1 main' > /etc/apt/sources.list.d/thrift.list
+    apt-get update
+    apt-get install thrift-compiler=0.9.1
 
     # Include build script in default PATH.
     ln -sf /home/vagrant/aurora/examples/vagrant/aurorabuild.sh /usr/local/bin/aurorabuild