Aaron Grewell wrote : > Agreed, facts are the one thing that really should be global IMHO.
I'd settle for anything short. If <%= ::factname %> could have worked, it would have been fine by me. What's the "official best practice" going to be for facts inside templates with puppet 2.7+? lookupvar all over the templates? Iterative assignments of all used fact values to local scope variables? Have other solutions been looked into? The first that would come to my mind would be having something like "fact::" and use <%= fact::fqdn %>. Short-ish enough, very explicit and entirely isolated (except for anyone having a custom "fact" module ;-)). Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.13-91.fc14.x86_64 Load : 0.10 0.13 0.22 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.