content => template("one","two","three");
I think is what will work for concatenation.
http://projects.reductivelabs.com/issues/1818

Read Luke's comment at the bottom.

in 0.24.8
lib/puppet/parser/functions/inline_template.rb:    if multiple template
strings are specified, their output is all concatenated
lib/puppet/parser/functions/template.rb:    if multiple templates are
specified, their output is all concatenated


Details here:
http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating

-Jason

> So I have been doing some testing of content => template.  Our site has
> used
> a custom solution for configuration management w/ a mix of rsync/m4/make
> and
> a little cfengine on the side.   Now for us the power of m4 is that not
> only
> you can do variable substitution but it can include files.  I am looking
> to
> be able to include files within a template w/ ERB but  from the
> documentation that does not seem possible.  Or even if it is possible to
> have a numter of templates listed in my content=> that would be
> concatenated?
> Anyone else trying to do this or have done this?
>
> --
> ---
> Derek T. Yarnell
>
> >
>



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

Reply via email to