Unzip a file in windows using chef


#1

Anybody has sample script to unzip a file in windows using chef? i don’t have
winzip installed so the batch resource does not seem to help.

Thanks


#2

Have you tried using the Windows cookbook’s windows_zipfile resource?

(the README documents usage and gives examples)

am

On 3 Jan 2015, at 15:16, threezerous@gmail.com wrote:

Anybody has sample script to unzip a file in windows using chef? i don’t have
winzip installed so the batch resource does not seem to help.

Thanks


#3

Took a while to figure out the syntax related to dotnet and zip files, but
I got it working now. Thanks for your suggestion

On Sat, Jan 3, 2015 at 9:04 AM, Aimelyne Mochiron aimelynem@gmail.com
wrote:

Have you tried using the Windows cookbook’s windows_zipfile resource?

https://github.com/opscode-cookbooks/windows

(the README documents usage and gives examples)

am

On 3 Jan 2015, at 15:16, threezerous@gmail.com wrote:

Anybody has sample script to unzip a file in windows using chef? i don’t
have
winzip installed so the batch resource does not seem to help.

Thanks