Is there a chance the encoding on the file containing the custom fact
itself is not UTF8? It won't matter if the output is UTF-8 if Puppet can't
parse it to apply the code inside it. `file ` usually starts with
`ASCII` or `UTF-8 Unicode` if it's in the proper format.
Rob Nelson
Hello Puppet User,
Infos:
Puppet-client-version = 3.8.4
facter= 2.4.4
Puppetserver = 4.10.0
I wrote a fact to discover all firewallrules on a windows machine.
Factname is windows_firewallrules.rb and returnvalue is a nested hash.
if i execute following command.
facter -p