Sha256: cafe36df1b9eb5ca965a65cb87d46a283bcf583cb9f06f6fd6c3115e7b812390

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

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 'timezone-ii'
    chef.add_recipe 'ruby_build'
    chef.add_recipe 'ruby_rbenv::user'
    chef.add_recipe 'nodejs'
    chef.add_recipe 'postgresql::server'
    
    chef.json = {
      "tz": "UTC",
      "rbenv": {
        "user_installs": [
          {
            "user": "vagrant",
            "rubies": [
              "2.4.1"
            ],
            "global": "2.4.1",
            "gems": {
              "2.4.1": [
                {
                  "name": "bundler"
                }
              ]
            }
          }
        ]
      },
      "postgresql": {
        "password": {
          "postgres": "password"
        }
      }
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-templated-0.1.5 spec/tmp/Vagrantfile
vagrant-templated-0.1.4 spec/tmp/Vagrantfile
vagrant-templated-0.1.3 spec/tmp/Vagrantfile