OP#410 fix basic errrors

This commit is contained in:
12ww1160
2026-02-03 01:15:33 +01:00
parent 768f98cb09
commit e93cf3c795
4 changed files with 5 additions and 53 deletions

View File

@@ -7,7 +7,6 @@
class confdroid_apache::server::dirs (
) inherits confdroid_apache::params {
require confdroid_apache::server::user
if $ae_manage_dirs == true {
# create main dir

View File

@@ -1,37 +0,0 @@
## 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
}
}