Sha256: a493b04cfe537226bf4c0d97799bcd7d8149cbc977f193c73ba2473d01e9e49b

Contents?: true

Size: 779 Bytes

Versions: 10

Compression:

Stored size: 779 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|

  bridge = ENV['VAGRANT_BRIDGE']
  bridge ||= 'eth0'
  env  = ENV['PUPPET_ENV']
  env ||= 'dev'

  config.vm.box = '<%=box%>' <%if(options['box_url']) %>
  <%="config.vm.box_url = '#{options['box_url']}'"%> <%end%>
  config.vm.network :public_network, :bridge => bridge
  config.vm.hostname = '<%=name%>.local'

  config.vm.provider :virtualbox do |vb|
    vb.customize ['modifyvm', :id, '--memory', 2048, '--cpus', 2]
  end

  config.vm.provision :puppet do |puppet|
    puppet.manifests_path = 'manifests'
    puppet.manifest_file  = 'default.pp'
    puppet.options = "--modulepath=/vagrant/modules:/vagrant/static-modules --hiera_config /vagrant/hiera_vagrant.yaml --environment=#{env}"

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
opskeleton-0.6.4 templates/vagrant.erb
opskeleton-0.6.3 templates/vagrant.erb
opskeleton-0.6.2 templates/vagrant.erb
opskeleton-0.6.0 templates/vagrant.erb
opskeleton-0.5.3 templates/vagrant.erb
opskeleton-0.5.2 templates/vagrant.erb
opskeleton-0.5.1 templates/vagrant.erb
opskeleton-0.5.0 templates/vagrant.erb
opskeleton-0.4.9 templates/vagrant.erb
opskeleton-0.4.8 templates/vagrant.erb