Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Needs Assessment
Description
Basic Info
Module Version: 8.1.0
Puppet Version: 7.14.0
OS Name/Version: Fedora
When building relationships between modules, it can be helpful to pass some resources by name. With hiera, these resources are always represented as a string. But nothing converts them back to the actual resource.
For example, I may want a specific element to notify another class. If I instrument my class up so I can pass in a `notify_services` parameter, the string notification doesn't work as expected. This will also make use of hiera a bit more familiar to folks coming from other systems.
Desired Behavior: A way to convert a string (defined in hiera) to a resource definition
Actual Behavior:
The string coming in isn't convertible to a resource in any clear way.