Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unfortunately there is no way to use hiera to specify a defined type. In the last notation you provided you are not addressing the class 'module::bar' with instance name 'bubba'. Rather, you are specifying class 'module::bar::bubba' which does not exist.

I have found a way to use Hiera with defines through the use of the create_resources function. However, that's a more indirect solution.