Good Afternoon,
I'm running puppet vers. 0.24.4 and am trying to use some facts in puppet ERB templates. It appears as long as the fact is a simple type, such as a String, the fact works as expected in the ERB template. However if the fact is something more complex (like a Hash) it appears to get converted into a string.

Using it directly in ruby (via Facter.value) returns the correct complex data type.

Is there an elegant way to use complex facts in puppet's erb templates?

Thanks for any help you may have!

Cheers,

-- Greg


--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to