HOWTO: Upload cookbooks to Opscode
To upload all cookbooks:
$ knife cookbook upload -a
To upload a single cookbook:
$ knife cookbook upload apache2
Note that this can be done from any directory, and so requires that chef is
configured to look for cookbooks in the correct directory. This is probably
done via the
~/.chef/knife.rb configuration file. This same file also
determines the credentials to use when communicating with opscode.com.
HOWTO: Update a "vendor" cookbook?
Simply run the install step again:
$ knife cookbook site install apache2
Of if you're not working on the
$ knife cookbook site install apache2 -B application-revert