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