On Mon, Dec 17, 2012 at 6:46 AM, Nikola Petrov <nikol...@gmail.com> wrote:
> You have a bunch of options for this if I understand you well. You can
> one of the following:
>
> * use augeas with virtual resources
> * use the concat module

Understood. I'm leaning heavily towards augeas at this point
(although I'm a bit scared of throwing various XML at it).

If stock augeas doesn't pan out I think I'm going to
go with the most basic solution of all -- having a template
with easy markers and doing a bunch of exec's of sed -i
(wrapped in a nice custom resource of course ;-)).

> * use the standard template function with multiple arguments; look at
>   http://docs.puppetlabs.com/guides/templating.html and scroll down to
>   "Combining templates"

You lost me there -- would you mind elaborating how these
type of 'Combining templates' could be useful in my case?

Thanks,
Roman.

-- 
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.

Reply via email to