Looks like it is the inifile format, so take a look at
https://github.com/puppetlabs/puppetlabs-inifile


On 1 October 2013 00:35, Thomas <thomas.e.ke...@gmail.com> wrote:

> What is the best way to manage multiple stanza within a config file?
>
> For a splunk configuration file (inputs.conf) I need to manage some thing
> like
>
> [monitor://var/log]
> blacklist = someRegularExpression
> whitelist = someOtherRegularExpression
>
> [monitor://var/lib/ourApp]
>
>
> There can be multiple monitor stanzas and each may or may not have a
> whitelist or blacklist.
>
> I haven't found any thing on the forge or in this group regarding best
> practice for managing stanzas within a config file.
>
> I've tried a few different combinations of templates, concat and define
> and haven't found a clean solution yet to construct the stanza.
>
> Any suggestions would be appreciated.
>
> Thanks! Thomas
>
>  --
> 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 puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Erik Dalén

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to