Hi Howard, Looks like file_url() has a raw flag, defaulting to false, which when set returns the contents of the file without passing it through the processor. Will that do what you want?
https://github.com/puppetlabs/razor-server/blob/master/app.rb#L136 Tim. On Fri, May 11, 2018 at 03:13:30AM -0700, Howard Jones wrote: > As part of several install tasks, I need to provide additional drivers for > the particular hardware we're using (Dell 14G). If possible, I'd like to > keep these additional files with the task, so that I can just keep that one > directory in version control. Is there an ERB helper like file_url() that > doesn't pass the file through the template processor, and just returns the > bits in the file instead? > > Thanks, > > Howard -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x6C226B37FDF38D55 -- You received this message because you are subscribed to the Google Groups "puppet-razor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/puppet-razor. For more options, visit https://groups.google.com/d/optout.
