Documentation by YARD 0.9.16
+Alphabetic Index
+ +Puppet Class Listing A-Z
+ + +
+
+
+
|
+
File Listing
+-
+
+
+
- README + + +
From 27917c238c71e255b0925b5e4a391d1b74f6d29e Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
+Changelog of Git Changelog.
+
+ Git Changelog changelog
+
+ Unreleased
+ No issue
+
+d3b25136a07703d 12ww1160 2019-10-07 16:25:19
+Initial commit
+
+
+
+
+
|
+
| t |
+ + + +23 +24 +25 +26 +27 +28 +29+ |
+
+ # File 'manifests/init.pp', line 23
+
+class cd_clamav {
+ include cd_clamav::params
+
+ resources { 'firewall':
+ purge => true
+ }
+}
+ |
+
cd_clamav::main::config.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ +
+ + + +24 +25 +26 +27 +28 +29 +30+ |
+
+ # File 'manifests/main/config.pp', line 24
+
+class cd_clamav::main::config (
+
+) inherits cd_clamav::params {
+
+ require cd_clamav::main::install
+
+}
+ |
+
cd_clamav ::main::install.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@ConfDroid.com)
+ +This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of <service / +purpose> Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This +program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) +any later version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ +
+ + + +25 +26 +27 +28 +29 +30 +31 +32 +33 +34+ |
+
+ # File 'manifests/main/install.pp', line 25
+
+class cd_clamav::main::install (
+
+) inherits cd_clamav::params {
+
+ require cd_clamav::main::yumrepo
+
+ package {$reqpackages:
+ ensure => $pkg_ensure,
+ }
+}
+ |
+
cd_clamav::params.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ +
+ + + +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41+ |
+
+ # File 'manifests/params.pp', line 28
+
+class cd_clamav::params (
+
+# installation
+$reqpackages = ['clamav','clamd'],
+$pkg_ensure = 'latest',
+
+) {
+
+
+# includes must be last
+
+ include cd_clamav::main::config
+
+}
+ |
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# File 'manifests/main/install.pp', line 25 @@ -139,8 +137,6 @@ class cd_clamav::main::install ( ) inherits cd_clamav::params { - require cd_clamav::main::yumrepo - package {$reqpackages: ensure => $pkg_ensure, } From 9f2852d61edbc5bbef3c4e54ae86df7c2e5c0ba6 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Tue, 24 Dec 2019 23:24:14 +0100 Subject: [PATCH 06/12] recommit for updates in build 21 --- CHANGELOG.md | 10 ++ REPOSTRUCTURE.md | 10 +- doc/_index.html | 15 ++ doc/puppet_class_list.html | 23 ++- .../cd_clamav_3A_3Amain_3A_3Aconfig.html | 2 +- .../cd_clamav_3A_3Amain_3A_3Adirs.html | 149 ++++++++++++++++ .../cd_clamav_3A_3Amain_3A_3Afiles.html | 151 ++++++++++++++++ .../cd_clamav_3A_3Amain_3A_3Ainstall.html | 24 ++- .../cd_clamav_3A_3Amain_3A_3Aservice.html | 163 ++++++++++++++++++ doc/puppet_classes/cd_clamav_3A_3Aparams.html | 12 +- 10 files changed, 540 insertions(+), 19 deletions(-) create mode 100644 doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Adirs.html create mode 100644 doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Afiles.html create mode 100644 doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 182c4d5..66b1d9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+0d8da38d9c95ac7 Jenkins ConfDroid 2019-12-24 21:37:12 ++
recommit for updates in build 20
+ + +c18a28c767382a2 Arne Teuke 2019-12-24 21:36:34 ++
removes link to yumrepo
+ + 18ea2b3878bb807 Jenkins ConfDroid 2019-12-24 21:17:31
recommit for updates in build 19
diff --git a/REPOSTRUCTURE.md b/REPOSTRUCTURE.md index c1b3857..dde6ab7 100644 --- a/REPOSTRUCTURE.md +++ b/REPOSTRUCTURE.md @@ -22,9 +22,15 @@ |-- manifests | |-- main | | |-- config.pp -| | `-- install.pp +| | |-- dirs.pp +| | |-- files.pp +| | |-- install.pp +| | `-- service.pp | |-- init.pp | `-- params.pp +|-- templates +| |-- freshclam_conf.erb +| `-- scan_conf.erb |-- CHANGELOG.md |-- Gemfile |-- Gemfile.lock @@ -32,4 +38,4 @@ |-- LICENSE `-- README.md -6 directories, 26 files +7 directories, 31 files diff --git a/doc/_index.html b/doc/_index.html index d5b364e..92dee3e 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -78,11 +78,26 @@ +- + cd_clamav::main::dirs + +
+ +- + cd_clamav::main::files + +
+- cd_clamav::main::install
+- + cd_clamav::main::service + +
+- cd_clamav::params diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index d80d2fe..d23cae2 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -50,6 +50,20 @@
+- + +
+ + +- + +
+ + cd_clamav::main::install @@ -57,7 +71,14 @@ -- +
- + +
+ + +- diff --git a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aconfig.html index 2edd74e..22150f9 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aconfig.html @@ -132,7 +132,7 @@ class cd_clamav::main::config ( ) inherits cd_clamav::params { - require cd_clamav::main::install + include cd_clamav::main::service }
cd_clamav::main::dirs.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ +
+ + + +23 +24 +25 +26 +27 +28 +29+ |
+
+ # File 'manifests/main/dirs.pp', line 23
+
+class cd_clamav::main::dirs (
+
+) inherits cd_clamav::params {
+
+ require cd_clamav::main::install
+
+}
+ |
+
cd_clamav::main::files.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ +
+ + + +23 +24 +25 +26 +27 +28 +29 +30+ |
+
+ # File 'manifests/main/files.pp', line 23
+
+class cd_clamav::main::files (
+
+) inherits cd_clamav::params {
+
+ require cd_clamav::main::dirs
+
+
+}
+ |
+
cd_clamav ::main::install.pp Module name: cd_clamav Author: Arne Teuke -(arne_teuke@ConfDroid.com)
+(arne_teuke@confdroid.com) License: This file is part of cd_clamav. -This file is part of cd_clamav.
- -cd_clamav is used for providing automatic configuration of <service / -purpose> Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This -program is free software: you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation, either version 3 of the License, or (at your option) -any later version.
+cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -121,17 +117,17 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.
+24 25 26 27 28 29 30 -31 -32+31
# File 'manifests/main/install.pp', line 25 +# File 'manifests/main/install.pp', line 24 class cd_clamav::main::install ( diff --git a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html new file mode 100644 index 0000000..a23e2ad --- /dev/null +++ b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html @@ -0,0 +1,163 @@ + + + + + ++ Puppet Class: cd_clamav::main::service + + — Documentation by YARD 0.9.16 + + + + + + + + + + + + + + + + + + + +++ + \ No newline at end of file diff --git a/doc/puppet_classes/cd_clamav_3A_3Aparams.html b/doc/puppet_classes/cd_clamav_3A_3Aparams.html index e2c3cfd..a09fdcb 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Aparams.html +++ b/doc/puppet_classes/cd_clamav_3A_3Aparams.html @@ -67,10 +67,16 @@+ + ++ ++ + + + + + ++ ++ + + +Puppet Class: cd_clamav::main::service
++ ++ ++
+ + +- Inherits:
+- cd_clamav::params
++
+- Defined in:
+- + manifests/main/service.pp +
+Summary
+ Class manages the service(s) for cd_clamav. + +Overview
+++ + ++ ++cd_clamav::main::service.pp Module name: cd_clamav Author: Arne Teuke +(arne_teuke@confdroid.com) License: This file is part of cd_clamav.
+ +cd_clamav is used for providing automatic configuration of Clamav. +Copyright (C) 2019 confdroid (copyright@confdroid.com) This program is +free software: you can redistribute it and/or modify it under the terms of +the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version.
+ +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details.
+ +You should have received a copy of the GNU General Public License along +with this program. If not, see www.gnu.org/licenses/.
+ ++++
++ ++ ++ + +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36++ +# File 'manifests/main/service.pp', line 23 + +class cd_clamav::main::service ( + +) inherits cd_clamav::params { + + require cd_clamav::main::files + + service { $cv_service: + ensure => running, + hasstatus => true, + hasrestart => true, + enable => true, + } + +}+
latest or present.
38
39
40
-41
+41
+42
+43
# File 'manifests/params.pp', line 28 @@ -190,6 +198,8 @@ $pkg_ensure = 'latest', ) { +$cv_service = 'clamd@.service' + # includes must be last From 87b72468db8186a2fa3f622fd84221400379da3a Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Tue, 24 Dec 2019 23:58:56 +0100 Subject: [PATCH 07/12] recommit for updates in build 22 --- CHANGELOG.md | 10 ++++++++++ REPOSTRUCTURE.md | 5 ++++- .../cd_clamav_3A_3Amain_3A_3Aservice.html | 12 ++++++------ doc/puppet_classes/cd_clamav_3A_3Aparams.html | 14 ++++++++++---- 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66b1d9e..769516e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+9f2852d61edbc5b Jenkins ConfDroid 2019-12-24 22:24:14 ++
recommit for updates in build 21
+ + +08d621b25c90d4d Arne Teuke 2019-12-24 22:23:25 ++
adds controls for service, files and dirs, plus templates
+ + 0d8da38d9c95ac7 Jenkins ConfDroid 2019-12-24 21:37:12
recommit for updates in build 20
diff --git a/REPOSTRUCTURE.md b/REPOSTRUCTURE.md index dde6ab7..8cd8ef6 100644 --- a/REPOSTRUCTURE.md +++ b/REPOSTRUCTURE.md @@ -10,7 +10,10 @@ | | `-- jquery.js | |-- puppet_classes | | |-- cd_clamav_3A_3Amain_3A_3Aconfig.html +| | |-- cd_clamav_3A_3Amain_3A_3Adirs.html +| | |-- cd_clamav_3A_3Amain_3A_3Afiles.html | | |-- cd_clamav_3A_3Amain_3A_3Ainstall.html +| | |-- cd_clamav_3A_3Amain_3A_3Aservice.html | | |-- cd_clamav_3A_3Aparams.html | | `-- cd_clamav.html | |-- file.README.html @@ -38,4 +41,4 @@ |-- LICENSE `-- README.md -7 directories, 31 files +7 directories, 34 files diff --git a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html index a23e2ad..64023da 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html +++ b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Aservice.html @@ -140,12 +140,12 @@ class cd_clamav::main::service ( require cd_clamav::main::files - service { $cv_service: - ensure => running, - hasstatus => true, - hasrestart => true, - enable => true, - } +# service { $cv_service: +# ensure => running, +# hasstatus => true, +# hasrestart => true, +# enable => true, +# } }
latest or present.
40
41
42
-43
+43
+44
+45
# File 'manifests/params.pp', line 28 @@ -193,12 +197,14 @@ type to choose, i.e.+43latestorpresent. class cd_clamav::params ( # installation -$reqpackages = ['clamav','clamd'], +$reqpackages = ['clamav','clamav-server','clamav-data','clamav-update', + 'clamav-filesystem','clamav-scanner-systemd', + 'clamav-devel','clamav-lib','clamav-server-systemd'], $pkg_ensure = 'latest', ) { -$cv_service = 'clamd@.service' +$cv_service = '' # includes must be last From a69c0e096e10f44fbccb5de62d76277747cf8976 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Thu, 26 Dec 2019 17:01:59 +0100 Subject: [PATCH 08/12] recommit for updates in build 23 --- CHANGELOG.md | 10 ++++++++++ doc/puppet_classes/cd_clamav_3A_3Aparams.html | 12 +++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 769516e..2c1f4e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+87b72468db8186a Jenkins ConfDroid 2019-12-24 22:58:56 ++
recommit for updates in build 22
+ + +830805df577ff60 Arne Teuke 2019-12-24 22:58:13 ++
adds controls for service, files and dirs, plus templates
+ + 9f2852d61edbc5b Jenkins ConfDroid 2019-12-24 22:24:14
recommit for updates in build 21
diff --git a/doc/puppet_classes/cd_clamav_3A_3Aparams.html b/doc/puppet_classes/cd_clamav_3A_3Aparams.html index dc93c85..1a80405 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Aparams.html +++ b/doc/puppet_classes/cd_clamav_3A_3Aparams.html @@ -131,9 +131,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/. (string) - (defaults to: ['clamav','clamav-server','clamav-data','clamav-update', - 'clamav-filesystem','clamav-scanner-systemd', - 'clamav-devel','clamav-lib','clamav-server-systemd']) + (defaults to: ['clamav']) — @@ -187,9 +185,7 @@ type to choose, i.e.latestorpresent. 40 41 42 -43 -44 -45
# File 'manifests/params.pp', line 28 @@ -197,9 +193,7 @@ type to choose, i.e.+43 +44 +45latestorpresent. class cd_clamav::params ( # installation -$reqpackages = ['clamav','clamav-server','clamav-data','clamav-update', - 'clamav-filesystem','clamav-scanner-systemd', - 'clamav-devel','clamav-lib','clamav-server-systemd'], +$reqpackages = ['clamav'], $pkg_ensure = 'latest', ) { From 3f2934b4a3e16c4c588431bf77b185d1b5d6f29b Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Thu, 26 Dec 2019 17:03:26 +0100 Subject: [PATCH 09/12] recommit for updates in build 24 --- CHANGELOG.md | 10 ++++++++++ doc/puppet_classes/cd_clamav_3A_3Aparams.html | 12 +++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c1f4e2..6a61e80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+a69c0e096e10f44 Jenkins ConfDroid 2019-12-26 16:01:59 ++
recommit for updates in build 23
+ + +321186fc7f76c7a Arne Teuke 2019-12-26 16:01:18 ++
changes packages
+ + 87b72468db8186a Jenkins ConfDroid 2019-12-24 22:58:56
recommit for updates in build 22
diff --git a/doc/puppet_classes/cd_clamav_3A_3Aparams.html b/doc/puppet_classes/cd_clamav_3A_3Aparams.html index 1a80405..c60cf27 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Aparams.html +++ b/doc/puppet_classes/cd_clamav_3A_3Aparams.html @@ -131,7 +131,9 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/. (string) - (defaults to: ['clamav']) + (defaults to: ['clamav','clamav-data','clamav-update', + 'clamav-filesystem', + 'clamav-devel','clamav-lib']) — @@ -185,7 +187,9 @@ type to choose, i.e.latestorpresent. 40 41 42 -43
# File 'manifests/params.pp', line 28 @@ -193,7 +197,9 @@ type to choose, i.e.+43latestorpresent. class cd_clamav::params ( # installation -$reqpackages = ['clamav'], +$reqpackages = ['clamav','clamav-data','clamav-update', + 'clamav-filesystem', + 'clamav-devel','clamav-lib'], $pkg_ensure = 'latest', ) { From 96cb29bd1845c61bbca1f873f47cd2ed9429ee27 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Thu, 26 Dec 2019 17:26:48 +0100 Subject: [PATCH 10/12] recommit for updates in build 25 --- CHANGELOG.md | 10 ++++++++++ doc/puppet_classes/cd_clamav_3A_3Aparams.html | 12 +++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a61e80..76f2e7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+3f2934b4a3e16c4 Jenkins ConfDroid 2019-12-26 16:03:26 ++
recommit for updates in build 24
+ + +1e6d36787bd5827 Arne Teuke 2019-12-26 16:02:49 ++
changes packages
+ + a69c0e096e10f44 Jenkins ConfDroid 2019-12-26 16:01:59
recommit for updates in build 23
diff --git a/doc/puppet_classes/cd_clamav_3A_3Aparams.html b/doc/puppet_classes/cd_clamav_3A_3Aparams.html index c60cf27..fbcb5de 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Aparams.html +++ b/doc/puppet_classes/cd_clamav_3A_3Aparams.html @@ -131,9 +131,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/. (string) - (defaults to: ['clamav','clamav-data','clamav-update', - 'clamav-filesystem', - 'clamav-devel','clamav-lib']) + (defaults to: ['clamav','clamav-update','clamd']) — @@ -187,9 +185,7 @@ type to choose, i.e.latestorpresent. 40 41 42 -43 -44 -45
# File 'manifests/params.pp', line 28 @@ -197,9 +193,7 @@ type to choose, i.e.+29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41latestorpresent. class cd_clamav::params ( # installation -$reqpackages = ['clamav','clamav-data','clamav-update', - 'clamav-filesystem', - 'clamav-devel','clamav-lib'], +$reqpackages = ['clamav','clamav-update','clamd'], $pkg_ensure = 'latest', ) { From e5ae4a9bf36cf9a6891cf86430f5d60fcd516aaf Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Thu, 26 Dec 2019 18:34:57 +0100 Subject: [PATCH 11/12] recommit for updates in build 27 --- CHANGELOG.md | 10 ++++ .../cd_clamav_3A_3Amain_3A_3Adirs.html | 26 +++++++++- .../cd_clamav_3A_3Amain_3A_3Afiles.html | 52 ++++++++++++++++++- doc/puppet_classes/cd_clamav_3A_3Aparams.html | 28 ++++++++-- 4 files changed, 109 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76f2e7b..dfd6b9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ Changelog of Git Changelog. Unreleased
No issue
+96cb29bd1845c61 Jenkins ConfDroid 2019-12-26 16:26:48 ++
recommit for updates in build 25
+ + +795543319c34b3b Arne Teuke 2019-12-26 16:26:06 ++
changes packages
+ + 3f2934b4a3e16c4 Jenkins ConfDroid 2019-12-26 16:03:26
recommit for updates in build 24
diff --git a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Adirs.html index bcf22b6..67d262e 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/cd_clamav_3A_3Amain_3A_3Adirs.html @@ -122,7 +122,19 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/. 26 27 28 -29
# File 'manifests/main/dirs.pp', line 23
@@ -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,
+ }
+
}
# File 'manifests/main/files.pp', line 23
@@ -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),
+ }
}
latest or present.
40
41
42
-43
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
# File 'manifests/params.pp', line 28 @@ -193,13 +202,22 @@ type to choose, i.e.latestorpresent. class cd_clamav::params ( # installation -$reqpackages = ['clamav','clamav-update','clamd'], -$pkg_ensure = 'latest', +$reqpackages = ['clamav','clamav-update','clamd'], +$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 From 344a0ae308061489e58c6b34350b2b2c05659f61 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroidDate: Tue, 1 Dec 2020 18:21:57 +0100 Subject: [PATCH 12/12] recommit for updates in build 30 --- doc/file.README.html | 8 +- doc/index.html | 8 +- doc/puppet_classes/cd_clamav_3A_3Aparams.html | 274 ++++++++++++++++-- 3 files changed, 256 insertions(+), 34 deletions(-) diff --git a/doc/file.README.html b/doc/file.README.html index 5ae4bf8..b1b13da 100644 --- a/doc/file.README.html +++ b/doc/file.README.html @@ -58,9 +58,8 @@ -|Repo Name| version | Build Status| |—|—|—|—| |
+cd_clamav| -0.0.0.1 ||
Synopsis
@@ -112,9 +111,6 @@ Structure- - -
- diff --git a/doc/index.html b/doc/index.html index eac0140..c036615 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,9 +58,8 @@
-|Repo Name| version | Build Status| |—|—|—|—| |
+cd_clamav| -0.0.0.1 ||
Synopsis
@@ -112,9 +111,6 @@ Structure- - -
- diff --git a/doc/puppet_classes/cd_clamav_3A_3Aparams.html b/doc/puppet_classes/cd_clamav_3A_3Aparams.html index 6ce8306..e1a3d2f 100644 --- a/doc/puppet_classes/cd_clamav_3A_3Aparams.html +++ b/doc/puppet_classes/cd_clamav_3A_3Aparams.html @@ -156,6 +156,208 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.
+ ++ +which package type to choose, i.e.
+latestorpresent.- + + cv_logfile + + + (string) + + + (defaults to: '/var/log/clamd.scan') + + + — +
+ +++ +where to log messages for the clamd service.
+- + + cv_logfileunlock + + + (string) + + + (defaults to: 'no') + + + — +
+ +++ +whether log file should be locked for writing -the lock protects +againstrunning clamd multiple times
+- + + cv_logfilemaxsize + + + (string) + + + (defaults to: '2M') + + + — +
+ +++ +themax size for the logfile. This also enables logrotation.
+- + + cv_logtime + + + (string) + + + (defaults to: 'yes') + + + — +
+ +++ +Whether to log the time with each message.
+- + + cv_logclean + + + (string) + + + (defaults to: 'no') + + + — +
+ +++ +whether to log clean files. Useful in debugging but drastically increases +the log size.
+- + + cv_logsyslog + + + (string) + + + (defaults to: 'yes') + + + — +
+ +++ +Use system logger (can work together with LogFile).
+- + + cv_logfacility + + + (string) + + + (defaults to: 'LOG_MAIL') + + + — +
+ +++ +type of syslog messages - please refer to 'man syslog'for facility +names
+- + + cv_logverbose + + + (string) + + + (defaults to: 'no') + + + — +
+ +++ +Whether to log verbose.
+- + + cv_logrotate + + + (string) + + + (defaults to: 'yes') + + + — +
+ +++ +whether to enable log rotation. Always enabled when LogFileMaxSize is +enabled.
+- + + cv_preludeenable + + + (string) + + + (defaults to: 'no') + + + — +
+ +++ +whether to enable prelude output.
+- + + cv_preludeanalyzername + + + (string) + + + (defaults to: 'ClamAV') + + + — +
@@ -170,40 +372,68 @@ type to choose, i.e.+name of the analyzer used by prelude-admin.
latestorpresent.-28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 46 47 48 49 50 51 -52+52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84
# File 'manifests/params.pp', line 28
+ # File 'manifests/params.pp', line 46
class cd_clamav::params (
# installation
-$reqpackages = ['clamav','clamav-update','clamd'],
-$pkg_ensure = 'present',
+$reqpackages = ['clamav','clamav-update','clamd'],
+$pkg_ensure = 'present',
+
+# clamd
+$cv_logfile = '/var/log/clamd.scan',
+$cv_logfileunlock = 'no',
+$cv_logfilemaxsize = '2M',
+$cv_logtime = 'yes',
+$cv_logclean = 'no',
+$cv_logsyslog = 'yes',
+$cv_logfacility = 'LOG_MAIL',
+$cv_logverbose = 'no',
+$cv_logrotate = 'yes',
+$cv_preludeenable = 'no',
+$cv_preludeanalyzername = 'ClamAV',
+
) {