If you're trying to reduce the amount of repeated configuration by
only storing the [main] and [agent] sections once, you can achieve
this using the Concat module (https://github.com/ripienaar/puppet-
concat). You have a file for /etc/puppet/puppet.conf with an Agent
fragment, then on your Puppet Master you
can add another fragment for the [master] section.

On Oct 13, 11:29 am, Alexandre <alexandre.fou...@gmail.com> wrote:
> Hi,
>
> How can i divide my puppet.conf file in multiple files ?
> I would like to have the [main] and [agent] section in puppet.conf and
> [master] in puppetmaster.conf for example. I could call sone "include"
> or "import"  statement inside  puppet.conf to include the content of
> puppetmaster.conf in my configuration
>
> Not sure if this is a stupid question, but i could not find any
> "include" or "import" statement in the man page of puppet.conf
>
> Alex

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