recommit for updates in build 30
This commit is contained in:
@@ -58,9 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content"><div id='filecontents'>
|
<div id="content"><div id='filecontents'>
|
||||||
<p>|Repo Name| version | Build Status| |—|—|—|—| |<code>cd_clamav</code>|
|
<p>(<a
|
||||||
0.0.0.1 | <a href="https://pipelines.confdroid.com/job/cd_clamav/"><img
|
href="https://pipelines.confdroid.com/buildStatus/icon?job=cd_clamav)](https://pipelines.confdroid.com/job/cd_clamav">pipelines.confdroid.com/buildStatus/icon?job=cd_clamav)](https://pipelines.confdroid.com/job/cd_clamav</a>/)|</p>
|
||||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_clamav"></a>|</p>
|
|
||||||
|
|
||||||
<h3 id="label-Synopsis">Synopsis</h3>
|
<h3 id="label-Synopsis">Synopsis</h3>
|
||||||
|
|
||||||
@@ -112,9 +111,6 @@ Structure</a></p>
|
|||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#label-Tests">Tests</a></p>
|
<p><a href="#label-Tests">Tests</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
|
||||||
href="https://gitlab.confdroid.com/12WW1160/cd_clamav/blob/master/CHANGELOG.md">Changelog</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||||
|
|||||||
@@ -58,9 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content"><div id='filecontents'>
|
<div id="content"><div id='filecontents'>
|
||||||
<p>|Repo Name| version | Build Status| |—|—|—|—| |<code>cd_clamav</code>|
|
<p>(<a
|
||||||
0.0.0.1 | <a href="https://pipelines.confdroid.com/job/cd_clamav/"><img
|
href="https://pipelines.confdroid.com/buildStatus/icon?job=cd_clamav)](https://pipelines.confdroid.com/job/cd_clamav">pipelines.confdroid.com/buildStatus/icon?job=cd_clamav)](https://pipelines.confdroid.com/job/cd_clamav</a>/)|</p>
|
||||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_clamav"></a>|</p>
|
|
||||||
|
|
||||||
<h3 id="label-Synopsis">Synopsis</h3>
|
<h3 id="label-Synopsis">Synopsis</h3>
|
||||||
|
|
||||||
@@ -112,9 +111,6 @@ Structure</a></p>
|
|||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#label-Tests">Tests</a></p>
|
<p><a href="#label-Tests">Tests</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
|
||||||
href="https://gitlab.confdroid.com/12WW1160/cd_clamav/blob/master/CHANGELOG.md">Changelog</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||||
|
|||||||
@@ -156,6 +156,208 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>which <a href="https://confdroid.com/2017/05/puppet-type-package/">package
|
<p>which <a href="https://confdroid.com/2017/05/puppet-type-package/">package
|
||||||
type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logfile</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'/var/log/clamd.scan'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>where to log messages for the clamd service.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logfileunlock</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'no'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>whether log file should be locked for writing -the lock protects
|
||||||
|
againstrunning clamd multiple times</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logfilemaxsize</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'2M'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>themax size for the logfile. This also enables logrotation.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logtime</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'yes'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to log the time with each message.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logclean</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'no'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>whether to log clean files. Useful in debugging but drastically increases
|
||||||
|
the log size.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logsyslog</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'yes'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Use system logger (can work together with LogFile).</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logfacility</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'LOG_MAIL'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>type of syslog messages - please refer to 'man syslog'for facility
|
||||||
|
names</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logverbose</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'no'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to log verbose.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_logrotate</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'yes'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>whether to enable log rotation. Always enabled when LogFileMaxSize is
|
||||||
|
enabled.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_preludeenable</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'no'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>whether to enable prelude output.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>cv_preludeanalyzername</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'ClamAV'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>name of the analyzer used by prelude-admin.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -170,34 +372,48 @@ type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
28
|
|
||||||
29
|
|
||||||
30
|
|
||||||
31
|
|
||||||
32
|
|
||||||
33
|
|
||||||
34
|
|
||||||
35
|
|
||||||
36
|
|
||||||
37
|
|
||||||
38
|
|
||||||
39
|
|
||||||
40
|
|
||||||
41
|
|
||||||
42
|
|
||||||
43
|
|
||||||
44
|
|
||||||
45
|
|
||||||
46
|
46
|
||||||
47
|
47
|
||||||
48
|
48
|
||||||
49
|
49
|
||||||
50
|
50
|
||||||
51
|
51
|
||||||
52</pre>
|
52
|
||||||
|
53
|
||||||
|
54
|
||||||
|
55
|
||||||
|
56
|
||||||
|
57
|
||||||
|
58
|
||||||
|
59
|
||||||
|
60
|
||||||
|
61
|
||||||
|
62
|
||||||
|
63
|
||||||
|
64
|
||||||
|
65
|
||||||
|
66
|
||||||
|
67
|
||||||
|
68
|
||||||
|
69
|
||||||
|
70
|
||||||
|
71
|
||||||
|
72
|
||||||
|
73
|
||||||
|
74
|
||||||
|
75
|
||||||
|
76
|
||||||
|
77
|
||||||
|
78
|
||||||
|
79
|
||||||
|
80
|
||||||
|
81
|
||||||
|
82
|
||||||
|
83
|
||||||
|
84</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 28</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 46</span>
|
||||||
|
|
||||||
class cd_clamav::params (
|
class cd_clamav::params (
|
||||||
|
|
||||||
@@ -205,6 +421,20 @@ class cd_clamav::params (
|
|||||||
$reqpackages = ['clamav','clamav-update','clamd'],
|
$reqpackages = ['clamav','clamav-update','clamd'],
|
||||||
$pkg_ensure = 'present',
|
$pkg_ensure = 'present',
|
||||||
|
|
||||||
|
# clamd
|
||||||
|
$cv_logfile = '/var/log/clamd.scan',
|
||||||
|
$cv_logfileunlock = 'no',
|
||||||
|
$cv_logfilemaxsize = '2M',
|
||||||
|
$cv_logtime = 'yes',
|
||||||
|
$cv_logclean = 'no',
|
||||||
|
$cv_logsyslog = 'yes',
|
||||||
|
$cv_logfacility = 'LOG_MAIL',
|
||||||
|
$cv_logverbose = 'no',
|
||||||
|
$cv_logrotate = 'yes',
|
||||||
|
$cv_preludeenable = 'no',
|
||||||
|
$cv_preludeanalyzername = 'ClamAV',
|
||||||
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# service
|
# service
|
||||||
|
|||||||
Reference in New Issue
Block a user