## confdroid_apache::server:;user.pp # Module name: confdroid_apache # Author: 12ww1160 (12ww1160@confdroid.com) # @summary manage all aspects of the httpd service user, if enabled ############################################################################## class confdroid_apache::server::user ( ) inherits confdroid_apache::params { require confdroid_apache::server::install if $ae_manage_user == true { group { $ae_user_name: ensure => present, name => $ae_user_name, gid => $ae_user_uid, allowdupe => false, } user { $ae_user_name: ensure => present, name => $ae_user_name, allowdupe => false, comment => $ae_u_comment, uid => $ae_user_uid, gid => $ae_user_name, groups => $ae_u_groups, managehome => true, home => $ae_user_home, shell => $ae_user_shell, require => Group[$ae_user_name], } } else { # do nothing } }