Recommit for updates in build 4
This commit is contained in:
@@ -120,8 +120,8 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
package { $reqpackages:
|
||||
ensure => $pkg_ensure,
|
||||
package { $cv_reqpackages:
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -109,7 +109,7 @@ inherited by all classes except defines.
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>reqpackages</span>
|
||||
<span class='name'>cv_reqpackages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Array</tt>)</span>
|
||||
@@ -127,7 +127,7 @@ inherited by all classes except defines.
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pkg_ensure</span>
|
||||
<span class='name'>cv_pkg_ensure</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
@@ -517,6 +517,24 @@ inherited by all classes except defines.
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>whether to enable the clamd service</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>cv_use_excludepaths</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Boolean</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>whether to use advanced exclude paths</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -532,7 +550,6 @@ inherited by all classes except defines.
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
@@ -582,16 +599,18 @@ inherited by all classes except defines.
|
||||
86
|
||||
87
|
||||
88
|
||||
89</pre>
|
||||
89
|
||||
90
|
||||
91</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 39</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 40</span>
|
||||
|
||||
class confdroid_clamav::params (
|
||||
|
||||
# installation
|
||||
Array $reqpackages = ['clamav','clamd','s-nail'],
|
||||
String $pkg_ensure = 'present',
|
||||
Array $cv_reqpackages = ['clamav','clamd','s-nail'],
|
||||
String $cv_pkg_ensure = 'present',
|
||||
|
||||
# clamd
|
||||
String $cv_logfile = '/var/log/clamd.scan',
|
||||
@@ -615,6 +634,7 @@ class confdroid_clamav::params (
|
||||
String $cv_alert_file = 'tmp/clamav-alert.txt',
|
||||
Boolean $cv_enable_freshclam = true,
|
||||
Boolean $cv_enable_clamd = true,
|
||||
Boolean $cv_use_excludepaths = true
|
||||
|
||||
) {
|
||||
# service
|
||||
|
||||
Reference in New Issue
Block a user