add EPEL resource
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
## cd_clamav::main::config.pp
|
||||
# Module name: cd_clamav
|
||||
## clamav_cd::main::config.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages all aspects of configuring the module logic for
|
||||
# cd_clamav.
|
||||
# clamav_cd.
|
||||
##############################################################################
|
||||
class cd_clamav::main::config (
|
||||
class clamav_cd::main::config (
|
||||
|
||||
) inherits cd_clamav::params {
|
||||
include cd_clamav::main::service
|
||||
) inherits clamav_cd::params {
|
||||
include clamav_cd::main::service
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
## cd_clamav::main::dirs.pp
|
||||
# Module name: cd_clamav
|
||||
## clamav_cd::main::dirs.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages all directories required for cd_clamav.
|
||||
# @summary Class manages all directories required for clamav_cd.
|
||||
###############################################################################
|
||||
class cd_clamav::main::dirs (
|
||||
class clamav_cd::main::dirs (
|
||||
|
||||
) inherits cd_clamav::params {
|
||||
require cd_clamav::main::install
|
||||
) inherits clamav_cd::params {
|
||||
require clamav_cd::main::install
|
||||
|
||||
# config.d dir
|
||||
file { $cv_config_d_dir:
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
## cd_clamav::main::files.pp
|
||||
# Module name: cd_clamav
|
||||
## clamav_cd::main::files.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages all configuration files required for cd_clamav.
|
||||
# @summary Class manages all configuration files required for clamav_cd.
|
||||
##############################################################################
|
||||
class cd_clamav::main::files (
|
||||
class clamav_cd::main::files (
|
||||
|
||||
) inherits cd_clamav::params {
|
||||
require cd_clamav::main::dirs
|
||||
) inherits clamav_cd::params {
|
||||
require clamav_cd::main::dirs
|
||||
|
||||
# clamd config file
|
||||
file { $cv_clamd_config_file:
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
## cd_clamav ::main::install.pp
|
||||
# Module name: cd_clamav
|
||||
## clamav_cd ::main::install.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manage all aspects of installing binaries required for
|
||||
# cd_clamav
|
||||
# clamav_cd
|
||||
###############################################################################
|
||||
class cd_clamav::main::install (
|
||||
class clamav_cd::main::install (
|
||||
|
||||
) inherits clamav_cd::params {
|
||||
require resources_cd::main::epel
|
||||
|
||||
) inherits cd_clamav::params {
|
||||
package { $reqpackages:
|
||||
ensure => $pkg_ensure,
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
## cd_clamav::main::service.pp
|
||||
# Module name: cd_clamav
|
||||
## clamav_cd::main::service.pp
|
||||
# Module name: clamav_cd
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @summary Class manages the service(s) for cd_clamav.
|
||||
# @summary Class manages the service(s) for clamav_cd.
|
||||
#############################################################################
|
||||
class cd_clamav::main::service (
|
||||
class clamav_cd::main::service (
|
||||
|
||||
) inherits cd_clamav::params {
|
||||
require cd_clamav::main::files
|
||||
) inherits clamav_cd::params {
|
||||
require clamav_cd::main::files
|
||||
|
||||
# service { $cv_service:
|
||||
# ensure => running,
|
||||
|
||||
Reference in New Issue
Block a user