Sha256: ca345e77a53eea8e8b90327c2699b0146df415113724fc02c82915df4af1c6bf

Contents?: true

Size: 853 Bytes

Versions: 4

Compression:

Stored size: 853 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

# plugins don't seem to be auto-loaded from the bundle
require 'vagrant-omnibus'
require 'vagrant-aws'

Vagrant.configure("2") do |config|
  config.omnibus.chef_version = '11.4.0'

  config.vm.box = "dummy"
  config.vm.provider :aws do |aws, override|
    aws.access_key_id = ENV['DEV_AWS_ACCESS_KEY_ID']
    aws.secret_access_key = ENV['DEV_AWS_SECRET_ACCESS_KEY']
    aws.keypair_name = ENV['USER']

    aws.instance_type = "m1.large"
    aws.ami = "ami-2efa9d47" # Ubuntu 12.04 LTS 64-bit instance root store
    aws.ssh_username = "ubuntu"

    override.ssh.username = "ubuntu"
    override.ssh.private_key_path = "~/.ssh/id_rsa"
  end

  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = File.expand_path("../../../support/cookbooks", __FILE__)
    chef.add_recipe "chef-inator"
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
vagrant-puppet-install-1.0.0 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.1.0 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.0.2 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.0.1 test/acceptance/aws/Vagrantfile