Sha256: 23d6e66e92192abaf25358c7c9c5522f1e1f63e95829f30af27a7487dfcd2dbd
Contents?: true
Size: 1.91 KB
Versions: 4
Compression:
Stored size: 1.91 KB
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = '2' Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define 'centos62' do |c| c.vm.box = 'jstoneham/rflow-centos62' end config.vm.define 'centos64' do |c| c.vm.box = 'box-cutter/centos64' end config.vm.define 'centos65' do |c| c.vm.box = 'chef/centos-6.5' end config.vm.synced_folder '.', '/rflow' # bring over rflow examples; use rsync so it's safe to create IPCs in the rflow-examples directory # (that is, avoid NFS) # run 'vagrant rsync-auto' to get syncing to happen automatically config.vm.synced_folder '../rflow_examples', '/rflow_examples', type: 'rsync', rsync__exclude: '.git/' config.vm.synced_folder '../rflow-components-http', '/rflow-components-http' # forward http for rflow testing config.vm.network 'forwarded_port', guest: 8000, host: 8000 # install RPM dependencies for rflow and zeromq config.vm.provision 'shell', privileged: true, inline: <<-EOS curl -O https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm yum -y install libyaml-devel patch libffi-devel glibc-headers autoconf gcc-c++ glibc-devel readline-devel zlib-devel openssl-devel automake libtool bison git sqlite-devel rpm-build libuuid-devel vim EOS # build zeromq as vagrant user config.vm.provision 'shell', privileged: false, inline: <<-EOS curl -O http://download.zeromq.org/zeromq-3.2.4.tar.gz rpmbuild -tb zeromq-3.2.4.tar.gz EOS # install zeromq config.vm.provision 'shell', privileged: true, inline: <<-EOS rpm -ivh ~vagrant/rpmbuild/RPMS/x86_64/zeromq-* EOS # set up RVM and bundler config.vm.provision 'shell', privileged: false, inline: <<-EOS rm -f .profile curl -sSL https://get.rvm.io | bash -s stable source .rvm/scripts/rvm rvm install `cat /rflow/.ruby-version` cd /rflow bundle update EOS end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rflow-1.3.0 | Vagrantfile |
rflow-1.3.0a1 | Vagrantfile |
rflow-1.2.0 | Vagrantfile |
rflow-1.1.0 | Vagrantfile |