Files
confdroid_haproxy/manifests/server/service.pp
2025-03-02 17:26:09 +01:00

21 lines
568 B
Puppet

## haproxy_cd::server::service.pp
# Module name: haproxy_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary Class manages the service(s) for haproxy_cd.
#############################################################################
class haproxy_cd::server::service (
) inherits haproxy_cd::params {
if $fqdn == $hy_host_fqdn {
require haproxy_cd::firewall::iptables
require haproxy_cd::main::files
service { $hy_service:
ensure => running,
hasstatus => true,
hasrestart => true,
enable => true,
}
}
}