From 48e4e93c0e64ee6ade742cafe217221280b53115 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 22 Feb 2011 01:04:19 +0000 Subject: - set cache as writable by apache user --- modules/phpbb/manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/phpbb') diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 7dd14621..328f116a 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -72,6 +72,16 @@ class phpbb { require => File["$forums_dir"] } + # TODO manage the permission of the various subdirectories + $writable_dir = ['cache'] + file { "$forums_dir/$lang/phpBB/$writable_dir": + ensure => directory, + owner => apache, + group => root, + mode => 755, + require => Exec["git_clone $lang"], + } + file { "$forums_dir/$lang/phpBB/config.php": ensure => present, owner => root, -- cgit v1.2.1