18 lines
490 B
Puppet
18 lines
490 B
Puppet
## fail2ban_cd::main::service.pp
|
|
# Module name: fail2ban_cd
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
|
# @summary Class manages the service(s) for fail2ban_cd.
|
|
#############################################################################
|
|
class fail2ban_cd::main::service (
|
|
|
|
) inherits fail2ban_cd::params {
|
|
require fail2ban_cd::main::files
|
|
|
|
service { $fn_service:
|
|
ensure => $fn_enable_service,
|
|
hasstatus => true,
|
|
hasrestart => true,
|
|
enable => true,
|
|
}
|
|
}
|