Getting the name of the cookbook hosting an LWRP definition

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

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

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

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