2026-02-03 00:41:35 +01:00
|
|
|
## confdroid_apache::server::service.pp
|
|
|
|
|
# Module name: confdroid_apache
|
|
|
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
2017-07-07 16:15:43 +01:00
|
|
|
# @summary manage the httpd service.
|
2017-06-19 13:34:42 +01:00
|
|
|
##############################################################################
|
2026-02-03 00:41:35 +01:00
|
|
|
class confdroid_apache::server::service (
|
2017-06-19 13:34:42 +01:00
|
|
|
|
2026-02-03 00:41:35 +01:00
|
|
|
) inherits confdroid_apache::params {
|
|
|
|
|
require confdroid_apache::server::files
|
|
|
|
|
require confdroid_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
|
|
|
}
|