summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1dab2a7..b3f931f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -101,7 +101,7 @@ class apache {
$manage_docroot = true, $owner = 'root', $group = 'root',
$mpm = true, $mpm_user = '', $mpm_group = '', $password = '*',
$comment = '', $sshkey = absent,
- $groups = '', $shell = '/bin/false') {
+ $groups = '', $shell = '/bin/false', $manage_user = true) {
$vhost = $filename ? {
'' => "$title",
@@ -123,7 +123,7 @@ class apache {
default => $mpm_group,
}
- if $mpm == true and $user != 'root' {
+ if $mpm == true and $manage_user == true and $user != 'root' {
if !defined(Group[$gid]) {
group { "$gid":
ensure => $ensure,