2017-06-19 13:34:42 +01:00
|
|
|
## cd_apache::server::service.pp
|
|
|
|
|
# Module name: cd_apache
|
|
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
2017-07-07 16:15:43 +01:00
|
|
|
# @summary manage the httpd service.
|
2017-06-19 13:34:42 +01:00
|
|
|
##############################################################################
|
|
|
|
|
class cd_apache::server::service (
|
|
|
|
|
|
|
|
|
|
) inherits cd_apache::params {
|
|
|
|
|
require cd_apache::server::files
|
2018-04-20 11:50:50 +02:00
|
|
|
require cd_apache::firewall::iptables
|
2017-06-19 13:34:42 +01:00
|
|
|
|
2017-06-19 14:32:14 +01:00
|
|
|
service { $ae_service:
|
2025-05-06 14:51:28 +02:00
|
|
|
ensure => running,
|
|
|
|
|
hasstatus => true,
|
|
|
|
|
hasrestart => true,
|
|
|
|
|
enable => true,
|
2017-06-19 14:32:14 +01:00
|
|
|
}
|
2017-06-19 13:34:42 +01:00
|
|
|
}
|