changeset 182:1df1e161bbb5 puppet-3.6

Set group sticky bit on all sites to ease collaboration
author IBBoard <dev@ibboard.co.uk>
date Fri, 07 Dec 2018 19:52:50 +0000
parents 8491f9548a74
children ac164022ffb8
files modules/website/manifests/http.pp modules/website/manifests/https.pp modules/website/manifests/https/redir.pp
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/http.pp	Sat Oct 20 10:07:51 2018 +0100
+++ b/modules/website/manifests/http.pp	Fri Dec 07 19:52:50 2018 +0000
@@ -32,6 +32,7 @@
     docroot         => $siteroot,
     docroot_owner   => $docroot_owner,
     docroot_group   => $docroot_group,
+    docroot_mode    => '2775',
     custom_fragment => $custom_fragment,
     logroot         => '/var/log/apache/',
     access_log_file => "access_${logpart}.log",
--- a/modules/website/manifests/https.pp	Sat Oct 20 10:07:51 2018 +0100
+++ b/modules/website/manifests/https.pp	Fri Dec 07 19:52:50 2018 +0000
@@ -138,6 +138,7 @@
     docroot         => $siteroot,
     docroot_owner   => $owner,
     docroot_group   => $group,
+    docroot_mode    => '2775',
     custom_fragment => $custom_conf,
     logroot         => '/var/log/apache/',
     access_log_file => "access_${logpart}.log",
--- a/modules/website/manifests/https/redir.pp	Sat Oct 20 10:07:51 2018 +0100
+++ b/modules/website/manifests/https/redir.pp	Fri Dec 07 19:52:50 2018 +0000
@@ -112,6 +112,7 @@
     docroot         => $siteroot,
     docroot_owner   => $owner,
     docroot_group   => $group,
+    docroot_mode    => '2775',
     redirect_status => 'permanent',
     redirect_dest   => $redir,
     custom_fragment => $custom_conf,