- From: "Deprez, Tom" <
>
- To: "
" <
>
- Subject: [chef] RE: Re: Windows system standard program for unzip-ing archives?
- Date: Fri, 21 Nov 2014 16:50:17 +0000
- Accept-language: en-GB, en-US
We've also used the rubyzip gem, then used windows_zipfile. No extra code
writing required and it didn't install 7zip either (using windows 1.30.0).
In the recipe, we had:
chef_gem "rubyzip" do
action :install
end
require 'zip'
then use the windows_zipfile resource as normal.
Thanks
Tom
-----Original Message-----
From: Brad Knowles
[mailto:
Sent: 21 November 2014 15:47
To:
Cc: Bradford L Knowles
Subject: [chef] Re: Windows system standard program for unzip-ing archives?
On Nov 21, 2014, at 9:43 AM, David Petzel
<
>
wrote:
>
We took a little little different approach. We just implemented an LWRP
>
that uses the rubyzip gem http://rubygems.org/gems/rubyzip. In our case its
>
cross platform. Sadly, I'm not at liberty to share it, but the gem makes
>
working with zips "not to bad"
I went looking for a Ruby gem based solution, but the only thing I found was
"unzipMe", which is most definitely *NOT* cross-platform. But I hadn't found
anything else obvious.
I don't mind writing some code, so this sounds like a potential solution that
I definitely need to take a deeper look into. Thanks!
--
Brad Knowles
<
>
LinkedIn Profile: <
http://tinyurl.com/y8kpxu>
HBVB trading as Bauer Corporate Services (BCS) is a division of the Bauer
Media
Group the largest consumer publisher in the UK, and second largest commercial
radio broadcaster. BCS provides financial services and manages and develops
IT
systems on which our UK publishing, broadcast, digital and partner businesses
depend.
The information in this email is intended only for the addressee(s) named
above.
Access to this email by anyone else is unauthorised. If you are not the
intended
recipient of this message any disclosure, copying, distribution or any action
taken in reliance on it is prohibited and may be unlawful. HBVB do not
warrant that
any attachments are free from viruses or other defects and accept no
liability for
any losses resulting from infected email transmissions.
Please note that any views expressed in this email may be those of the
originator
and do not necessarily reflect those of this organisation.
HBVB is registered in England; Registered address is
1 Lincoln Court, Lincoln Road, Peterborough, PE1 2RF.
Registration number 8453545
Archive powered by MHonArc 2.6.16.