It's ruby, you can do whatever ruby allows. A better solution might be to use extlookup, though. On Apr 8, 2011 3:34 PM, "Mohamed Lrhazi" <lrh...@gmail.com> wrote: > I have some logic I need in a template, and it needs to use a somewhat > long list og hostnames I'd rather keep in a text file, instead of > inside the template. > > Can I open files from a template and if so, what would the path be? > would "./list.txt" mean same path as where the template itself is > located? > > Thanks a lot. > Mohamed. > > -- > 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. >
-- 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.