Hi Mahesh,

When I setting up AF, I had to install unzip.

Thanks.



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Wed, Nov 12, 2014 at 10:51 PM, Mahesh Chinthaka <[email protected]> wrote:

> Hi,
>  why do you want to install unzip via brew ?? AFAIK unzip comes with mac
> OS by default.
>
> On Wed, Nov 12, 2014 at 6:22 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> I think unzip is coming with zip package. Just install zip and check
>> whether unzip command works.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Nov 12, 2014 at 6:20 PM, Aiyadurai Rajeevan <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> We are in the process of integrating puppet scripts to Mac OS X, Where
>>> we have implementation to install list of tools to be installed by puppet
>>> script when executed, The puppet code looks like below.
>>>
>>> *$packages = ['lsof','unzip','sysstat','telnet', 'git', 'less', 'tree',
>>> 'zip']*
>>>
>>> * package { $packages:*
>>>
>>>  *                ensure => installed,*
>>>
>>> *                provider  => 'brew',*
>>>
>>> *        }*
>>>
>>>
>>> Here, *$Packages* has the tools to be installed using the *brew*.
>>>
>>> When i execute this, it gives error as below,
>>>
>>> *Error: Failed to apply catalog: Parameter provider failed on
>>> Package[lsof]: Invalid package provider 'brew' at
>>> /home/rajeevan/appfactory/modules/wso2base/manifests/packages.pp:9*
>>>
>>> *Wrapped exception:*
>>>
>>> *Invalid package provider 'brew'*
>>>
>>> *Wrapped exception:*
>>>
>>> *Invalid package provider 'brew'*
>>>
>>>
>>> Then we executed the command - *brew install unzip* - just to ensure
>>> the unzip tool is getting installed, but it doesn't.
>>>
>>> google it and found a solution [1]
>>>
>>> *$ brew tap homebrew/dupes *
>>>
>>> *$ brew install unzip*
>>>
>>> This works nicely,
>>>
>>> But, As far as puppet concerned, How to do this in my above puppet
>>> script?
>>>
>>> Appreciate your view on this please.
>>>
>>> [1]
>>> http://apple.stackexchange.com/questions/149080/how-can-i-update-my-version-of-unzip-to-version-6-00-or-higher
>>> Thanks & Regards,
>>> S.A.Rajeevan
>>> Software Engineer WSO2 Inc
>>> Lean . Enterprise . Middleware
>>> E-Mail: [email protected] | Mobile : +94776411636
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: [email protected] | Web: www.wso2.com
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to