Facter - custom fact, returns empty data set when invoked by Puppet agent
- by user3684494
According to this puppet labs article, I can create custom facts from shell scripts.
I have created a bash script that returns a single fact, it is packaged in a modules facts.d directory. The module is included on the target system via an ENC class. When invoked by the puppet agent on the target it returns an empty set, when run by hand on the…