Yeah, make sense, I'll fix that
El may 16, 2013 7:46 AM, "Shawn Neal" <notifications@github.com> escribió:

> In lib/vagrant-windows/communication/winrmcommunicator.rb:
>
> >          execute <<-EOH
> >            $base64_string = Get-Content \"#{file_name}\"
> >            $bytes  = [System.Convert]::FromBase64String($base64_string)
> > -          $new_file = [System.IO.Path]::GetFullPath(\"#{to}\")
> > +          $new_file = [System.IO.Path]::GetFullPath(\"#{to}.ps1\")
>
> Adding ".ps1" to any file upload will break other parts of the system. For
> example, the Chef provisioner uploads a file called "solo.rb", it should
> not be renamed "solo.rb.ps1".
>
> DEBUG winrmcommunicator: Uploading:
> /var/folders/z0/83wgqhhj04d3wmk5wrggk5900000gn/T/vagrant20130515-99727-6lta1z
> to /tmp/vagrant-chef-1/solo.rb
>
> If the file being uploaded needs a "ps1" extension then the provisioner
> needs to add that before calling upload.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/WinRb/vagrant-windows/pull/41/files#r4256359>
> .
>