fixes user settings

This commit is contained in:
Arne Teuke
2018-12-10 16:09:52 +01:00
parent 7b396df49e
commit 5dbc4aa1ae
2 changed files with 7 additions and 12 deletions

View File

@@ -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,
}
}

View File

@@ -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 (