summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-26 16:36:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-26 16:36:21 -0200
commita277d6dcee113e3ff67e8db3d1cc90d3db786532 (patch)
tree88033d4714e239b65beca910cf95055951e7459f
parent6d88e94b25af7d4585ba70e0469eb1c5945b2b25 (diff)
downloadpuppet-nginx-a277d6dcee113e3ff67e8db3d1cc90d3db786532.tar.gz
puppet-nginx-a277d6dcee113e3ff67e8db3d1cc90d3db786532.tar.bz2
Cache: ownership
-rw-r--r--manifests/cache.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/cache.pp b/manifests/cache.pp
index f7bb25e..bf0b145 100644
--- a/manifests/cache.pp
+++ b/manifests/cache.pp
@@ -1,6 +1,9 @@
class nginx::cache {
file { '/var/cache/nginx':
ensure => directory,
+ owner => 'www-data',
+ group => 'www-data',
+ mode => '0700',
}
file { '/etc/nginx/conf.d/cache.conf' :