Sha256: 71436010dd41b5d74f7fc91a6b6876977c8ebf4e313f5f0ff17d0430f8163d27
Contents?: true
Size: 924 Bytes
Versions: 1
Compression:
Stored size: 924 Bytes
Contents
require "vagrant-shell" Vagrant.configure("2") do |config| config.vm.box = "<%= node[:vagrant][:box] %>" <% if node[:vagrant][:ssh_username] %> config.ssh.username = "<%= node[:vagrant][:ssh_username] %>" <% end %> <% if node[:vagrant][:ssh_private_key_path] %> config.ssh.private_key_path = "<%= node[:vagrant][:ssh_private_key_path] %>" <% end %> <% if node[:vagrant][:provision] && node[:vagrant][:provision][:shell] %> config.vm.provision :shell, :path => "<%= node[:vagrant][:provision][:shell][:path] %>", :args => "<%= node[:vagrant][:provision][:shell][:args] %>" <% end %> config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :disabled => true config.vm.provider :shell do |shell| shell.script = "<%= node[:vagrant][:shell_script] %>" shell.run_args = "<%= node[:vagrant][:shell_args] %>" end end # vi: set ft=ruby :
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tvd-vagrant-0.0.16 | cookbooks/vagrant/templates/default/Vagrantfile.docker.erb |