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


Chronological Thread 
  • From: Ringo De Smet < >
  • To: Chef Users < >
  • Subject: [chef] Re: "knife cookbook site install" fails. Knife or Git issue?
  • Date: Fri, 6 May 2011 15:12:04 +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; b=Ij7/r7Srz34KMynrau8UAn7iyEk06P6lpOKYIdfu34G8+g+WRbJot52h7lVWR/mPi0 Av2keGJn5Ek0o/dIJLNJE1Zz3mUIlvrupfQAKVUGSpHBf2C3UQzjoMf0dIJlX5yOsZdJ cEj2x+EzQHzyVu+mRsNpWx6XJa7fHC2qhxUcY=

Gents,

This is a bug in Chef, more specifically in CookbookSCMRepo.branch_exists?

In my case, I already had branch chef-vendor-rabbitmq_chef in my repo,
but now I wanted to add branch chef-vendor-rabbitmq. The
implementation checks the list of existing branches and matches using
the String.include? method, however:

"chef-vendor-rabbitmq_chef".include?("chef-vendor-rabbitmq")  => true

Filed this ticket: CHEF-2314

Ringo



Archive powered by MHonArc 2.6.16.

§