Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
webhosting
Commits
06963b7f
Commit
06963b7f
authored
Oct 08, 2011
by
mh
Browse files
set default open_basedir setting for git based wikis
parent
b0f90cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/php/mediawiki.pp
View file @
06963b7f
...
...
@@ -101,6 +101,11 @@ define webhosting::php::mediawiki(
nagios_use
=>
$nagios_use
,
}
$mediawiki_php_settings
=
{
open_basedir
=>
"/var/www/mediawiki:/var/www/vhosts/
${name}
/www:/var/www/upload_tmp_dir/
${name}
:/var/www/session.save_path/
${name}
"
,
}
$real_php_settings
=
merge
(
$mediawiki_php_settings
,
$php_settings
)
apache::vhost::php::mediawiki
{
"
${name}
"
:
ensure
=>
$ensure
,
domainalias
=>
$domainalias
,
...
...
@@ -114,7 +119,7 @@ define webhosting::php::mediawiki(
default_charset
=>
$default_charset
,
run_mode
=>
$run_mode
,
ssl_mode
=>
$ssl_mode
,
php_settings
=>
$php_settings
,
php_settings
=>
$
real_
php_settings
,
php_options
=>
$php_options
,
vhost_mode
=>
$vhost_mode
,
vhost_source
=>
$vhost_source
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment