Sha256: fcba4baee9d5f4c5e27c8ce89fa8a7f8f70d544d187ebcf8c45869d67ef34665

Contents?: true

Size: 827 Bytes

Versions: 4

Compression:

Stored size: 827 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

    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 & 1 rubygems

Version Path
vagrant-omnibus-1.4.1 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.4.0 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.3.1 test/acceptance/aws/Vagrantfile
vagrant-omnibus-1.3.0 test/acceptance/aws/Vagrantfile