Sha256: e6e0eeb48a2ab10f6d10be988ee138f1349495680ee616e66da94eed79e3d59e

Contents?: true

Size: 726 Bytes

Versions: 4

Compression:

Stored size: 726 Bytes

Contents

require 'json'
require 'elzar'

Vagrant::Config.run do |config|
  config.vm.box       = "lucid64"
  config.vm.box_url   = "http://files.vagrantup.com/lucid64.box"
  config.vm.host_name = <%= @vm_host_name.inspect %>
  config.vm.network     "172.25.5.5"
  config.vm.provision :shell, :path => "upgrade-chef.sh"
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = <%= @cookbooks_path.inspect %>
    <%= "chef.cookbooks_path.concat Elzar.vagrant_cookbooks_path" unless @local %>
    chef.roles_path = <%= @local ? 'roles'.inspect : 'Elzar.vagrant_roles_path' %>
    chef.data_bags_path = "data_bags"
    json = JSON.parse File.read('dna.json')
    chef.run_list = json['run_list']
    chef.json = json
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elzar-0.1.2 lib/elzar/templates/Vagrantfile.erb
elzar-0.1.1 lib/elzar/templates/Vagrantfile.erb
elzar-0.1.0 lib/elzar/templates/Vagrantfile.erb
elzar-0.0.2 lib/elzar/templates/Vagrantfile.erb