Sha256: c8ac589298e309bd1da8a0d8292c4359ad2c2867b01b1801384335937fd68d9a

Contents?: true

Size: 982 Bytes

Versions: 3

Compression:

Stored size: 982 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile generated with https://github.com/afaundez/vagrant-templated

["vagrant-omnibus", "vagrant-berkshelf"].each do |plugin_name|
  unless Vagrant.has_plugin? plugin_name
    raise "#{plugin_name} plugin is required. Please run `vagrant plugin install #{plugin_name}`"
  end
end

Vagrant.configure('2') do |config|
  config.vm.box = 'bento/ubuntu-16.04'
  config.omnibus.chef_version = :latest
  config.vm.provision :chef_solo do |chef|
    chef.add_recipe 'apt'
    chef.add_recipe 'ruby_build'
    chef.add_recipe 'ruby_rbenv::user'
    
    chef.json = {
      "rbenv": {
        "user_installs": [
          {
            "user": "vagrant",
            "rubies": [
              "2.3.4"
            ],
            "global": "2.3.4",
            "gems": {
              "2.3.4": [
                {
                  "name": "bundler"
                }
              ]
            }
          }
        ]
      }
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-templated-0.1.4 Vagrantfile
vagrant-templated-0.1.3 Vagrantfile
vagrant-templated-0.1.2 Vagrantfile