[Puppet Users] Problems writing tests for custom hiera backend

2017-09-29 Thread jos
Hi all, I am writing a custom hiera backend for consul and I want to test the functionality. But I am unable to create the proper puppet data structures that are required by the function definition. Part of the function I want to test: Puppet::Functions.create_function(:hiera_consul) do disp

[Puppet Users] Puppet 4 - UTF Encoding error message

2017-09-29 Thread Luiz Henrique Oliveira
Hi experts, I am trying to run the puppet agent on a Windows 2008 R2 server, but I am getting the following error: Could you help me to solve this annoying problem. C:\Users\Administrator> puppet agent -t Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catal

[Puppet Users] Hiera Eyaml Error - Cannot load backend eyaml: no such file to load -- hiera/backend/eyaml_backend

2017-09-29 Thread vishcurious
We installed *hiera-eyaml* rubygem as the *root* user on the Puppet Master node to encrypt/decrypt our passwords. # /opt/puppetlabs/bin/puppetserver gem install hiera-eyaml --no-doc --no-ri --verbose # /opt/puppetlabs/puppet/bin/gem install hiera-eyaml --no-doc --no-ri --verbose *eyaml* comman