Skip to content

Instantly share code, notes, and snippets.

@amon-ra
Created May 7, 2015 08:42
Show Gist options
  • Save amon-ra/54f6a5070482fd87621b to your computer and use it in GitHub Desktop.
Save amon-ra/54f6a5070482fd87621b to your computer and use it in GitHub Desktop.
Vagrant salt provision fix with debian wheezy
config.vm.provision "shell" do |s|
s.inline = "echo 'deb http://debian.saltstack.com/debian wheezy-saltstack main' > /etc/apt/sources.list.d/salt.list"
s.inline = "wget -q -O- 'http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key' | apt-key add -"
s.inline = "apt-get update;apt-get install -y salt-minion"
end
@amon-ra
Copy link
Author

amon-ra commented May 7, 2015

Salt provision does not work with debian based boxes.
Add this code before salt provision in Vagrantfile

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