btm@blackie:~/devel/platform/btm$ knife cookbook site vendor wordpress 0.5.0
INFO: Downloading wordpress from the cookbooks site at version 0.5.0
INFO: Cookbook saved: /home/btm/devel/platform/btm/cookbooks/wordpress.tar.gz
INFO: Checking out the master branch.
INFO: Checking the status of the vendor branch.
INFO: Creating vendor branch.
INFO: Removing pre-existing version.
INFO: Uncompressing wordpress version 0.5.0.
INFO: Adding changes.
INFO: Committing changes.
INFO: Creating tag chef-vendor-wordpress-0.5.0.
INFO: Checking out the master branch.
INFO: Merging changes from wordpress version 0.5.0.
Updating 773fa3c..083a378
Fast-forward
.../attributes/{default.rb => wordpress.rb} | 20 ++++++++++----------
cookbooks/wordpress/metadata.rb | 4 +---
cookbooks/wordpress/recipes/default.rb | 5 ++---
.../wordpress/templates/default/grants.sql.erb | 2 +-
.../wordpress/templates/default/wordpress.conf.erb | 6 +++---
5 files changed, 17 insertions(+), 20 deletions(-)
rename cookbooks/wordpress/attributes/{default.rb => wordpress.rb} (56%)
INFO: Cookbook wordpress version 0.5.0 successfully vendored!
btm@blackie:~/devel/platform/btm$ echo "# something" >> cookbooks/wordpress/recipes/default.rb
btm@blackie:~/devel/platform/btm$ git commit !$ -m "do something to a cookbook"
git commit cookbooks/wordpress/recipes/default.rb -m "do something to a cookbook"
[master b3bd1f9] do something to a cookbook
1 files changed, 1 insertions(+), 0 deletions(-)
btm@blackie:~/devel/platform/btm$ knife cookbook site vendor wordpress
INFO: Downloading wordpress from the cookbooks site at version 0.6.2
INFO: Cookbook saved: /home/btm/devel/platform/btm/cookbooks/wordpress.tar.gz
INFO: Checking out the master branch.
INFO: Checking the status of the vendor branch.
INFO: Vendor branch found.
INFO: Removing pre-existing version.
INFO: Uncompressing wordpress version 0.6.2.
INFO: Adding changes.
INFO: Committing changes.
INFO: Creating tag chef-vendor-wordpress-0.6.2.
INFO: Checking out the master branch.
INFO: Merging changes from wordpress version 0.6.2.
Auto-merging cookbooks/wordpress/recipes/default.rb
Merge made by recursive.
.../attributes/{wordpress.rb => default.rb} | 20 ++++++++++----------
cookbooks/wordpress/metadata.rb | 4 +++-
cookbooks/wordpress/recipes/default.rb | 5 +++--
.../wordpress/templates/default/grants.sql.erb | 2 +-
.../wordpress/templates/default/wordpress.conf.erb | 6 +++---
5 files changed, 20 insertions(+), 17 deletions(-)
rename cookbooks/wordpress/attributes/{wordpress.rb => default.rb} (56%)
INFO: Cookbook wordpress version 0.6.2 successfully vendored!