This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "centos7-updated-20150209" | |
config.vm.box_url = "https://www.dropbox.com/s/ojfambfh4m40c0t/centos7-updated-20150209.box?dl=1" | |
config.vm.provision :fabric do |fabric| | |
fabric.fabfile_path = "./provision.py" | |
fabric.tasks = ["execute"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from fabric.api import run, sudo, cd | |
from fabric.contrib.files import sed, append, contains | |
def execute(): | |
update() | |
rbenv_install() | |
ruby_and_rails_install() | |
all_port_open() |
NewerOlder