Puppet Class: confdroid_haproxy::server::service
- Inherits:
- confdroid_haproxy::params
- Defined in:
- manifests/server/service.pp
Summary
Class manages the service(s) for confdroid_haproxy.Overview
confdroid_haproxy::server::service.pp Module name: confdroid_haproxy Author: Arne Teuke (arne_teuke@confdroid.com)
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/server/service.pp', line 6
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,
}
}
}
|