Skip to content

Commit

Permalink
Merge pull request #330 from yvovandoorn/yvandoorn/fixWinRMAlwaysAString
Browse files Browse the repository at this point in the history
For WinRM options, only treat strings as strings.
  • Loading branch information
tas50 authored Oct 10, 2017
2 parents 4885193 + a31a352 commit cdebe04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/Vagrantfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ Vagrant.configure("2") do |c|
<% end %>
<% if config[:winrm] %>
<% config[:winrm].each do |key, value| %>
c.winrm.<%= key %> = "<%= value %>"
<% if value.is_a? String %>
c.winrm.<%= key %> = "<%= value%>"
<% else %>
c.winrm.<%= key %> = <%= value%>
<% end %>
<% end %>
<% end %>

Expand Down

0 comments on commit cdebe04

Please sign in to comment.