Hi there,
First post here, if something is amiss on my part, please bear with me.
How do I access facts in my own filter plugin? I know I can (and did) write a function and pass the fact as an argument, but perhaps it is possible to get the fact’s value in the body of a filter function?
My specific use case is something like ‘fqdn_rand’ in Puppet, but I guess if I had the facts accessible in plugins, I would just write more plugins to hide some more complicated or ugly things
Thanks in advance.
Best regards,
Łukasz Górski