Compare commits
1 Commits
089ce65839
...
154775a93a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
154775a93a |
@@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,33 +40,32 @@
|
|||||||
class confdroid_clamav::params (
|
class confdroid_clamav::params (
|
||||||
|
|
||||||
# installation
|
# installation
|
||||||
Array $cv_reqpackages = ['clamav','clamd','s-nail'],
|
Array $cv_reqpackages = ['clamav','clamd','s-nail'],
|
||||||
String $cv_pkg_ensure = 'present',
|
String $cv_pkg_ensure = 'present',
|
||||||
|
|
||||||
# clamd
|
# clamd
|
||||||
String $cv_logfile = '/var/log/clamd.scan',
|
String $cv_logfile = '/var/log/clamd.scan',
|
||||||
String $cv_logfileunlock = 'no',
|
String $cv_logfileunlock = 'no',
|
||||||
String $cv_logfilemaxsize = '2M',
|
String $cv_logfilemaxsize = '2M',
|
||||||
String $cv_logtime = 'yes',
|
String $cv_logtime = 'yes',
|
||||||
String $cv_logclean = 'no',
|
String $cv_logclean = 'no',
|
||||||
String $cv_logsyslog = 'yes',
|
String $cv_logsyslog = 'yes',
|
||||||
String $cv_logfacility = 'LOG_MAIL',
|
String $cv_logfacility = 'LOG_MAIL',
|
||||||
String $cv_logverbose = 'no',
|
String $cv_logverbose = 'no',
|
||||||
String $cv_logrotate = 'yes',
|
String $cv_logrotate = 'yes',
|
||||||
String $cv_preludeenable = 'no',
|
String $cv_preludeenable = 'no',
|
||||||
String $cv_preludeanalyzername = 'ClamAV',
|
String $cv_preludeanalyzername = 'ClamAV',
|
||||||
String $cv_tcpsocket = '3310',
|
String $cv_tcpsocket = '3310',
|
||||||
String $cv_tcpaddress = 'localhost',
|
String $cv_tcpaddress = 'localhost',
|
||||||
String $cv_alert_email = 'you@example.com',
|
String $cv_alert_email = 'you@example.com',
|
||||||
String $cv_cron_hour = '2',
|
String $cv_cron_hour = '2',
|
||||||
String $cv_cron_minute = '0',
|
String $cv_cron_minute = '0',
|
||||||
String $cv_cron_user = 'root',
|
String $cv_cron_user = 'root',
|
||||||
String $cv_scan_dir = '/',
|
String $cv_scan_dir = '/',
|
||||||
String $cv_alert_file = 'tmp/clamav-alert.txt',
|
String $cv_alert_file = 'tmp/clamav-alert.txt',
|
||||||
Boolean $cv_enable_freshclam = true,
|
Boolean $cv_enable_freshclam = true,
|
||||||
Boolean $cv_enable_clamd = true,
|
Boolean $cv_enable_clamd = true,
|
||||||
Boolean $cv_use_excludepaths = true
|
Boolean $cv_use_excludepaths = true
|
||||||
String $cv_concurrentdatabasereload = 'no'
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# service
|
# service
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ LogRotate <%= @cv_logrotate %>
|
|||||||
PreludeEnable <%= @cv_preludeenable %>
|
PreludeEnable <%= @cv_preludeenable %>
|
||||||
TCPSocket <%= @cv_tcpsocket %>
|
TCPSocket <%= @cv_tcpsocket %>
|
||||||
TCPAddr <%= @cv_tcpaddress %>
|
TCPAddr <%= @cv_tcpaddress %>
|
||||||
ConcurrentDatabaseReload <%= @cv_concurrentdatabasereload %>
|
|
||||||
#
|
#
|
||||||
# Set the name of the analyzer used by prelude-admin.
|
# Set the name of the analyzer used by prelude-admin.
|
||||||
# Default: ClamAV
|
# Default: ClamAV
|
||||||
|
|||||||
Reference in New Issue
Block a user