Sha256: 9ec187892c33b290af5c8b4db5d6fa1b4ec4ac51414c567d5c4877a88c307982

Contents?: true

Size: 747 Bytes

Versions: 5

Compression:

Stored size: 747 Bytes

Contents

Vagrant.require_plugin('vagrant-omnibus')
Vagrant.require_plugin('vagrant-digitalocean')

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

  config.vm.box = 'digital_ocean'
  config.vm.synced_folder '.', '/vagrant', :disabled => true

  config.vm.provider :digital_ocean do |provider, override|
    provider.client_id = ENV['DO_CLIENT_ID']
    provider.api_key = ENV['DO_API_KEY']
    provider.region = 'New York 1'
    provider.size = '512MB'
    provider.image = 'Ubuntu 12.04 x64 Server'
    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

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-omnibus-1.2.1 test/acceptance/digital_ocean/Vagrantfile
vagrant-omnibus-1.2.0 test/acceptance/digital_ocean/Vagrantfile
vagrant-omnibus-1.1.2 test/acceptance/digital_ocean/Vagrantfile
vagrant-omnibus-1.1.1 test/acceptance/digital_ocean/Vagrantfile
vagrant-omnibus-1.1.0 test/acceptance/digital_ocean/Vagrantfile