# -*- mode: ruby -*- # vi: set ft=ruby : # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # APACHE THRIFT PROVISIONING SCRIPT ############################################################## # This script is used to configure the base Centos 6.5 # Vagrant box for Apache Thrift compiler and lib builds. # The base box is Centos 6.5 with no additional packages # except those required to support VirtualBox Guest tools: # perl, dkms, kernel-devel and the "Development Tools" group. # The epel repo was also added along with the # yum-plugin-protectbase package to prefer base repo packages. # The script below provisions ALL languages. This will take # time. You can greatly reduce the build time by commenting # out the LIB provisioning for uneeded language libraries. # Expect full provisioning to take 30 minutes on a fast # machine with an excellent Internet connection (and another # 15 minutes for the build). # # Machine accounts: # - User: vagrant/vagrant # - Admin: root/vagrant # Vagrant public ssh key also installed ############################################################## $build_and_test = <