Douglas Garstang wrote:
On Tue, Mar 23, 2010 at 4:00 AM, Thomas Bellman <bell...@nsc.liu.se> wrote:
You could do it like this: $templ = file("/config/foo/xyzzy.$fqdn.erb", "/config/foo/xyzzy.default.erb") $content = inline_template($templ) file { "/my/file": content => $content; }
[...]
Is this supported in puppet 0.24.x or is it a 0.25 thing? The docs don't say what version of the puppet they refer to.
The file() function has been there since 0.22.2, but inline_template() didn't come until 0.24.7. This based on looking through the Git repository for Puppet. /Bellman -- 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.