## 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, } } }