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 template.

Regards,

Malintha

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1e415b28-47f1-4240-bf89-f5eb0372dfc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to