OP#785 add control for clamd service config file
This commit is contained in:
@@ -33,6 +33,7 @@ class confdroid_clamav::main::files (
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cv_freshclam_erb),
|
||||
notify => Service[$cv_freshclam],
|
||||
}
|
||||
|
||||
# freshclam service config file
|
||||
@@ -46,6 +47,21 @@ class confdroid_clamav::main::files (
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cv_freshclam_svc_erb),
|
||||
notify => Service[$cv_freshclam],
|
||||
}
|
||||
|
||||
# clamd service config file
|
||||
file { $cv_clamd_svc :
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0600',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cv_clamd_svc_erb),
|
||||
notify => Service[$cv_service],
|
||||
}
|
||||
|
||||
# shell script for scanning and alerting
|
||||
|
||||
Reference in New Issue
Block a user