[chef] Re: cookbooks not created


Chronological Thread 
  • From: Adam Leff < >
  • To:
  • Subject: [chef] Re: cookbooks not created
  • Date: Thu, 16 May 2013 15:37:24 -0400

"knife cookbook create" is a local operation, so you won't see anything in your chef-server logs until you actually "knife cookbook upload" that cookbook.

knife should create the cookbook in the first entry in your knife.rb's cookbook_path.  Have you checked in that directory?

~Adam


On Thu, May 16, 2013 at 3:34 PM, Lunixer < " target="_blank"> > wrote:
Preliminary information:
- using Open Source Chef
- server and workstation are CentOS 6.4 VMs
- running the _default environment

I tried to create a new cookbook, but nothing results in the cookbooks directory.

chef-repo]$ sudo knife cookbook create testcook1
** Creating cookbook testcook1
** Creating README for cookbook: testcook1
** Creating CHANGELOG for cookbook: testcook1
** Creating metadata for cookbook: testcook1

The create action produces nothing.

chef-repo]$ tree cookbooks/
cookbooks/
`-- README.md

0 directories, 1 file
chef-repo]$

I see no indications of errors or warnings anywhere.
I only see INFO messages with 'chef-server-ctl tail'
Pointers please?

-lun




Archive powered by MHonArc 2.6.16.

§