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


Chronological Thread 
  • From: Akzhan Abdulin < >
  • To:
  • Subject: [chef] Re: Re: "knife cookbook site install" fails. Knife or Git issue?
  • Date: Fri, 6 May 2011 17:59:06 +0400
  • 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=ogwYlf11tc7Lj6PHPixzzDKtIf5cJM7agXrwaZVICbRRDJaP5krYPDI1f6xgXPoH2i Xr/5wSGbPBRN7BvrSQED4uxG6Sgd2ja7olD9Siug3N4bQ7ixTW9ghGsFuAQjftf9He4D gKpZOn0/uZA2Y+SMTDxludlclYtI7aZJpeSTU=

Fixed by https://github.com/akzhan/chef/tree/CHEF-2314, ticket is resolved and passed to Adam Jacob.

2011/5/6 Ringo De Smet < "> >
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.

§