-
-
Save devdave/e8c02d8db77012e025f8 to your computer and use it in GitHub Desktop.
This file contains 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
Vagrant.configure("2") do |config| | |
config.vm.box = 'raring64' | |
config.vm.box_url = 'https://dl.dropboxusercontent.com/u/3428571/raring64.box' | |
config.vm.hostname = "pytell.local" | |
config.vm.synced_folder "salt/", "/srv/salt" # Notice this difference | |
$saltInstallScript = <<SCRIPT | |
mkdir -p ~/tmp | |
cd ~/tmp | |
wget -O salt-bootstrap.sh http://bootstrap.saltstack.org | |
sudo apt-get install python-software-properties -y | |
sudo sh salt-bootstrap.sh -P | |
SCRIPT | |
config.vm.provision :shell, :inline => $saltInstallScript, :args => "" | |
config.vm.provision :salt do |s| | |
s.minion_config = "salt/minion" | |
s.verbose = true | |
s.run_highstate = true | |
s.bootstrap_options = "-P" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try changing line 20 to: