Mercurial > repos > other > Puppet
annotate common/logwatch/logfiles_php.conf @ 136:765e72629b3e puppet-3.6
Fix "direct under CA" custom conditions and sites that use "cert named after domain" pattern
The 'undef' value coerces to empty string, so "$var == undef" becomes
"$var == ''", which broke our logic. Puppet 3 doesn't have a prettier solution
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 11 Nov 2016 21:04:13 +0000 |
parents | bafd91f195de |
children | d3b10f2a5f60 |
rev | line source |
---|---|
127 | 1 ######################################################## |
2 # Logfile definition for PHP which points to Apache logs | |
3 ######################################################## | |
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 # What actual file? Defaults to LogPath if not absolute path.... |
127 | 6 LogFile = apache/error_*.log |
7 LogFile = apache/error_*.log.1 | |
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 # If the archives are searched, here is one or more line |
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 # (optionally containing wildcards) that tell where they are... |
127 | 12 Archive = apache/error_*.log.*.gz |
13 | |
14 # Expand the repeats (actually just removes them now) | |
15 *ExpandRepeats | |
16 | |
0
956e484adc12
Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 |
127 | 18 # Keep only the lines in the proper date range... |
19 #*ApplyHttpErrorDate | |
20 *ApplyStdDate = "\[%a %b %d %H:%M:%S.\d{6} %Y\]" | |
21 | |
22 # vi: shiftwidth=3 tabstop=3 et |