templates/Vagrantfile.erb in kitchen-vagrant_winrm-0.2.1 vs templates/Vagrantfile.erb in kitchen-vagrant_winrm-0.2.2

- old
+ new

@@ -18,9 +18,15 @@ <% end %> <% if config[:winrm_port] %> c.winrm.port = <%= config[:winrm_port] %> <% end %> +<% config[:custom_settings].each do |key, value| + value = "\"#{value}\"" if [TrueClass,FalseClass,Fixnum].include? value.class +%> + c.<%= key %> = "<%= value %>" +<% end %> + <% Array(config[:network]).each do |opts| %> c.vm.network(:<%= opts[0] %>, <%= opts[1..-1].join(", ") %>) <% end %> c.vm.synced_folder ".", "/vagrant", disabled: true