Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Created October 24, 2012 12:17
Show Gist options
  • Save benhosmer/3945761 to your computer and use it in GitHub Desktop.
Save benhosmer/3945761 to your computer and use it in GitHub Desktop.
My Sample Salty-Vagrant Vagrantfile.
Vagrant::Config.run do |config|
config.vm.box = "bensprecise64"
config.vm.network :hostonly, "192.168.33.19"
## Use all the defaults:
config.vm.provision :salt do |salt|
salt.run_highstate = true
## Optional Settings:
salt.minion_config = "salt/minion.conf"
## Only Use these with a masterless setup to
## load your state tree:
salt.salt_file_root_path = "salt/roots/salt"
salt.salt_pillar_root_path = "salt/roots/pillar"
## If you have a remote master setup, you can add
## your preseeded minion key
# salt.master = true
# salt.minion_key = "salt/key/testing.pem"
# salt.minion_pub = "salt/key/testing.pub"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment