recommit for updates in build 27

This commit is contained in:
Jenkins ConfDroid
2019-12-26 18:34:57 +01:00
parent 0fe5c67eee
commit e5ae4a9bf3
4 changed files with 109 additions and 7 deletions

View File

@@ -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>

View File

@@ -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 =&gt; directory,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0755&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
}
}</pre>
</td>
</tr>

View File

@@ -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 =&gt; file,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0644&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
content =&gt; template($cv_clamd_config_erb),
# notify =&gt; Service[$cv_service],
}
# freshclam config file
file { $cv_freshclam_file:
ensure =&gt; file,
owner =&gt; &#39;root&#39;,
group =&gt; &#39;root&#39;,
mode =&gt; &#39;0600&#39;,
selrange =&gt; s0,
selrole =&gt; object_r,
seltype =&gt; etc_t,
seluser =&gt; system_u,
content =&gt; template($cv_freshclam_erb),
}
}</pre>
</td>
</tr>

View File

@@ -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>&#39;latest&#39;</tt>)</em>
<em class="default">(defaults to: <tt>&#39;present&#39;</tt>)</em>
&mdash;
@@ -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 = [&#39;clamav&#39;,&#39;clamav-update&#39;,&#39;clamd&#39;],
$pkg_ensure = &#39;latest&#39;,
$pkg_ensure = &#39;present&#39;,
) {
$cv_service = &#39;&#39;
# service
$cv_service = &#39;clamd@.service&#39;
# dirs
$cv_config_d_dir = &#39;/etc/clamd.d&#39;
# files
$cv_clamd_config_file = &quot;${cv_config_d_dir}/scan.conf&quot;
$cv_clamd_config_erb = &#39;cd_clamav/scan_conf.erb&#39;
$cv_freshclam_file = &#39;/etc/freshclam.conf&#39;
$cv_freshclam_erb = &#39;cd_clamav/freshclam_conf.erb&#39;
# includes must be last