Sha256: 7d36c9f97a81c64ab68b1c30f904e417f2ed1b36ba9bf9552dc36a7a154ce269

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-omnibus-1.5.0 test/acceptance/digital_ocean/Vagrantfile