From a277d6dcee113e3ff67e8db3d1cc90d3db786532 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 26 Oct 2015 16:36:21 -0200 Subject: Cache: ownership --- manifests/cache.pp | 3 +++ 1 file changed, 3 insertions(+) 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' : -- cgit v1.2.3