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

blacklist = someRegularExpression
whitelist = someOtherRegularExpression


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+unsubscribe@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.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppuppet-users @
postedSep 30, '13 at 10:35p
activeOct 1, '13 at 8:41a



site design / logo © 2022 Grokbase