John-Paul Robinson (j...@uab.edu) wrote:
> Do I:
>
>   * edit the api.rb in the barclamp-nova under
>     /opt/dell/barclamps/nova/chef/cookbooks/nova/recipes/api.rb and then
>     install this updated barclamp -- if so how do I install the new
>     barclamp?
>   * edit the api.rb in the chef configuration under
>     /opt/dell/chef/cookbooks/nova/recipes/api.rb and install the new
>     recipie -- if so how do I best install the new recipe?

At least one of those will work if you follow it with the appropriate
invocation of barclamp_install.rb, which will upload the modified
cookbook to the Chef server.

Sorry I can't be more precise off the top of my head; in SUSE Cloud we
eliminated the duplication of those code trees a long time ago, by
packaging the barclamps into rpms, so what works for us
(barclamp_install.rb --rpm) probably won't work for you.

> I'm confused on how I go from code update -> barclamp -> chef server.
> Is it possible to non-destructively (from the perspective of the nodes
> that have been provisioned by a barclamp) redeploy a barclamp after
> changing something like the cookbooks it contains?

Absolutely, we do it many times a day during development.

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to