It is probably better two generate the child*.conf from your puppet code
rather than having an erb template generate another file (I am not even
sure that works).

What version of puppet are you running and could you show us some code?

--
Lowe Schmidt | +46 723 867 157

On 2 May 2016 at 15:53, Manoj Muraleedharan <[email protected]> wrote:

> I have two erb template, one for main config file and another for child
> process config file. I need to want to create config file for 3 child
> process config file inside main erb template by calling another erb
> template inside. these 3 config files has to be three different name.
>
> I need the following config file create in my puppet agent
> /etc/app/main.conf
> /etc/app/child1.conf
> /etc/app/child2.conf
> /etc/app/child3.conf
>
> I have two erb file in my modeule main.erb and child.erb
>
> I want to call only the main.erb and when processing main.erb i need to
> create the above child.conf file based on child.erb
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/8d13593d-3117-44bf-9132-e4d4e084341b%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/8d13593d-3117-44bf-9132-e4d4e084341b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC-wWcTqZazBzEM3H88j%2Bb3ZqmCD95_%2B9bMGwq%3Dv5%2B1cSYQXGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to