Hello,
So I'm using stlib with the /etc/facter/facts.d/ to set up some custom
facts of some of my nodes. What I want to do is use yaml to set an array in
facter that will then get interpreted by Hiera.
Let me give an example. I have the following hierarchy.
:hierarchy:
- "node/%{::fqdn}"
- "cust/%{::cust}"
- "role/%{::role}"
- base
I can set the cust fact and that should just be one customer. But the role
may not be. So what I'd like to do is set the role fact to be an array and
have that interpreted by hiera. Is this possible?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/f38e7d8b-ceee-4ad0-a695-f3482f101d5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.