Sha256: bee7385bfdd1addea9b499c2693430e6bb6d6813ff62b0a15a383b6bad17b45c

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

require "vagrant-aws"

Vagrant.configure("2") do |config|
  config.vm.box = "<%= node[:vagrant][:box] %>"
  <% if node[:vagrant][:provision] && node[:vagrant][:provision][:shell] %>
  config.vm.provision :shell, :path => "<%= node[:vagrant][:provision][:shell][:path] %>"
  <% end %>

  config.vm.provider :aws do |aws|
    aws.keypair_name = "<%= node[:vagrant][:keypair_name] %>"
    aws.instance_type = "<%= node[:vagrant][:instance_type] %>"
    aws.ssh_username = "<%= node[:vagrant][:ssh_username] %>"
    aws.ssh_private_key_path = "<%= node[:vagrant][:ssh_private_key_path] %>"
  end
end

# vi: set ft=ruby :

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tvd-vagrant-0.0.13 cookbooks/vagrant/templates/default/Vagrantfile.aws.erb