## haproxy_cd::main::user.pp # Module name: haproxy_cd # Author: Arne Teuke (arne_teuke@ConfDroid.com) # @summary Class manages service users for haproxy_cd. ############################################################################# class haproxy_cd::main::user ( ) inherits haproxy_cd::params { if $fqdn == $hy_host_fqdn { require haproxy_cd::main::install # manage user user { $hy_user_name: ensure => present, name => $hy_user_name, allowdupe => false, comment => $hy_user_comment, gid => $hy_user_name, managehome => true, home => $hy_user_home, shell => $hy_user_shell, } group { $hy_user_name: ensure => present, name => $hy_user_name, allowdupe => false, } } }