diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-06 18:58:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-06 18:58:47 -0300 |
commit | 737b596d073acad8ddcd26ac8a1c7e4a0dafd4b3 (patch) | |
tree | 96cfc51a305a5a5fdf7365f5f4bc99c2589dfab8 | |
parent | 2f18f55ec1ac6a8eed4d7f2ef6bae709a1158fb8 (diff) | |
download | puppet-websites-737b596d073acad8ddcd26ac8a1c7e4a0dafd4b3.tar.gz puppet-websites-737b596d073acad8ddcd26ac8a1c7e4a0dafd4b3.tar.bz2 |
Set manager_user to false at images, error and domain sites
-rw-r--r-- | manifests/init.pp | 1 | ||||
-rw-r--r-- | 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 |