[chef] Re: Re: chef windows annoyance of the day


Chronological Thread 
  • From: Jeffrey Sussna < >
  • To:
  • Subject: [chef] Re: Re: chef windows annoyance of the day
  • Date: Thu, 2 Jun 2011 18:28:50 -0500

Ha - now knife cookbook test fails in similar fashion. "knife cookbook upload foo" works fine. "knife cookbook test foo" fails. Can't find attributes/default.rb, ironically because that file in fact exists. Again, fails in git bash but works in cmd.exe. I suppose tomorrow knife cookbook test will start working :-(.

On Thu, Jun 2, 2011 at 2:04 PM, Jeffrey Sussna < "> > wrote:
It's working fine today. Insanity has been attained.

On Thu, Jun 2, 2011 at 1:18 AM, Vladimir Girnet < " target="_blank"> > wrote:
Are your cookbooks stored in "c:/chef/chef-repo/.chef/../cookbooks/" ?
That is where knife is looking for it

I think you need to add "-o <path_to_cookbook>" to knife command


On 6/1/11 10:52 PM, " target="_blank"> wrote:
> "knife cookbook upload getting-started" fails under git bash (Ruby 1.8.7 or
> 1.9.2):
>
> ERROR: Errno::ENOENT: No such file or directory - ruby -c
> c:/chef/chef-repo/.chef/../cookbooks/getting-started/metadata.rb
>
> Works fine when run from standard Windows cmd.exe. Anything I can do to make it
> work under git bash? The rest of my knife commands are working fine from there.

--
Vladimir Girnet
Infrastructure Engineer
Tacit Knowledge
http://www.tacitknowledge.com







Archive powered by MHonArc 2.6.16.

§