adds haproxy user

This commit is contained in:
Arne Teuke
2018-12-10 14:36:54 +01:00
parent f1ced15fee
commit 2f3afa420b
10 changed files with 194 additions and 40 deletions

View File

@@ -39,26 +39,34 @@
##############################################################################
class cd_haproxy::params (
$pkg_ensure = 'latest',
$reqpackages = ['haproxy'],
$pkg_ensure = 'latest',
$reqpackages = ['haproxy'],
$hy_host_fqdn = "proxy.${::domain}",
$hy_host_fqdn = "proxy.${::domain}",
# firewall
$hy_manage_fw = true,
$hy_fw_order_no = '50',
$hy_manage_fw = true,
$hy_fw_order_no = '50',
# main config
$hy_proxy_mode = 'http',
$hy_fe_port = '',
$hy_be_port = '',
$hy_http_port = '80',
$hy_https_port = '443',
# user
$hy_user_name = 'haproxy',
$hy_user_comment = 'haproxy user',
$hy_user_home = '/var/lib/haproxy',
$hy_user_shell = '/sbin/nologin',
) {
# service
$hy_service = 'haproxy'
$hy_service = 'haproxy'
# installation section
# directories
# files
# includes must be last