- From: Noah Kantrowitz <
>
- To: chef <
>
- Cc:
- Subject: [chef] Re: getting the name of the cookbook hosting an LWRP definition
- Date: Tue, 3 Dec 2013 10:34:09 -0800
Not directly, though you could be sneaky and examine __file__. That string is generally safe to hard code though, since cookbook names don't change much and you have to update a million things anyway.
--Noah
On December 3, 2013 at 6:31:33 AM PST,
wrote:
Hi,
is there a way to retrieve the name of a cookbook hosting an LWRP definition
from its own provider?
Just to be clear, I am not talking about cookbook_name which returns the
cookbook hosting the resource.
thanks,
david
Archive powered by MHonArc 2.6.16.