howdy,

I assign specific applications to machines via a class.   Each
application has its own log files that need to be managed by our
logging system (splunk, for those who are familiar with it).   This
basically entails adding a line to a config file.  How do you do
this?  ie, manage the config file?  If this were apache I could use
the 'Include' directive and just drop in a file that is automatically
included in the httpd.conf, but splunk doesn't offer this option:  all
config has to be in the file.

i could just add each apps log config to a file and have an Exec call
that concats all the files into the config, ie:

app1.conf
app2.conf


exec{"cat app*.conf > loggingserver.config":
...
}

<restart logging server>

where the exec is gets executed whenever a file is added/removed/
updated,  but was wondering if this indeed is the best way to do it.

thanks


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