Compare commits
1 Commits
master
...
6f3addff5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f3addff5b |
@@ -98,11 +98,6 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -78,13 +78,6 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::confdroid_clamav::params" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
|
||||
<dd>confdroid_clamav::params</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
|
||||
<dd>confdroid_clamav::params</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
|
||||
<dd>confdroid_clamav::params</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
|
||||
<dd>confdroid_clamav::params</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@@ -110,14 +110,7 @@ confdroid_clamav
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22</pre>
|
||||
15</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span>
|
||||
@@ -127,16 +120,9 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
package { $cv_reqpackages:
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="confdroid_clamav_3A_3Aparams.html" title="puppet_classes::confdroid_clamav::params (puppet_class)">confdroid_clamav::params</a></span></dd>
|
||||
<dd>confdroid_clamav::params</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -607,24 +607,6 @@ inherited by all classes except defines.
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>nice value for clamd. This is a number between -20 and 19. The lower the number, the higher the priority. The default is 19, which is the lowest priority.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>cv_timeout_start_sec</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'420'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>timeout for starting the clamd service.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -640,6 +622,7 @@ inherited by all classes except defines.
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
@@ -696,12 +679,10 @@ inherited by all classes except defines.
|
||||
103
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
108</pre>
|
||||
106</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 50</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 49</span>
|
||||
|
||||
class confdroid_clamav::params (
|
||||
|
||||
@@ -735,8 +716,7 @@ class confdroid_clamav::params (
|
||||
String $cv_concurrentdatabasereload = 'no',
|
||||
String $cv_clamd_max_mem = '512M',
|
||||
String $cv_clamd_cpu_quota = '30%',
|
||||
String $cv_nice_value = '19',
|
||||
String $cv_timeout_start_sec = '420'
|
||||
String $cv_nice_value = '19'
|
||||
|
||||
) {
|
||||
# service
|
||||
|
||||
@@ -9,14 +9,7 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
package { $cv_reqpackages:
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ class confdroid_clamav::params (
|
||||
String $cv_concurrentdatabasereload = 'no',
|
||||
String $cv_clamd_max_mem = '512M',
|
||||
String $cv_clamd_cpu_quota = '30%',
|
||||
String $cv_nice_value = '19',
|
||||
String $cv_nice_value = '19'
|
||||
String $cv_timeout_start_sec = '420'
|
||||
|
||||
) {
|
||||
|
||||
@@ -14,7 +14,7 @@ ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
Restart = on-failure
|
||||
TimeoutStartSec=<%= @cv_timeout_start_sec %>
|
||||
MemoryMax=<%= @cv_clamd_max_mem %>
|
||||
MemoryLimit=<%= @cv_clamd_max_mem %>
|
||||
CPUQuota=<%= @cv_clamd_cpu_quota %>
|
||||
Nice=<%= @cv_nice_value %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user