Compare commits
14 Commits
6f3addff5b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8143691dd | ||
|
|
4356c549db | ||
| 9792e3c268 | |||
|
|
170e087a3c | ||
|
|
e65c98a16e | ||
| 5e3dcbbd1b | |||
|
|
ec9f3674f2 | ||
| ab50ce82f2 | |||
|
|
bda2cfda73 | ||
| dfb9601a5d | |||
|
|
3e0ccc94d0 | ||
|
|
ca315d9f4e | ||
| dfd2cba657 | |||
|
|
63540d9d22 |
@@ -98,6 +98,11 @@
|
|||||||
|
|
||||||
</li>
|
</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>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -78,6 +78,13 @@
|
|||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_clamav::params</dd>
|
<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>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_clamav::params</dd>
|
<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>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_clamav::params</dd>
|
<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>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_clamav::params</dd>
|
<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>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_clamav::params</dd>
|
<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>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -607,6 +607,24 @@ inherited by all classes except defines.
|
|||||||
—
|
—
|
||||||
<div class='inline'>
|
<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>
|
<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>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -622,7 +640,6 @@ inherited by all classes except defines.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
49
|
|
||||||
50
|
50
|
||||||
51
|
51
|
||||||
52
|
52
|
||||||
@@ -679,10 +696,12 @@ inherited by all classes except defines.
|
|||||||
103
|
103
|
||||||
104
|
104
|
||||||
105
|
105
|
||||||
106</pre>
|
106
|
||||||
|
107
|
||||||
|
108</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 49</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 50</span>
|
||||||
|
|
||||||
class confdroid_clamav::params (
|
class confdroid_clamav::params (
|
||||||
|
|
||||||
@@ -716,7 +735,8 @@ class confdroid_clamav::params (
|
|||||||
String $cv_concurrentdatabasereload = 'no',
|
String $cv_concurrentdatabasereload = 'no',
|
||||||
String $cv_clamd_max_mem = '512M',
|
String $cv_clamd_max_mem = '512M',
|
||||||
String $cv_clamd_cpu_quota = '30%',
|
String $cv_clamd_cpu_quota = '30%',
|
||||||
String $cv_nice_value = '19'
|
String $cv_nice_value = '19',
|
||||||
|
String $cv_timeout_start_sec = '420'
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# service
|
# service
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class confdroid_clamav::params (
|
|||||||
String $cv_concurrentdatabasereload = 'no',
|
String $cv_concurrentdatabasereload = 'no',
|
||||||
String $cv_clamd_max_mem = '512M',
|
String $cv_clamd_max_mem = '512M',
|
||||||
String $cv_clamd_cpu_quota = '30%',
|
String $cv_clamd_cpu_quota = '30%',
|
||||||
String $cv_nice_value = '19'
|
String $cv_nice_value = '19',
|
||||||
String $cv_timeout_start_sec = '420'
|
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
|
ExecReload=/bin/kill -USR2 $MAINPID
|
||||||
Restart = on-failure
|
Restart = on-failure
|
||||||
TimeoutStartSec=<%= @cv_timeout_start_sec %>
|
TimeoutStartSec=<%= @cv_timeout_start_sec %>
|
||||||
MemoryLimit=<%= @cv_clamd_max_mem %>
|
MemoryMax=<%= @cv_clamd_max_mem %>
|
||||||
CPUQuota=<%= @cv_clamd_cpu_quota %>
|
CPUQuota=<%= @cv_clamd_cpu_quota %>
|
||||||
Nice=<%= @cv_nice_value %>
|
Nice=<%= @cv_nice_value %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user