Compare commits
4 Commits
d8143691dd
...
1473a2185f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1473a2185f | ||
|
|
45439a079a | ||
| ebd3f118e8 | |||
|
|
bc43920da9 |
@@ -110,7 +110,14 @@ confdroid_clamav
|
||||
12
|
||||
13
|
||||
14
|
||||
15</pre>
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 7</span>
|
||||
@@ -120,9 +127,16 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
package { $cv_reqpackages:
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -9,7 +9,14 @@ class confdroid_clamav::main::install (
|
||||
) inherits confdroid_clamav::params {
|
||||
require confdroid_resources::main::epel
|
||||
|
||||
package { $cv_reqpackages:
|
||||
if $cv_enable_clamd == true {
|
||||
package { 'clamd':
|
||||
ensure => $cv_pkg_ensure,
|
||||
}
|
||||
}
|
||||
else {
|
||||
package { 'clamd':
|
||||
ensure => 'absent',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user