[Puppet Users] Re: Use external facts inside templetes

2014-06-17 Thread Malintha Adikari
Hi Sans, My issue was solved. My actual key name was "portOffset". Note about the camel case. (there is a capital 'O'). What I did was changed it to just "portoffset" and works fine. Is this a issue ? Regards, Malintha Adikari On Tuesday, June 17, 2014 5:58:29 PM UTC+5:30, Sans wrote: > > Hi t

[Puppet Users] Re: Use external facts inside templetes

2014-06-17 Thread Sans
Hi there, First of all, if it's a fact, then you really should be doing *${::key1}* instead. To use it in template, *<%= @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 go