Pass install_dir through to webapp_config to install into the right location
This commit is contained in:
@@ -8,6 +8,7 @@ class dokuwiki::install (
|
|||||||
$package_name = $dokuwiki::package_name,
|
$package_name = $dokuwiki::package_name,
|
||||||
$use_webapp_config = $dokuwiki::use_webapp_config,
|
$use_webapp_config = $dokuwiki::use_webapp_config,
|
||||||
$vhost = $dokuwiki::vhost,
|
$vhost = $dokuwiki::vhost,
|
||||||
|
$install_dir = $dokuwiki::install_dir,
|
||||||
$base_path = $dokuwiki::base_path,
|
$base_path = $dokuwiki::base_path,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
@@ -21,12 +22,13 @@ class dokuwiki::install (
|
|||||||
if $use_webapp_config {
|
if $use_webapp_config {
|
||||||
webapp_config {
|
webapp_config {
|
||||||
"dokuwiki-${version}":
|
"dokuwiki-${version}":
|
||||||
action => 'install',
|
action => 'install',
|
||||||
vhost => $vhost,
|
vhost => $vhost,
|
||||||
base => $base_path,
|
installdir => $install_dir,
|
||||||
app => 'dokuwiki',
|
base => $base_path,
|
||||||
version => $version,
|
app => 'dokuwiki',
|
||||||
depends => Package['www-apps/dokuwiki'];
|
version => $version,
|
||||||
|
depends => Package['www-apps/dokuwiki'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user