From 737b596d073acad8ddcd26ac8a1c7e4a0dafd4b3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 6 Jun 2018 18:58:47 -0300 Subject: Set manager_user to false at images, error and domain sites --- manifests/init.pp | 1 + manifests/setup.pp | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index b6103d6..a467c54 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,6 +2,7 @@ class websites inherits websites::setup { apache::site { "images": docroot => "${apache::www_folder}/images", allow_override => 'All', + manage_user => false, mpm => false, tag => 'all', } diff --git a/manifests/setup.pp b/manifests/setup.pp index cca6d43..e9ac1d7 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -76,17 +76,19 @@ class websites::setup { server_alias => "${::domain}", docroot => "${apache::www_folder}", mpm => false, + manage_user => false, tag => 'all', ensure => absent, } # We have to use 'zzz-error' so it will be the last matched vhost apache::site { "error": - template => 'apache/error.erb', - docroot => "${apache::error_folder}", - filename => 'zzz-error', - mpm => false, - tag => 'all', + template => 'apache/error.erb', + docroot => "${apache::error_folder}", + filename => 'zzz-error', + mpm => false, + manage_user => false, + tag => 'all', } # Index page for error -- cgit v1.2.3