Puppet Class: cd_haproxy::server::service
- Inherits:
- cd_haproxy::params
- Defined in:
- manifests/server/service.pp
Summary
Class manages the service(s) for cd_haproxy.Overview
cd_haproxy::server::service.pp Module name: cd_haproxy Author: Arne Teuke (arne_teuke@confdroid.com)
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/server/service.pp', line 6
class cd_haproxy::server::service (
) inherits cd_haproxy::params {
if $fqdn == $hy_host_fqdn {
require cd_haproxy::firewall::iptables
service { $hy_service:
ensure => running,
hasstatus => true,
hasrestart => true,
enable => true,
}
}
}
|