Sha256: c4b581d6cc17a566e83068dc742937f83f1dfc488ce52a49224f32263666a987

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

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

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

Vagrant.configure("2") do |config|

  config.vm.define :new_chef do |new_chef_config|
    new_chef_config.vm.box = "canonical-ubuntu-12.04"
    new_chef_config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"

    new_chef_config.omnibus.chef_version = :latest

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

  config.vm.define :old_chef do |old_chef_config|
    old_chef_config.vm.box = "opscode-centos-6.4"
    old_chef_config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box"

    old_chef_config.omnibus.chef_version = '10.24.0'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-omnibus-1.1.2 test/acceptance/virtualbox/Vagrantfile
vagrant-omnibus-1.1.1 test/acceptance/virtualbox/Vagrantfile