Skip to content

Instantly share code, notes, and snippets.

/VagrantFile Secret

Created November 6, 2015 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e0037aabb2e82c48fa8b to your computer and use it in GitHub Desktop.
Save anonymous/e0037aabb2e82c48fa8b to your computer and use it in GitHub Desktop.
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'ubuntu/trusty32'
config.vm.network 'forwarded_port', guest: 6667, host: 6667
config.vm.network 'forwarded_port', guest: 6697, host: 6697
config.vm.network 'forwarded_port', guest: 8000, host: 8000
config.vm.provider 'virtualbox' do |vb|
vb.customize ['modifyvm', :id, '--ioapic', 'on']
vb.customize ['modifyvm', :id, '--memory', '2048']
vb.customize ['modifyvm', :id, '--cpus', '4']
end
config.vm.synced_folder 'salt/roots/', '/srv/salt/'
config.vm.provision :salt do |salt|
salt.minion_config = 'salt/minion'
salt.run_highstate = true
salt.colorize = true
salt.verbose = true
salt.bootstrap_options = '-F -c /tmp/ -P'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment