Hey Thanks for the reply I want the ENC to pass on variables or the like so that these can be used by hiera to apply roles/profiles etc.
eg ENC returns a nodes software role eg role: desktop_software Then hiera can load the desktop_software.yaml file to apply that software role as part of it's normal hierarchy. Is that possible? What would it envolve? Grant On Friday, July 25, 2014 1:34:10 AM UTC+10, Atom Powers wrote: > > Grant, > > You probably want to use an ENC, which will allow you to define any fact > from a specified datasource. > In a simple implementation I use an ENC to read the node's hiera file and > output a few facts, such as a node's role/group, which are then used by > hiera to define additional information for Puppet. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e811237c-edfc-4eb3-b19a-af4f6e182f8b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.