Files
confdroid_haproxy/manifests/server/service.pp
Arne Teuke f09b452830 lint params
2025-03-02 16:28:57 +01:00

22 lines
538 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
service { $hy_service:
ensure => running,
hasstatus => true,
hasrestart => true,
enable => true,
}
}
}