I have defined some key value pairs in /etc/facter/facts.d/value.txt
file.
I could use those keys inside my init.pp script and successfully for the values using:
${key1}
I want to get those values inside my template file. I have used:
<%= @key1 %>
but it doesn't give me the value.
What is the correct way to get the value of the external fact inside the template?