lib/vagrant-invade/module/provision/shell/template.erb in vagrant-invade-0.6.2 vs lib/vagrant-invade/module/provision/shell/template.erb in vagrant-invade-0.6.3

- old
+ new

@@ -1,7 +1,14 @@ - <%= machine_name %>.vm.provision "shell", path: '<%= path %>'<% if name %>, name: '<%= name %>'<% end %><% if binary %>, binary: <%= binary %><% end %><% if privileged %>, privileged: <%= privileged %><% end %> + <%= machine_name %>.vm.provision "shell", + <% data.each_with_index do |(k, v), index| %> + <% if k['args'] %> + <%= k %>: <%= v %><% unless index == data.size - 1 %>,<% end %> + <% else %> + <%= k %>: '<%= v %>'<% unless index == data.size - 1 %>,<% end %> + <% end %> + <% end %>