To download the cookbook I am using ‘knife node cookbook java download’. I would just use a subversion repository, but I had to put my chef server outside the firewall and so it doesn’t have access to subversion.
From: Bridger Larson
Sent: Tuesday, December 04, 2012 1:43 PM
Subject: Cookbook versions
I don’t know if I am just missing something obvious or what, but is there a way to download/update your cookbook without downloading it to a directory with the version number?
For example, if I download my latest java cookbook, it will download it to a directory called java-0.1.3 instead of just to the java directory. I have tried using the -d flag to specify the cookbooks/java directory, but it just downloads it to cookbooks/java/java-0.1.3.
If I then make modifications to the scripts in java-0.1.3 I have to copy the modifications to the java directory to actually upload the cookbook.
Thanks in advance!