Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seven Zip EXE not quoted on windows, command not found. #172

Closed
reijop opened this issue Nov 18, 2016 · 1 comment
Closed

Seven Zip EXE not quoted on windows, command not found. #172

reijop opened this issue Nov 18, 2016 · 1 comment

Comments

@reijop
Copy link

reijop commented Nov 18, 2016

Cookbook version

2.1.0

Chef-client version

12.6

Platform Details

W2k8R2

Scenario:

use the ark LWRP

Steps to Reproduce:

Unzip anything on windows

Expected Result:

Bits on disk

Actual Result:

Cookbook version 2.1.0 has the following fatal bug on windows, upon calling the seven-zip executable

       ---- Begin output of c:\Program Files\7-Zip\7z.exe e "C:\Users\CLOUD-~1\AppData\Local\Temp\kitchen\cache/machineagent-bundle-64bit-windows-4.2.6.1.zip" -o"C:/Users/CLOUD-~1/AppData/Local/Temp/d20161117-2248-1w0z7wo" -uy && for /f %1 in ('dir /ad /b "C:\Users\CLOUD-~1\AppData\Local\Temp\d20161117-2248-1w0z7wo"') do C:\Windows\System32\xcopy "C:\Users\CLOUD-~1\AppData\Local\Temp\d20161117-2248-1w0z7wo\%1" "" /s /e ----
       STDOUT:
       STDERR: 'c:\Program' is not recognized as an internal or external command,
       operable program or batch file.
@reijop
Copy link
Author

reijop commented Nov 18, 2016

Dupe of #166, closing. Thank you @sgtcoolguy.

@reijop reijop closed this as completed Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant