Sha256: 32f0308b332e2b96513c9f11ee681406c0f103e131f3a49815ade8fff622ba0b

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = 2

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = 'hashicorp/precise64'

  config.vm.network :forwarded_port, guest: 3000, host: 3000

  config.vm.provider 'virtualbox' do |v|
    v.memory = <%= @memory == 0 ? 2048 : (@memory * 1024) %>
    v.cpus = <%= @cpus == 0 ? 1 : @cpus %>
  end

  config.vm.provision 'ansible' do |ansible|
    ansible.playbook = 'config/ansible/playbooks/playbook.yml'
    ansible.limit = 'default'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-ahoy-0.0.2 lib/generators/ahoy/templates/_Vagrantfile
rails-ahoy-0.0.1 lib/generators/ahoy/templates/_Vagrantfile