diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-22 01:04:19 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-22 01:04:19 +0000 |
commit | 48e4e93c0e64ee6ade742cafe217221280b53115 (patch) | |
tree | fda399715b0b7f5cba04df7bd5abced678f2331d /modules/phpbb/manifests/init.pp | |
parent | d3a585bdc784cf848b641e63c289a832a1e1360c (diff) | |
download | puppet-48e4e93c0e64ee6ade742cafe217221280b53115.tar puppet-48e4e93c0e64ee6ade742cafe217221280b53115.tar.gz puppet-48e4e93c0e64ee6ade742cafe217221280b53115.tar.bz2 puppet-48e4e93c0e64ee6ade742cafe217221280b53115.tar.xz puppet-48e4e93c0e64ee6ade742cafe217221280b53115.zip |
- set cache as writable by apache user
Diffstat (limited to 'modules/phpbb/manifests/init.pp')
-rw-r--r-- | modules/phpbb/manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
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, |