[chef] knife.rb cookbook_path with Berkshelf


Chronological Thread 
  • From: "Mark H. Nichols" < >
  • To: " " < >
  • Subject: [chef] knife.rb cookbook_path with Berkshelf
  • Date: Wed, 21 Aug 2013 13:53:20 -0500

All - 

I'm trying to add my Berkshelf cookbooks location to the cookbook_path in knife.rb without much success.

Here's what I have:

cookbook_path ["/Users/mhn/.berkshelf/cookbooks", "#{current_dir}/../cookbooks"]

When I try to run 

knife cookbook upload ome_jboss 

for example, I get an error saying that cookbook one_jboss could not be found in my cookbook path. ome_jboss does exist at /Users/mhn/.berkshelf/cookbooks. I've tried putting the Berkshelf path specification first and last in the array, and I've tried it just by itself there, all with the same result.

Thanks,
Mark
--
mark nichols | (t|a.n) @zanshin | (w) zanshin.net | (gpg key) 53445200



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




Archive powered by MHonArc 2.6.16.

§