Puppet Class: haproxy_cd::server::service
- Inherits:
- haproxy_cd::params
- Defined in:
- manifests/server/service.pp
Summary
Class manages the service(s) for haproxy_cd.Overview
haproxy_cd::server::service.pp Module name: haproxy_cd 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 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,
}
}
}
|