diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-10-09 15:54:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-10-09 15:54:35 -0300 |
commit | ace88237bfb8c6b8bb55bcd1cd8ead1fdcc8dd0b (patch) | |
tree | aa8922bf6788fc78f126d69652f239dd9f529476 /manifests | |
parent | 7811795f8fcb38b75fd6680d5a6e1f44d5af70e5 (diff) | |
download | puppet-apache-ace88237bfb8c6b8bb55bcd1cd8ead1fdcc8dd0b.tar.gz puppet-apache-ace88237bfb8c6b8bb55bcd1cd8ead1fdcc8dd0b.tar.bz2 |
Replacing dots in user and group names
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index c33320f..f0ce757 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -120,12 +120,12 @@ class apache { if $mpm == true and $user != 'root' { $user = $mpm_user ? { - '' => $title, + '' => regsubst($title, '\.', '_', 'G'), default => $mpm_user, } $gid = $mpm_group? { - '' => $title, + '' => regsubst($title, '\.', '_', 'G'), default => $mpm_group, } |