diff --git a/manifests/main/user.pp b/manifests/main/user.pp index db3ea6c..b5159ab 100644 --- a/manifests/main/user.pp +++ b/manifests/main/user.pp @@ -28,20 +28,20 @@ class cd_haproxy::main::user ( require cd_haproxy::main::install # manage user - user { $hy_user: + user { $hy_user_name: ensure => present, - name => $hy_user, + name => $hy_user_name, allowdupe => false, comment => $hy_user_comment, - gid => $hy_user, + gid => $hy_user_name, managehome => true, home => $hy_user_home, shell => $hy_user_shell, } - group { $hy_user: + group { $hy_user_name: ensure => present, - name => $hy_user, + name => $hy_user_name, allowdupe => false, } } diff --git a/manifests/params.pp b/manifests/params.pp index 2c00e5b..01896ad 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -29,13 +29,8 @@ # @param [boolean] hy_manage_fw whether to manage the firewall. # @param [string] hy_fw_order_no the rule number to control the oder of the # firewall rules. -# @param [string] hy_proxy_mode which mode the ha proxy should work in. -# Valid oprtions are `http` and `tcp`. -# @param [string] hy_fe_port the frontend port to list to. opens in firewall, -# if enabled, and is used in configuration templates. only active if -# `hy_proxy_mode` is set to `tcp`. -# @param [string] hy_be_port the backend port to send traffic through. only -# active if `hy_proxy_mode` is set to `tcp`. +# @param [string] hy_http_port the http port. used in firewall settings +# @param [string] hy_https_port the https port. used in firewall settings ############################################################################## class cd_haproxy::params (