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
bff6571c
Commit
bff6571c
authored
Oct 22, 2017
by
mh
Browse files
use the new options to set things correctly
parent
8ce3e25b
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/php/mediawiki.pp
View file @
bff6571c
...
@@ -114,10 +114,13 @@ define webhosting::php::mediawiki(
...
@@ -114,10 +114,13 @@ define webhosting::php::mediawiki(
$sendmail_path
=
undef
$sendmail_path
=
undef
}
}
$mediawiki_php_settings
=
{
$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}
"
,
sendmail_path
=>
$sendmail_path
,
sendmail_path
=>
$sendmail_path
,
}
}
$real_php_settings
=
merge
(
$mediawiki_php_settings
,
$php_settings
)
$real_php_settings
=
merge
(
$mediawiki_php_settings
,
$php_settings
)
$mediawiki_php_options
=
{
additional_open_basedir
=>
"/var/www/mediawiki"
,
}
$real_php_options
=
merge
(
$mediawiki_php_options
,
$php_options
)
apache::vhost::php::mediawiki
{
$name
:
apache::vhost::php::mediawiki
{
$name
:
ensure
=>
$ensure
,
ensure
=>
$ensure
,
...
@@ -134,7 +137,7 @@ define webhosting::php::mediawiki(
...
@@ -134,7 +137,7 @@ define webhosting::php::mediawiki(
run_mode
=>
$run_mode
,
run_mode
=>
$run_mode
,
ssl_mode
=>
$ssl_mode
,
ssl_mode
=>
$ssl_mode
,
php_settings
=>
$real_php_settings
,
php_settings
=>
$real_php_settings
,
php_options
=>
$php_options
,
php_options
=>
$
real_
php_options
,
php_installation
=>
$php_installation
,
php_installation
=>
$php_installation
,
vhost_mode
=>
$vhost_mode
,
vhost_mode
=>
$vhost_mode
,
vhost_source
=>
$vhost_source
,
vhost_source
=>
$vhost_source
,
...
...
Write
Preview
Markdown
is supported
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