aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-20 12:32:08 +0000
committerMichael Scherer <misc@mageia.org>2011-05-20 12:32:08 +0000
commitb32a4ec3b15732e6446809f758ece0f0902a16a7 (patch)
tree55d590c08263e52cc3694dc8eccc7885364c4e07
parent6b3e650d5c94b38ce5c7ed1b18d97a7b9c4a50b3 (diff)
downloadpuppet-b32a4ec3b15732e6446809f758ece0f0902a16a7.tar
puppet-b32a4ec3b15732e6446809f758ece0f0902a16a7.tar.gz
puppet-b32a4ec3b15732e6446809f758ece0f0902a16a7.tar.bz2
puppet-b32a4ec3b15732e6446809f758ece0f0902a16a7.tar.xz
puppet-b32a4ec3b15732e6446809f758ece0f0902a16a7.zip
use apc rather than file for cache, as fetching cache from disk is not
versy efficient and error prone ( as seen in bug 860 )
-rw-r--r--modules/phpbb/manifests/init.pp1
-rw-r--r--modules/phpbb/templates/config.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp
index 65f00444..0db495db 100644
--- a/modules/phpbb/manifests/init.pp
+++ b/modules/phpbb/manifests/init.pp
@@ -9,6 +9,7 @@ class phpbb {
"php-xml",
"php-zlib",
"php-ftp",
+ "php-apc",
"php-magickwand",
"php-pgsql",
"php-ldap", ] :
diff --git a/modules/phpbb/templates/config.php b/modules/phpbb/templates/config.php
index ecf3289f..95bf1f2a 100644
--- a/modules/phpbb/templates/config.php
+++ b/modules/phpbb/templates/config.php
@@ -8,7 +8,7 @@ $dbname = '<%= database %>';
$dbuser = '<%= user %>';
$dbpasswd = '<%= pgsql_password %>';
$table_prefix = 'phpbb_';
-$acm_type = 'file';
+$acm_type = 'apc';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);