Sha256: ffa3e11de826885c74a99ddba0b4f09cff1062132124476dbd5b594e73921115

Contents?: true

Size: 876 Bytes

Versions: 4

Compression:

Stored size: 876 Bytes

Contents

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

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

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

  config.vm.box = 'dummy'
  config.vm.provider :rackspace do |rackspace|
    rackspace.username = ENV['DEV_RACKSPACE_USERNAME']
    rackspace.api_key = ENV['DEV_RACKSPACE_API_KEY']
    rackspace.flavor = /512MB/
    rackspace.image = /Ubuntu 12.04/
    rackspace.public_key_path = '~/.ssh/id_rsa.pub'
    # TODO: switch this to the `override.ssh.private_key_path` syntax once
    # `vagrant-rackspace` is updated.
    config.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/rackspace/Vagrantfile
vagrant-omnibus-1.4.0 test/acceptance/rackspace/Vagrantfile
vagrant-omnibus-1.3.1 test/acceptance/rackspace/Vagrantfile
vagrant-omnibus-1.3.0 test/acceptance/rackspace/Vagrantfile