# -*- mode: ruby -*- # vi: set ft=ruby : # This file is for use by Vagrant (http://www.vagrantup.com/). # It will establish a debian-based (Ubuntu) virtual machine for development. # The virtual machine environment attempts to match the production environment # as closely as possible. # This file was generated by `vagrant up` and consequently modified. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" # Copy the vagrant SSH key into the VM so vagrant can SSH to localhost within # the VM. Continued in the shell script below. # http://serverfault.com/questions/491343/how-can-i-move-my-deploy-key-into-vagrant#comment549259_491345 git_ssh_key = File.read(ENV['HOME'] + '/.vagrant.d/insecure_private_key'); # build a shell script that installs prereqs, copies over the host secrets, # configures the database, sets up the user/group associations, creates a self # signed SSL cert, pulls in the code from the host machine, sets up some # external dependency configs, and then runs fabric. shellscript = <