[chef] rake bundle_cookbook[...] malfunctioning?


Chronological Thread 
  • From: Ringo De Smet < >
  • To: Chef Users < >
  • Subject: [chef] rake bundle_cookbook[...] malfunctioning?
  • Date: Sun, 1 May 2011 18:46:30 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rer/sdzBQQwrtX5sfBDaubW08L5YoE89CzV020MRz8kaznw3HxRCvXfNpLLPm9Of7e O/LDJl0b/YcKmU2vzZEfD4fBIXk+XQ5RXGzG+7qSrNGK+9hlnLVJjS3FBjz25RFmqXzR 3wZJ+ksoL+rxT672XTkAN2fgNnky55/VC2Oe4=

Hello,

According to

http://help.opscode.com/kb/cookbooksite/adding-a-cookbook-to-the-opscode-cookbook-site

you should be able to run "rake bundle_cookbook[..]" to have a tar.gz
created of your cookbook. I tested this, but I get a tgz file only
with the top level cookbook folder, but without any sub-contents.

For example:

master $ rake bundle_cookbook[postgresql]
(in /Users/ringods/Projects/Atriso/pas)
a ./postgresql


 ~/Projects/Atriso/pas
master $ ls -ls pkgs/
total 8
8 -rw-r--r--  1 ringods  staff  134 May  1 18:44 postgresql.tar.gz


 ~/Projects/Atriso/pas
master $ tar tfz pkgs/postgresql.tar.gz
./postgresql/

That's all...

This is with Chef 0.9.12.

Ringo


  • [chef] rake bundle_cookbook[...] malfunctioning?, Ringo De Smet, 05/01/2011

Archive powered by MHonArc 2.6.16.

§