This message was deleted.
# puppet
s
This message was deleted.
r
I think this answer is yes based on my reading of these links https://www.puppet.com/docs/puppet/7/nodes_external.html#comparing_encs_and_node_definitions https://www.puppet.com/docs/puppet/7/lang_scope.html#lang_scope-scope-of-external-node-classifier-data This assumes that top-scaope vars can be used for Hiera keys. I'm pretty sure I've used top-scope vars this way, but can't find a reference in docs.
j
I'm on a mix of 6 and 7. I think I'll test this and find out.
r
I wouldn't expect any difference between 6 and 7. PE is definitely doing this via the console for node groups, etc.
n
Yes, they're definitely available to Hiera. I've done this for years since Puppet 4.
ENC
parameters
become top scope variables. And top-scope variables can be used in Hiera (both in hierarchy definitions and as data).
j
Thanks