Sha256: 958b7068e3bf9a04ea99b43b33e4dace015130917ffab8761be94658057b99f6

Contents?: true

Size: 1.09 KB

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-omnibus-1.1.0 test/acceptance/virtualbox/Vagrantfile