]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Cache: ownership
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Oct 2015 18:36:21 +0000 (16:36 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 26 Oct 2015 18:36:21 +0000 (16:36 -0200)
manifests/cache.pp

index f7bb25ee89002addc84c128574c4b98a14ab6bed..bf0b14597d93b6b2c9f5483058b0f16ea4b9d41f 100644 (file)
@@ -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' :