I am using file_line to add a line to my sudoers file. The line I need to add includes a "%{user}" which I need to be quoted literally.
If I use file_line from my site.pp it works great...the line is passed with single quotes and interpolation does not occur.
However, when I use file_line within a Hiera construct the "%{user}" gets interpolated and the resulting string is missing this required portion. I've tried various escapes all without success.
I'm out of ideas at this point. Hopefully the community here can provide an answer.
↧