RE: Cookbook versions

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
To: chef@lists.opscode.com
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.

Any thoughts?

Thanks in advance!

Bridger Larson

That's how we're setup. We have chef outside the firewall and subversion
inside. I don't know why you would want your chef server to be able to
access subversion but maybe there's some benefit. We just use subversion
for what it's good for and then use knife to interact with the chef server.

MG

On Tue, Dec 4, 2012 at 1:45 PM, Bridger Larson <
Bridger.Larson@sirsidynix.com> wrote:

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
To: chef@lists.opscode.com
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.**
**


Any thoughts?****


Thanks in advance!****


Bridger Larson****