annotate common/freshclam @ 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 50dd78dbf3db
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
85
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 ## When changing the periodicity of freshclam runs in the crontab,
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 ## this value must be adjusted also. Its value is the timespan between
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 ## two subsequent freshclam runs in minutes. E.g. for the default
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 ##
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 ## | 0 */3 * * * ...
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 ##
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 ## crontab line, the value is 180 (minutes).
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 # FRESHCLAM_MOD=
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 ## A predefined value for the delay in seconds. By default, the value is
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 ## calculated by the 'hostid' program. This predefined value guarantees
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 ## constant timespans of 3 hours between two subsequent freshclam runs.
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 ##
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 ## This option accepts two special values:
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 ## 'disabled-warn' ... disables the automatic freshclam update and
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 ## gives out a warning
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 ## 'disabled' ... disables the automatic freshclam silently
50dd78dbf3db Fight back against spam
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 # FRESHCLAM_DELAY=