On Monday, September 16, 2013 at 8:43 AM, Sam Su wrote:
Much appreciated for any comment.For the recipe registration.rb, I can understand most of the content except the structure "openstack_identity_register". I think the word "openstack_identity_register" should have a definition at somewhere, so I tried to search the definition at the whole cookbook "cookbook-openstack-identity" but failed.Hi guys,I am just learning how to use chef and trying to understand the keystone recipes at
https://github.com/stackforge/cookbook-openstack-identity/blob/master/recipes
I am wondering where is the definition so that I can understand what happened in the structure "openstack_identity_register".
Thanks,SamThis is a LWRP (lightweight resource and provider) that comes bundled with the cookbook. The resource file declares the available fields:And the provider is the implementation:The docs for LWRPs are here: http://docs.opscode.com/lwrp_custom.htmlHTH,--Daniel DeLeo
Archive powered by MHonArc 2.6.16.