Sha256: fbb90c85feb97c340f061ce09da7cade6f3463075d7f7efa486699a8d605877e

Contents?: true

Size: 796 Bytes

Versions: 31

Compression:

Stored size: 796 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
  
  config.vm.define :<%=name%> do |node|
    bridge = ENV['VAGRANT_BRIDGE']
    bridge ||= 'eth0'
    env  = ENV['PUPPET_ENV']
    env ||= 'dev'
  
    node.vm.box = '<%=box%>' <%if(options['box_url']) %>
    <%="node.vm.box_url = '#{options['box_url']}'"%> <%end%>
    node.vm.guest = :freebsd
    node.vm.network :public_network, :bridge => bridge
    node.vm.network "private_network", ip: "10.0.1.10"
    node.vm.hostname = '<%=name%>.local'
  
    node.vm.provider :virtualbox do |vb|
      vb.customize ['modifyvm', :id, '--memory', 2048, '--cpus', 2]
    end

    node.vm.synced_folder ".", "/vagrant", :nfs => true, id: "vagrant-root"
    node.vm.provision "shell", inline: 'cd /vagrant && ./run.sh'
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
opskeleton-0.10.1 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.9 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.8 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.7 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.6 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.5 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.4 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.3 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.2 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.1 templates/puppet/vagrant_bsd.erb
opskeleton-0.9.0 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.12 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.11 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.10 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.9 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.8 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.7 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.6 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.5 templates/puppet/vagrant_bsd.erb
opskeleton-0.8.4 templates/puppet/vagrant_bsd.erb