[chef] Re: Re: Re: "knife cookbook site install" fails. Knife or Git issue?


Chronological Thread 
  • From: Ringo De Smet < >
  • To:
  • Subject: [chef] Re: Re: Re: "knife cookbook site install" fails. Knife or Git issue?
  • Date: Fri, 6 May 2011 16:17:48 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AFRsdY968BUBgfN6EGG5RaIfCAaEkUQL2NAjQakD7lvMONNZ8JJtZsocgc4udjc3kQ t1U8JjaXGR/cvgm+2ZPXWx/TpZcNVqZ+isjrAZB1c6vI8piDz1dm0/9tIfTzFV9tvPy+ 1+cSgnzJn+MxPQ1uawgHuHu6I5DneAtlTfs6A=

Akzhan,

On 6 May 2011 15:59, Akzhan Abdulin 
< >
 wrote:
> Fixed by https://github.com/akzhan/chef/tree/CHEF-2314, ticket is resolved
> and passed to Adam Jacob.

As Mark indicated, wouldn't the fix be easier if we fall back to
ary.include? instead?
http://www.ruby-doc.org/core/classes/Array.html#M000265

git("branch --no-color").stdout.lines.include?(branch_name)

Ringo



Archive powered by MHonArc 2.6.16.

§