Skip to content

Instantly share code, notes, and snippets.

@jehoshua02
Created March 29, 2013 02:40
Show Gist options
  • Save jehoshua02/5268369 to your computer and use it in GitHub Desktop.
Save jehoshua02/5268369 to your computer and use it in GitHub Desktop.

Here's how I installed VirtualBox, Vagrant, and Vagrant-Salt on my Ubunut 12.10 Desktop machine ...

cd ~/tmp/vbox-vagrant-salt-test

wget http://download.virtualbox.org/virtualbox/4.2.10/virtualbox-4.2_4.2.10-84104~Ubuntu~quantal_amd64.deb
sudo dpkg -i virtualbox*.deb

wget http://files.vagrantup.com/packages/476b19a9e5f499b5d0b9d4aba5c0b16ebe434311/vagrant_x86_64.deb
sudo dpkg -i vagrant_x86_64.deb
sudo ln -s /opt/vagrant/bin/vagrant /usr/bin/vagrant

vagrant gem install vagrant-salt

wget http://tools.bonnint.net/vagrant-debian-squeeze-64-base.box
vagrant box add vagrant-debian-squeeze-64-base vagrant-debian-squeeze-64-base.box

And my vagrant file ...

Vagrant::Config.run do |config|
  config.vm.box = "vagrant-debian-squeeze-64-base"

  config.vm.network :hostonly, "192.168.100.100", :netmask => "255.255.255.0"

  config.vm.share_folder "salt_file_root", "/srv/salt", "./salt"
  config.vm.provision :salt do |salt|
    salt.run_highstate = true
  end
end

But when I run vagrant up I get this ...

$ vagrant up
There was a problem with the configuration of Vagrant. The error message(s)
are printed below:

vm:
* The provisioner 'salt' doesn't exist.
@jehoshua02
Copy link
Author

Not a good introduction to salt if you ask me ;)

@jehoshua02
Copy link
Author

I give up for tonight! :P

@jehoshua02
Copy link
Author

Uninstalled vagrant gem (gem uninstall vagrant) and installed 1.1.1 from download, as suggested on github issue.

$ sudo dpkg -i vagrant_x86_64_1.1.1.deb 
Selecting previously unselected package vagrant.
(Reading database ... 182581 files and directories currently installed.)
Unpacking vagrant (from vagrant_x86_64_1.1.1.deb) ...
Setting up vagrant (1.1.1) ...
$ vagrant --version
Vagrant version 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment