resources/machine.template in zergrush_vagrant-0.0.3 vs resources/machine.template in zergrush_vagrant-0.0.4
- old
+ new
@@ -1,9 +1,10 @@
# define the machine name
config.vm.define "<%= machine_name %>" do |<%= machine_name %>|
<%= machine_name %>.vm.box_url = "<%= basebox_path %>"
<%= machine_name %>.vm.box = "<%= box_name %>"
+ <%= machine_name %>.vm.host_name = "<%= node_name %>"
<%= ssh_specifics -%>
<%= machine_name %>.vm.provider :<%= provider %> do |<%= provider %>|
<%= provider_specifics -%>
@@ -15,10 +16,12 @@
# provisioning
tasks = JSON.parse(<%= tasks_array %>)
tasks.each { |task|
if task["type"] == "chef_client" || task["type"] == "chef_solo"
- <%= machine_name %>.omnibus.chef_version = :latest
+ <%= machine_name %>.omnibus.chef_version = :latest
+ <%= machine_name %>.butcher.enabled = true
+ <%= machine_name %>.butcher.verify_ssl = false
end
<%= machine_name %>.vm.provision "#{task["type"]}" do |provisioner|
task.each do |key, value|
next if key == "type"
\ No newline at end of file