add parameters
This commit is contained in:
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -21,6 +21,9 @@
|
||||
"myusername",
|
||||
"preludeanalyzername",
|
||||
"preludeenable",
|
||||
"safebrowsing"
|
||||
"safebrowsing",
|
||||
"tcpaddre",
|
||||
"tcpaddress",
|
||||
"tcpsocket"
|
||||
]
|
||||
}
|
||||
@@ -25,6 +25,8 @@
|
||||
# @param [String] cv_preludeenable whether to enable prelude output.
|
||||
# @param [String] cv_preludeanalyzername name of the analyzer used by
|
||||
# prelude-admin.
|
||||
# @param [String] cv_tcpsocket socket port
|
||||
# @param [String] cv_tcpaddress ip address to listen on
|
||||
##############################################################################
|
||||
class clamav_cd::params (
|
||||
|
||||
@@ -44,6 +46,8 @@ class clamav_cd::params (
|
||||
String $cv_logrotate = 'yes',
|
||||
String $cv_preludeenable = 'no',
|
||||
String $cv_preludeanalyzername = 'ClamAV',
|
||||
String $cv_tcpsocket = '3310',
|
||||
String $cv_tcpaddress = '127.0.0.1',
|
||||
|
||||
) {
|
||||
# service
|
||||
|
||||
@@ -12,7 +12,8 @@ LogFacility <%= @cv_logfacility %>
|
||||
LogVerbose <%= @cv_logverbose %>
|
||||
LogRotate <%= @cv_logrotate %>
|
||||
PreludeEnable <%= @cv_preludeenable %>
|
||||
|
||||
TCPSocket <%= @cv_tcpsocket %>
|
||||
TCPAddr <<%= @cv_tcpaddress %>
|
||||
#
|
||||
# Set the name of the analyzer used by prelude-admin.
|
||||
# Default: ClamAV
|
||||
|
||||
Reference in New Issue
Block a user