Skip to content

Commit

Permalink
Merge pull request #2 from hairmare/feature/master/puppet
Browse files Browse the repository at this point in the history
logpaths for puppet
  • Loading branch information
paraenggu committed Jun 5, 2013
2 parents dbc0914 + e034c52 commit 016ddb1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/destination.d/puppet-agent.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-agent destination

destination d_puppet_agent { file("`syslog_dir`/puppet-agent.log"); };
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/destination.d/puppet-master.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-master destination

destination d_puppet_master { file("`syslog_dir`/puppet-master.log"); };
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/filter.d/puppet-agent.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-agent filter

filter f_puppet_agent { program("puppet-agent"); };
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/filter.d/puppet-master.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-master filter

filter f_puppet_master { program("puppet-master"); };
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/log.d/90_puppet-agent.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-agent default final log file

log { source(s_log); filter(f_puppet_agent); destination(d_puppet_agent); flags(final); };
3 changes: 3 additions & 0 deletions syslog-ng.conf.d/log.d/90_puppet-master.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# puppet-master default final log file

log { source(s_log); filter(f_puppet_master); destination(d_puppet_master); flags(final); };

0 comments on commit 016ddb1

Please sign in to comment.