Re: [Puppet Users] Puppet facter utf-8 error

2017-05-03 Thread Rob Nelson
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

[Puppet Users] Puppet facter utf-8 error

2017-05-03 Thread mobios
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