|
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
I want to get those values inside my template file. I have used
but it doesn't give me the value. What is the correct way to get the value of the external fact inside template. Regards, Malintha |
, <%= @key1 %> should work just fine. Otherwise, you can have this: $localkey = ${::key1} in your init.pp and then <%= @localkey %> in the template but I don't think you gonna get anything thing better.