adds haproxy user
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user