[PUP-4411] Allow create_resources() to declare parameterized classes Created: 2015/04/14 Updated: 2016/01/22 Resolved: 2015/04/28
|Reporter:||Lee Lowder||Assignee:||Lee Lowder|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
You should be able to declare parameterized classes via crete_resources().
If you use a hash like:
and code like:
you wind up with an error like:
However, specifying the hash in the manifest and using puppet apply works:
N/A for unreproducible bugs
|Comment by Henrik Lindberg [ 2015/04/15 ]|
There must be something that makes the hash produced by hiera_hash different from the manually created hash. What happens if the yaml file has this:
instead of this:
It should also be easy to assert if a lookup via hiera_hash has the exact same content as the manually created hash.
|Comment by Henrik Lindberg [ 2015/04/28 ]|
It looks like it works if hiera data is given the correct way. please reopen if that is not the case.