I'm not sure where this error can come from. I get:
Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Lookup of key 'sudo::enable' failed: DataBinding 'hiera': datadir for yaml cannot be an array
enven if hiera.yaml is correctly configured, for instance:
Hi,
I'm not sure where this error can come from. I get:
Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Lookup of key 'sudo::enable' failed: DataBinding 'hiera': datadir for yaml cannot be an array
enven if hiera.yaml is correctly configured, for instance:
:yaml: :datadir: "/etc/puppetlabs/puppet/environments/%{environment}/hiera"
This errors only happens when I try to realize the sudo class:
include sudo