Puppet Class: confdroid_haproxy::main::config
- Inherits:
- confdroid_haproxy::params
- Defined in:
- manifests/main/config.pp
Summary
Class manages module logic for confdroid_haproxy.Overview
confdroid_haproxy::main::config.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 21 |
# File 'manifests/main/config.pp', line 6
class confdroid_haproxy::main::config (
) inherits confdroid_haproxy::params {
include confdroid_haproxy::server::service
if $hy_manage_fail2ban == true {
include confdroid_haproxy::monitoring::fail2ban
}
if $hy_selinux_allow_stats == true {
exec { 'setsebool haproxy_connect_any on':
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
onlyif => '/usr/sbin/getsebool haproxy_connect_any | /usr/bin/grep -q " --> off$"',
}
}
}
|