Sha256: 569f1daad91cabe0719536f7235f6a0cd7368411c295962cfbad80d3ffa4805d

Contents?: true

Size: 917 Bytes

Versions: 1

Compression:

Stored size: 917 Bytes

Contents

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

VAGRANTFILE_API_VERSION = '2'

Vagrant.require_version '>= 1.8.0'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  # Using Puppet Labs official Vagrant boxes, from: https://atlas.hashicorp.com/puppetlabs
  config.vm.box = 'puppetlabs/ubuntu-14.04-64-puppet'

  config.vm.provider 'virtualbox' do |vbox|
    vbox.memory = 1024
#   vbox.cpus = 2
  end

  config.vm.provision :shell, :path => '.vagrant_puppet/init.sh'

  config.vm.provision :puppet do |puppet|
    puppet.environment_path = '.vagrant_puppet/environments'
    puppet.environment = 'vagrant'
    puppet.options = '--verbose'
  end

  config.vm.provision :serverspec do |spec|
    spec.pattern = 'serverspec/*_spec.rb'
  end

end

unless Vagrant.has_plugin?('vagrant-serverspec')
  raise "'vagrant-serverspec' is NOT installed!"
  raise "To install, run: 'vagrant plugin install vagrant-serverspec'"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-magnum-3.0.1 generator_files/vagrant/Vagrantfile.erb