recommit for updates in build 27
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -7,6 +7,16 @@ Changelog of Git Changelog.
|
||||
<h2> Unreleased </h2>
|
||||
<h2> No issue </h2>
|
||||
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/96cb29bd1845c61">96cb29bd1845c61</a> Jenkins ConfDroid <i>2019-12-26 16:26:48</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 25</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/795543319c34b3b">795543319c34b3b</a> Arne Teuke <i>2019-12-26 16:26:06</i>
|
||||
<p>
|
||||
<h3>changes packages</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/3f2934b4a3e16c4">3f2934b4a3e16c4</a> Jenkins ConfDroid <i>2019-12-26 16:03:26</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 24</h3>
|
||||
|
||||
@@ -122,7 +122,19 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
26
|
||||
27
|
||||
28
|
||||
29</pre>
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
||||
@@ -133,6 +145,18 @@ class cd_clamav::main::dirs (
|
||||
|
||||
require cd_clamav::main::install
|
||||
|
||||
# config.d dir
|
||||
file { $cv_config_d_dir:
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -123,7 +123,32 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
27
|
||||
28
|
||||
29
|
||||
30</pre>
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 23</span>
|
||||
@@ -134,7 +159,32 @@ class cd_clamav::main::files (
|
||||
|
||||
require cd_clamav::main::dirs
|
||||
|
||||
# clamd config file
|
||||
file { $cv_clamd_config_file:
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cv_clamd_config_erb),
|
||||
# notify => Service[$cv_service],
|
||||
}
|
||||
|
||||
# freshclam config file
|
||||
file { $cv_freshclam_file:
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0600',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($cv_freshclam_erb),
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -149,7 +149,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'latest'</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
@@ -185,7 +185,16 @@ type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||
40
|
||||
41
|
||||
42
|
||||
43</pre>
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 28</span>
|
||||
@@ -194,12 +203,21 @@ class cd_clamav::params (
|
||||
|
||||
# installation
|
||||
$reqpackages = ['clamav','clamav-update','clamd'],
|
||||
$pkg_ensure = 'latest',
|
||||
$pkg_ensure = 'present',
|
||||
|
||||
) {
|
||||
|
||||
$cv_service = ''
|
||||
# service
|
||||
$cv_service = 'clamd@.service'
|
||||
|
||||
# dirs
|
||||
$cv_config_d_dir = '/etc/clamd.d'
|
||||
|
||||
# files
|
||||
$cv_clamd_config_file = "${cv_config_d_dir}/scan.conf"
|
||||
$cv_clamd_config_erb = 'cd_clamav/scan_conf.erb'
|
||||
$cv_freshclam_file = '/etc/freshclam.conf'
|
||||
$cv_freshclam_erb = 'cd_clamav/freshclam_conf.erb'
|
||||
|
||||
# includes must be last
|
||||
|
||||
|
||||
Reference in New Issue
Block a user